"Root" passwd overwritten by user's passwd

Andrew Bartlett abartlet at pcug.org.au
Mon Jun 26 13:23:00 GMT 2000


My understanding is that passwd program is run as ROOT when encrypt
passwords is on (becouse samba does not know the plain text password of
the user).  Use '/usr/bin/passwd %u' to make passwd change the users
password.


Ong Mooi Lan wrote:
> 
> I've Samba 2.0.6 running as a NT-Server, but there is a problem:
> 
>  When user change password at their workstation, the "root" password get
> overwriten by the new user password as well.  Appreciate your assistance.
> Thank you.
> 
> Below is same setting at the Samba server FYI:
> ================================
>  workgroup = BGCM
>  encrypt passwords = Yes
>  update encrypted = Yes
>  passwd program = /usr/bin/passwd
>  passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
>  unix password sync = Yes
>  domain logons = Yes
>  preferred master = Yes
>  domain master = Yes
> 
> Ong Mooi Lan
> Systems Administrator
> BICCGeneral Cables (Malaysia) Sdn Bhd
> email: mlong at biccgeneral.com.my

-- 
Andrew Bartlett
abartlet at pcug.org.au


More information about the samba mailing list