Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

syncronize samba pasword every time unix password is changed

Status
Not open for further replies.

babcia01

IS-IT--Management
Jul 11, 2002
37
0
0
US
Hi,
this below quoted method can be used to change unix password to samba password every time samba password is changed via smbpasswd -a samba_user_id command. How to accomplish the reverse ? How to change, synchronize samba password to unix password, every time unix password changes? This question is for AIX although I am assuming that the answer may be generic for all UNIX platforms.

"If you want the unix password changed every time the Samba password is changed, you must specify the following:

unix password sync = Yes

# unix utility to use
passwd program = /usr/bin/passwd %u

# chat string
passwd chat = *New*password* %n\n *Retype*new*password
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top