[sork] Using passwd with a cyrus sasldb setup

Eric Rostetter eric.rostetter at physics.utexas.edu
Tue Dec 31 10:45:30 PST 2002


Quoting imp <imp at xtremedev.com>:

>   How do I configure the passwd module to call
>   /usr/local/sbin/saslpasswd2 -p to change a user password? My initial
>   thought was to setup a sudo(8) command calling saslpasswd2 to do this.
>   Perhaps by modifying the example expect script? Has anyone done this
>   already?

Easiest way is a modified poppassd server, or modified expect script.

If you have an old poppassd server, it will spawn the passwd command.  
Change that to spawn the saslpasswd2 command instead.

If you have a newer pam aware poppassd server, you may be able to setup
pam to have it call saslpasswd2 or some api to it.

Or, as you note, you could modify the expect script implementation.

>   Please advise if you think I'm going about this the wrong way, or if
>   there's a much easier way to do this.

Sounds okay.  Whether to use poppassd or expect is up to you.
 
>   Thanks.
> --
> Sork mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sork-unsubscribe at lists.horde.org


-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the sork mailing list