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

1. Download and install the Razor’s Edge Repository rpm package.
3. Enable the on-demand service poppassd. Learn how to enable on-demand services here.
Make sure xinetd is also running so it can automatically launch 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
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.
***
Posted on 7/19/2009 and last updated on 3/6/2011
Filed under CentOS 5 , Red Hat Enterprise Linux 5


August 27th, 2009 at 12:52 pm
after i installed my squirrell mail name resolving is fine incoming and outgoing mail is ok but in the option autoresponse is not working it shows the following error what is the solution ? could you help me ?
ERROR: Invalid query: MDB2 Error: connect failed
connect: [Error message: Access denied for user 'postfix'@'asiaalloys.autoshellcbe.com' (using password: YES)] [Native code: 1045] [Native message: Access denied for user postfix'@'asiaalloys.autoshellcbe.com' (using password: YES)] – SQL : SELECT * FROM vacation WHERE email=? AND active = ?