Date: Fri, 8 Jun 2001 17:20:09 +0200 From: "Karsten W. Rohrbach" <karsten@rohrbach.de> To: Ralph Huntington <rjh@mohawk.net> Cc: David Miner <david@slis-two.lis.fsu.edu>, edwin chan <huacheng@public.guangzhou.gd.cn>, Olivier Nicole <Olivier.Nicole@ait.ac.th>, freebsd-security@FreeBSD.ORG Subject: Re: Encrypted passwords Message-ID: <20010608172009.F3071@mail.webmonster.de> In-Reply-To: <Pine.BSF.4.21.0106081108420.48167-100000@mohegan.mohawk.net>; from rjh@mohawk.net on Fri, Jun 08, 2001 at 11:12:57AM -0400 References: <20010607220227.W59617@mail.webmonster.de> <Pine.BSF.4.21.0106081108420.48167-100000@mohegan.mohawk.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Ralph Huntington(rjh@mohawk.net)@2001.06.08 11:12:57 +0000: > > correct me if i am just stupid, but i don't get the point > > echo -n passW0Rd | pw -u testuser -h 1 > > sets the password of "testuser" to "passW0Rd", soring it in the auth > > system you prefer in encrypted form. am i missing something? > > Dang! I coulda had a V-8! I *knew* that other thing was inelegant. > Oh but not -h 1, rather -h 0, as in > > echo -n passW0Rd | pw -u testuser -h 0 doh! sure, holy madonna of the sacred typo, save my soul ;-) > > or other handy varieties, e.g., > > echo -n 'Better\!PWD' | pw -u testuser -m -s /sbin/nologin -h 0 > > Thanks Karsten. -=r=- > > -- > CS Students do it in the pool. KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/ karsten&rohrbach.de -- alpha&ngenn.net -- alpha&scene.org -- catch@spam.de GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7IO0pM0BPTilkv0YRAqsgAJ9SHaw0YF+TTyTTrs6Sa+O4EnFWAQCgmgxM nnsB5entlmGB/B8DUCSScDY= =vA6B -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010608172009.F3071>
