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

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


Hi Rubin,

I made the changes suggested by you but still its not working.

--
Parag Kalra

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.
>
> HTH,
> Rubin
>
> > 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!
> --
> Rubin Bennett
> RB Technologies
> http://thatitguy.com
> rbennett at thatitguy.com
> (802)223-4448
>
> "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
>
>
>


-- 
Love,
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