[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Alternative to slappasswd

It's open source. Have you thought about modifying it yourself? It looks like all you'd have to do is override the getpassphrase() function with one of your own--reading from stdin.

David Smith wrote:

I am looking for an alternative to slappasswd that:

1. Supports reading clear-text passwords from stdin.
2. Is common or easily obtainable on *nix machines.
3. Supports at least MD5, CRYPT, SMD5, SHA, SHA1.

Before you ask: No, slappasswd does not support reading from stdin. It reads from the tty.

Any suggestions?