Date: Wed, 2 May 2001 21:37:19 +0200 From: Gerhard Sittig <Gerhard.Sittig@gmx.net> To: freebsd-security@freebsd.org Subject: Re: useradd/adduser Message-ID: <20010502213719.C253@speedy.gsinet> In-Reply-To: <20010502214032.F88365@ringworld.oblivion.bg>; from roam@orbitel.bg on Wed, May 02, 2001 at 09:40:32PM %2B0300 References: <200105021613.RAA25130@mailgate.kechara.net> <20010502180257.B88365@ringworld.oblivion.bg> <20010502180543.C88365@ringworld.oblivion.bg> <20010502202157.A76656@daphne.unloved.org> <20010502214032.F88365@ringworld.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 02, 2001 at 21:40 +0300, Peter Pentchev wrote: > On Wed, May 02, 2001 at 08:21:57PM +0200, Ashley Penney wrote: > > On Wed, May 02, 2001 at 06:05:43PM +0300, Peter Pentchev said: > > > > > And if you're really, really interested, I could give you a > > > little patch I made some time ago, to add a -H encrypted > > > pass option to pw(8), which should do exactly what you need > > > :) > > > > What's wrong with chpass -p "crypthere" user ? > > OK, several people pointed that out already :) I didn't know > chpass could do that, ok? :) Not quite in all respects. There's a short discussion in "man 8 pw" for how the -h option and feeding it from an fd is motivated. By using pw(8)'s -p option you end up specifying the crypted form on the command line, again. Whereas producing into an fd could be done any way you could think of ... To cut it short: I would be happy to see your (Peter's) -H option incorporated into pw(8). I assume it does what -h does, too, but bypasses the crypt(3) call. This should make the patch short and rather suitable for quick and smooth verification. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010502213719.C253>