Path: gmdzi!unido!mcsun!uunet!cs.utexas.edu!chinacat!sequoia!rpp386!jfh
From: j...@rpp386.cactus.org (John F Haugh II)
Newsgroups: alt.sources
Subject: BSD chpass for System V
Summary: chpass command from the freed BSD sources ported to SCO Xenix
Message-ID: <18891@rpp386.cactus.org>
Date: 10 Jan 91 15:07:31 GMT
Distribution: alt
Organization: River Parishes Programming, Austin TX
Lines: 1295
Archive-Name: chpassV.shar

I finally got a copy of the freed BSD sources and was tinkering with
chpass.  It is a slightly more user-friendly version of the chfn and
chsh commands.  So, I ported it to SCO Xenix and this is what I got.
It should work just fine on any System V machine.  The chpass.1
manpage has not been modified at all and may not be usable.  Feel
free to fix it and mail the fixes back to me.

It requires that you have the "mkpasswd" command.  If you don't have
it, feel free to rip out that part of the code or pick up the version
which I posted here some time back from your nearest alt.sources
archive site.

I will be modifying this to work with the password libraries I've
been tinkering with and will add it to that collection of commands
at that time.  On thing I hope to fix is not having to rebuild the
entire password DBM file each time an entry is changed.  This will
greatly cut down on the amount of time the password file is locked.

As always, unshar and enjoy!
--
Code
-- 
John F. Haugh II                             UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 832-8832                           Domain: j...@rpp386.cactus.org
"While you are here, your wives and girlfriends are dating handsome American
 movie and TV stars. Stars like Tom Selleck, Bruce Willis, and Bart Simpson."