[Samba] Making Samba change the Unix Password (/etc/shadow)

Parag Kalra paragkalra at gmail.com
Mon Feb 4 20:56:05 GMT 2008


Hello all,

I am trying to change the linux login password through the smbpasswd
command by placing following  parameters in smb.conf file:

unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = "*enter old password*" %o\\n "*Enter NEW password*"
%n\\n "*reenter New passwd*" %n\\n "*password changed*"

But its not changing the unix password.

Where I am going wrong?

-- 
Thanks and Regards,
PARAG . A . KALRA

Good judgment comes from experience, and experience comes from bad judgment

http://discoverlinux.blogspot.com
Debian Linux! A Dawn of New Era!


More information about the samba mailing list