[Samba] Making Samba change the Unix Password (/etc/shadow)
paragkalra at gmail.com
Mon Feb 4 22:20:05 GMT 2008
I made the changes suggested by you but still its not working.
On Feb 5, 2008 3:29 AM, Rubin Bennett <rbennett at thatitguy.com> wrote:
> On Tue, 2008-02-05 at 02:26 +0530, Parag Kalra wrote:
> > 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*"
> testparm is your friend :) It should complain about the passwd command,
> and for good reason; it shouldn't be there. Use:
> pam password change = yes
> instead, and get rid of the passwd program and passwd chat lines.
> > 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
> > http://discoverlinux.blogspot.com
> > Debian Linux! A Dawn of New Era!
> Rubin Bennett
> RB Technologies
> rbennett at thatitguy.com
> "They that can give up essential liberty to obtain a little
> temporary security deserve neither liberty nor safety"
> --Benjamin Franklin, Historical Review of Pennsylvania, 1759
PARAG . A . KALRA
Good judgment comes from experience, and experience comes from bad judgment
Debian Linux! A Dawn of New Era!
More information about the samba