Re: RH question
In a message dated: Thu, 12 Jun 2003 17:23:12 EDT Derek Martin said: $ rpm -qf /etc/sysconfig/rhn/rhnsd up2date-3.0.7-1 Interesting, when I did: $ rpm -qf /etc/sysconfig/rhn/systemid file /etc/sysconfig/rhn/systemid is not owned by any package Which is what led to my question in the first place. -- Seeya, Paul -- Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE It may look like I'm just sitting here doing nothing, but I'm really actively waiting for all my problems to go away. If you're not having fun, you're not doing it right! ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
RE: Samba Question
Here is what I do concord:/ # ls -l total 112 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxrwxrwx2 root root 48 2003-05-03 20:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:11 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 112 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 28 root root 1056 2003-06-12 22:08 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows concord:/ # concord:/ # mount -t smbfs -o rw,username=rsharpe,password=xxx //bedford/apps /apps INFO: Debug class all level = 1 (pid 3163 from pid 3163) concord:/ # concord:/ # ls -l total 116 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxr-xr-x1 root root 4096 2003-06-07 15:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:06 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 114 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 29 root root 1096 2003-06-12 22:04 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows [EMAIL PROTECTED]:~ cd /apps [EMAIL PROTECTED]:/apps ls Backup Ghost_images QUICKENW_BACKUPTax00 BackupExec8.6INFOSHARE QuickBrochures Tax01A Backup_Linux Mail_archive RECYCLER Temp Backup_Marianne My SQL Remote Desktop Client WUTemp Backup_Warner_files My Videos SFU msdownld.tmp CS430BetaPIXWORKS Sierra ttax01B DATAFILE Program Files System Volume Information vncinst DOWNLOAD QUICKENW TTAX02 [EMAIL PROTECTED]:/apps ls foo.bar bash: foo.bar: Permission denied [EMAIL PROTECTED]:/apps Richard A Sharpe Database Analyst and Administration (DBA) Sqlserver/DB2 Amherst Technologies 40 Continental Blvd Merrimack, NH 03054 PHONE ...(603) 579-6180 / (800) 431-8031 Cell phone ..(603) 320-7785 FAX ...(603) 578-1072 EMAIL [EMAIL PROTECTED] / Webpage ...www.amherst1.com Tenemos que tener fe (We must have faith) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:11 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; GNHLUG mailing list Subject: Re: Samba Question Well... it's a little hard to tell, since I don't know what it is you're doing to see the files, but it sounds as if you're not authenticating as a domain user. How are you seeing the files? Through an SMB browser (eg. Konqueror)? Mounting the SMB share? Whatever way, you should be telling it: your username your password and, implicitly or explicitly, the domain If you're not, you're likely logging in as guest, which pursuant permissions (or lack thereof). -Ken Hi I have got myself confused, how do you make a Windows Server 2000 share read/writeable using samba, I can attach just fine and read but can not get write perms on the share through the samba mount point.The Windows share has the perms set to full access for everyone. Thanks Much Rich -- Richard A Sharpe DBA - DB2/Sybase/Oracle/Sqlserver Merrimack, NH 03054 ___ gnhlug-discuss mailing
RE: Samba Question
Okay; it took me a few moments to figure it out. When you do the mount, files are (apparently -- I'm going by empirical evidence, here) created as root... and if root doesn't have permission to write the drive, you're SOL. The way around this is the uid gid options, thusly: mount -t smbfs -o rw,uid=rsharpe,gid=rshapre,username=rsharpe,password=xxx //bedford/apps /apps (Yeah, that should all be on one line.) Then, your writes will occur as -you-, and not as root. I have no idea if a local Unix account is required, but I'm guessing not. -Ken Here is what I do concord:/ # ls -l total 112 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxrwxrwx2 root root 48 2003-05-03 20:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:11 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 112 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 28 root root 1056 2003-06-12 22:08 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows concord:/ # concord:/ # mount -t smbfs -o rw,username=rsharpe,password=xxx //bedford/apps /apps INFO: Debug class all level = 1 (pid 3163 from pid 3163) concord:/ # concord:/ # ls -l total 116 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxr-xr-x1 root root 4096 2003-06-07 15:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:06 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 114 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 29 root root 1096 2003-06-12 22:04 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows [EMAIL PROTECTED]:~ cd /apps [EMAIL PROTECTED]:/apps ls Backup Ghost_images QUICKENW_BACKUPTax00 BackupExec8.6INFOSHARE QuickBrochures Tax01A Backup_Linux Mail_archive RECYCLER Temp Backup_Marianne My SQL Remote Desktop Client WUTemp Backup_Warner_files My Videos SFU msdownld.tmp CS430BetaPIXWORKS Sierra ttax01B DATAFILE Program Files System Volume Information vncinst DOWNLOAD QUICKENW TTAX02 [EMAIL PROTECTED]:/apps ls foo.bar bash: foo.bar: Permission denied [EMAIL PROTECTED]:/apps Richard A Sharpe Database Analyst and Administration (DBA) Sqlserver/DB2 Amherst Technologies 40 Continental Blvd Merrimack, NH 03054 PHONE ...(603) 579-6180 / (800) 431-8031 Cell phone ..(603) 320-7785 FAX ...(603) 578-1072 EMAIL [EMAIL PROTECTED] / Webpage ...www.amherst1.com Tenemos que tener fe (We must have faith) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:11 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; GNHLUG mailing list Subject: Re: Samba Question Well... it's a little hard to tell, since I don't know what it is you're doing to see the files, but it sounds as if you're not authenticating as a domain user. How are you seeing the files? Through an SMB browser (eg. Konqueror)? Mounting the SMB share? Whatever way, you should be telling it: your username
RE: Samba Question
Thanks Ken, That worked, plus another way worked also: mount -t smbfs -o rw,username=rsharpe,password=xxx -o dmask=777 //bedford/apps /apps Much appreciated Rich Richard A Sharpe Database Analyst and Administration (DBA) Sqlserver/DB2 Amherst Technologies 40 Continental Blvd Merrimack, NH 03054 PHONE ...(603) 579-6180 / (800) 431-8031 Cell phone ..(603) 320-7785 FAX ...(603) 578-1072 EMAIL [EMAIL PROTECTED] / Webpage ...www.amherst1.com Tenemos que tener fe (We must have faith) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 10:09 AM To: Sharpe, Richard Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; GNHLUG mailing list Subject: RE: Samba Question Okay; it took me a few moments to figure it out. When you do the mount, files are (apparently -- I'm going by empirical evidence, here) created as root... and if root doesn't have permission to write the drive, you're SOL. The way around this is the uid gid options, thusly: mount -t smbfs -o rw,uid=rsharpe,gid=rshapre,username=rsharpe,password=xxx //bedford/apps /apps (Yeah, that should all be on one line.) Then, your writes will occur as -you-, and not as root. I have no idea if a local Unix account is required, but I'm guessing not. -Ken Here is what I do concord:/ # ls -l total 112 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxrwxrwx2 root root 48 2003-05-03 20:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:11 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 112 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 28 root root 1056 2003-06-12 22:08 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows concord:/ # concord:/ # mount -t smbfs -o rw,username=rsharpe,password=xxx //bedford/apps /apps INFO: Debug class all level = 1 (pid 3163 from pid 3163) concord:/ # concord:/ # ls -l total 116 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxr-xr-x1 root root 4096 2003-06-07 15:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:06 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 114 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 29 root root 1096 2003-06-12 22:04 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows [EMAIL PROTECTED]:~ cd /apps [EMAIL PROTECTED]:/apps ls Backup Ghost_images QUICKENW_BACKUPTax00 BackupExec8.6INFOSHARE QuickBrochures Tax01A Backup_Linux Mail_archive RECYCLER Temp Backup_Marianne My SQL Remote Desktop Client WUTemp Backup_Warner_files My Videos SFU msdownld.tmp CS430BetaPIXWORKS Sierra ttax01B DATAFILE Program Files System Volume Information vncinst DOWNLOAD QUICKENW TTAX02 [EMAIL PROTECTED]:/apps ls foo.bar bash: foo.bar: Permission denied [EMAIL PROTECTED]:/apps Richard A Sharpe Database Analyst and Administration (DBA) Sqlserver/DB2 Amherst Technologies 40 Continental Blvd Merrimack, NH 03054 PHONE
Re: RH question
Paul, I did a search on google for your file and I think I found it: http://linuxcommand.org/man_pages/rhnsd8.html It seems to be part of Red Hat's up2date system. Hope this solves your mystery. Regards, Jeff Kirkland In a message dated: Thu, 12 Jun 2003 17:23:12 EDT Derek Martin said: $ rpm -qf /etc/sysconfig/rhn/rhnsd up2date-3.0.7-1 Interesting, when I did: $ rpm -qf /etc/sysconfig/rhn/systemid file /etc/sysconfig/rhn/systemid is not owned by any package Which is what led to my question in the first place. -- Seeya, Paul -- Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE It may look like I'm just sitting here doing nothing, but I'm really actively waiting for all my problems to go away. If you're not having fun, you're not doing it right! ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: RH question
On Fri, Jun 13, 2003 at 09:51:16AM -0400, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: In a message dated: Thu, 12 Jun 2003 17:23:12 EDT Derek Martin said: $ rpm -qf /etc/sysconfig/rhn/rhnsd up2date-3.0.7-1 Interesting, when I did: $ rpm -qf /etc/sysconfig/rhn/systemid file /etc/sysconfig/rhn/systemid is not owned by any package Which is what led to my question in the first place. Could be created after the RPM was installed. My first step after `rpm -qf /etc/sysconfig/rhn/systemid` failed was to do `rpm -qf /etc/sysconfig/rhn`, which does report 'up2date-3.1.23-1'. -- Bob Bell [EMAIL PROTECTED] - If you think you are experiencing a memory leak, please be aware that memory leaks may not be what they appear to be. You may discover that a memory leak is really not a memory leak but a performance enhancement. -- Microsoft Knowledge Base Article Q268343 (out of context :-) ) ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: RH question
In a message dated: Fri, 13 Jun 2003 10:47:54 EDT Bob Bell said: Interesting, when I did: $ rpm -qf /etc/sysconfig/rhn/systemid file /etc/sysconfig/rhn/systemid is not owned by any package Which is what led to my question in the first place. Could be created after the RPM was installed. My first step after `rpm -qf /etc/sysconfig/rhn/systemid` failed was to do `rpm -qf /etc/sysconfig/rhn`, which does report 'up2date-3.1.23-1'. Yeah, I would have tried that, but as I mentioned in my original post, as soon as the first rpm -qf returned, the system was rebooted out from under me. Thanks, -- Seeya, Paul -- Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE It may look like I'm just sitting here doing nothing, but I'm really actively waiting for all my problems to go away. If you're not having fun, you're not doing it right! ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss