Skip site navigation (1)Skip section navigation (2)
Date:      16 Aug 2005 09:57:06 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Gareth Bailey <gjbailey@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Creating standalone passwords in /etc/passwd format
Message-ID:  <447jemouh9.fsf@be-well.ilk.org>
In-Reply-To: <48a5f32a0508160307c2a555e@mail.gmail.com>
References:  <48a5f32a050815072936dbdf99@mail.gmail.com> <48a5f32a0508160307c2a555e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Please don't top-post.

Gareth Bailey <gjbailey@gmail.com> writes:

> I have had a look at crypt (enigma), but it doesn't appear to use the
> same algorithm?

Correct.

>                 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.

> Thanks
> 
> On 8/15/05, Gareth Bailey <gjbailey@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447jemouh9.fsf>