Working Passwd Chat for Unix Password Sync on Redhat 6.1

naughton at naughton at
Tue Feb 1 14:51:29 GMT 2000

I have been trying to get the password sync working for Redhat 6.1 (samba 2.05a
rpm).  I got
the PDC working this morning, so I'm happy.  The FAQ section on the samba site
was very
helpful.   The password sync was the only sticking point.

The default passwd chat script didn't work well

 passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passw

I tried this one - but again no luck

 passwd chat = *(current)*UNIX*password:* %n\n *New*UNIX*password:* %n\n
 *Retype*new*UNIX*password:* %n\n *passwd:*all*authentication*tokens*updated*suc

I've seen some discussions about this not working on 2.2, is this the case? The
O'Reilly book had
version that was supposed to work, but it didn't.  Unfortunately, I don't have
that one handy.

I did end up with shadow passwords after this.  How that happened - I don't
Do you need shadow passwords for passwd sync to work?

If anyone has a working passwd chat setting for 6.1, please let me know.


Dan Naughton

More information about the samba mailing list