Poppassd is a service that changes system passwords. This article describes how to setup poppassd in Red Hat Enterprise Linux 5 or CentOS 5.

Firefox Razors Edge1. Download and install the Razor’s Edge Repository rpm package.
yum install poppassd2. Install poppassd using the command below.
yum install poppassd
Service Configuration3. Enable the on-demand service poppassd. Learn how to enable on-demand services here.
ImportantMake sure xinetd is also running so it can automatically launch poppassd.
Edit poppassd
4. Edit the file /etc/pam.d/poppassd and replace the content with the lines below.
auth      required    pam_unix.so
account   required    pam_unix.so
password  requisite   pam_cracklib.so
password  sufficient  pam_unix.so md5 shadow

NoteThe 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.

terminal poppassd5. In a Terminal window, type in the highlighted commands below.

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
Connected to localhost.localdomain (
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.
200 Bye.

Visit the forum to ask for help or to give a comment.

Posted on 7/19/2009 and last updated on 3/6/2011
Filed under CentOS 5 , Red Hat Enterprise Linux 5