Creating standalone passwords in /etc/passwd format
freebsd-questions-local at be-well.ilk.org
Tue Aug 16 13:57:08 GMT 2005
Please don't top-post.
Gareth Bailey <gjbailey at gmail.com> writes:
> I have had a look at crypt (enigma), but it doesn't appear to use the
> same algorithm?
> I need the same as that used in passwd!
The algorithm is selectable; the mechanism is crypt(3).
The standard utility for what you are trying to do is openssl(1).
It used to be makekey(1), but that has been obsoleted by openssl.
> On 8/15/05, Gareth Bailey <gjbailey at gmail.com> wrote:
> > Hi there,
> > I am using pserver for authentication on CVS. Rather than use the same
> > passwords as in /etc/passwd, I'd rather create different ones for
> > users. How would I output a password to, for example, a text file in
> > the same format as that of /etc/passwd.
> > i.e: # xxx mynewpassword > encrypted_password.txt
> > Thanks!
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Lowell Gilbert, embedded/networking software engineer, Boston area
More information about the freebsd-questions