Hi, This is a very scary problem I have here. I use a precompiled 2.0.6 samba on my SGI IRIX 6.3 system. I also have smbpasswd file setup. When I tried to change the samba password using smbpasswd program ( from a non root account whic I use) I got an error messgae saying that it cannot change the password. My goodness, I found that the instead of changing password for my account smbpasswd changed the root account password. This particular account has second group id "sys" and password program has both suid and sgid bits turned on. I do not know if this is some bug in the smbpasswd progarm or in my setting. I cannot imagine what would have happend if some other user has tried to change his samba password. Can anybody tell me what went wrong. Here is my smb.conf file. [global] workgroup = OCS server string = SGI O2 At KNG's Lab update encrypted = Yes unix password sync = Yes max log size = 50 max xmit = 8192 shared mem size = 5242880 os level = 0 local master = No comment = Samba %v print command = /usr/samba/bin/sambalp %p %s %U %m hide dot files = No [homes] comment = Your Home Ground read only = No browseable = No [CD-ROM] comment = CD-ROM Drive on DNA path = /CDROM fake oplocks = Yes Thanks **************************** Ramesh Babu ramesh@dna.ncl.res.in National Chemical Laboratory Pune INDIA ****************************
Ramesh Babu wrote:> > Hi, > > This is a very scary problem I have here. I use a precompiled 2.0.6 samba > on my SGI IRIX 6.3 system. I also have smbpasswd file setup. When I tried > to change the samba password using smbpasswd program ( from a non root > account whic I use) I got an error messgae saying that it cannot change > the password. My goodness, I found that the instead of changing password > for my account smbpasswd changed the root account password. This > particular account has second group id "sys" and password program has both > suid and sgid bits turned on. I do not know if this is some bug in the > smbpasswd progarm or in my setting. I cannot imagine what would have > happend if some other user has tried to change his samba password. Can > anybody tell me what went wrong. Here is my smb.conf file. >smbpasswd SHOULD NOT have suid and sgid bits set. The binaries that I create have it set to 0755 only. Somebody has changed your settings. -- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 2011 N Shoreline Blvd Strategic Software Organization Mountain View, CA 94043 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================