[WBEL-users] /etc/shadow and Samba

Mario Gamito gamito@netual.pt
Wed, 23 Jun 2004 16:03:09 +0100


Hi,

I'm running Samba (3.0.4 compiled by me) in WBL.
I have this script in smb.conf that allows Windows users to change their
domain password from their Windows machines.

Well, the problem is that /etc/shadow has permissions -r-------- and
obviously this way there's no password change for anyone.
I tried giving 777 permission to /etc/shadow and it worked, but
obviously that's not what i want :P

Is there a way to turn this around without messing with /etc/shadow
permissions ?

Warm Regards,
Mário Gamito