Poppassd is a service that changes system passwords. This article describes how to setup poppassd in Red Hat Enterprise Linux 5 or CentOS 5.
auth required pam_unix.so account required pam_unix.so password requisite pam_cracklib.so password sufficient pam_unix.so md5 shadow
The line password requisite pam_cracklib.so requires the new password to be strong and at least six (6) characters long. You can leave it out if you do not want that restriction.
Sample poppassd session. Replace johndoe, secret and p@ssw0rd with your own valid user account, old password and new password respectively.
[root@mail ~]# telnet localhost 106 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 200 poppassd v1.8.5 hello, who are you? user johndoe 200 Your password please. pass secret 200 Your new password please. newpass p@ssw0rd 200 Password changed, thank-you. quit 200 Bye.
Visit the forum to ask for help or to give a comment.