Re: [Samba] Changing 644 back to 600 on smbpasswd automatically?

2004-03-02 Thread Jeremy Allison
On Tue, Mar 02, 2004 at 09:28:27AM +0100, TeeCee wrote: Hi! I want to list users from smbpasswd (stored in /etc/samba). I chmoded the file from 600 to 644, to ba able to read it with PHP. After a while somehow it changed back to 600, so it was fully unreadable again :( How can I set

Re: [Samba] Changing 644 back to 600 on smbpasswd automatically?

2004-03-02 Thread TeeCee
Hi Jeremy and thanks for the fast answer! :o) Samba smbd does that. This file should not be 644, as it contains the users hashed passwords (ie. you're giving full access to all users passwords to anyone on the system). Samba is trying to protect you from yourself here I may have known the

Re: [Samba] Changing 644 back to 600 on smbpasswd automatically?

2004-03-02 Thread Jeremy Allison
On Tue, Mar 02, 2004 at 10:10:09AM +0100, TeeCee wrote: I may have known the security reasons, but the password is not in plain text, The password hash is equivalent to plain text in smb. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: