27 Oct
2012
27 Oct
'12
1:19 a.m.
From: Mike John mike@alaadin.org
I know about poppassd , but it works only for /etc/passwd , /etc/shadow, but my dovecot virtual users password files are in different location and i do not know how to modify poppassd, any idea how can i do that?
I downloaded and examined it; it's just a wrapper for /usr/bin/passwd, and there doesn't seem an easy way to modify it to use something other than the system password file.
Maybe replace "/usr/bin/passwd" with htpasswd?
and is there another way other than poppassd?
Write your own PHP script -- it couldn't be more than a few dozen lines of code for a working skeleton. Or Google "php change password htpasswd".
Joseph Tam jtam.home@gmail.com