Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2000 19:54:25 -0700
From:      D M P <dmp@aracnet.com>
To:        freebsd-questions@freebsd.org
Subject:   Encrypting a password for insertion using chpass(1)?
Message-ID:  <39A099E1.51E6B546@aracnet.com>

next in thread | raw e-mail | index | archive | help
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?

-- 
dmp@{aracnet|coffeylabs).com


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?39A099E1.51E6B546>