Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2000 21:02:32 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        D M P <dmp@aracnet.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Encrypting a password for insertion using chpass(1)?
Message-ID:  <20000820210232.H4854@fw.wintelcom.net>
In-Reply-To: <39A099E1.51E6B546@aracnet.com>; from dmp@aracnet.com on Sun, Aug 20, 2000 at 07:54:25PM -0700
References:  <39A099E1.51E6B546@aracnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* D M P <dmp@aracnet.com> [000820 19:54] wrote:
> I need to syncronize a server's user passwords to those in a database.
> The database spits out cleartext passwords.  I have to somehow get
> those into the password database on the server.  The first way I came
> up with was calling chpass(1) and feeding it the new password, but
> according to the man page, it will only take encrypted passwords, not
> cleartexts.
> 
> How do I encrypt a password so I can insert it using chpass?
> 
> Is there another way I can do this?

the 'pw' utility can help.

-Alfred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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