Sync the Linux system password and the Samba password

Posted on August 16, 2008
Filed Under Linux |

How to sync the Linux system password and the Samba password?

Hopefully, Samba is configured with PAM. If so, follow the instructions below.

Make sure this is set in your smb.conf.
=======
unix password sync = true
pam password sync = true
=======

Navigate to /etc/pam.d/system-auth and add this after the “pam_cracklib.so” line.

=======
password required /lib/security/pam_smbpass.so nullok use_authtok try_first_pass
=======

none

If you enjoyed this post, make sure you subscribe to my RSS feed!

Comments

Leave a Reply