From owner-freebsd-security Fri Jun 8 8:19:53 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id 34BBD37B403 for ; Fri, 8 Jun 2001 08:19:49 -0700 (PDT) (envelope-from karsten@rohrbach.de) Received: (qmail 4783 invoked by uid 1000); 8 Jun 2001 15:20:09 -0000 Date: Fri, 8 Jun 2001 17:20:09 +0200 From: "Karsten W. Rohrbach" To: Ralph Huntington Cc: David Miner , edwin chan , Olivier Nicole , freebsd-security@FreeBSD.ORG Subject: Re: Encrypted passwords Message-ID: <20010608172009.F3071@mail.webmonster.de> Mail-Followup-To: "Karsten W. Rohrbach" , Ralph Huntington , David Miner , edwin chan , Olivier Nicole , freebsd-security@FreeBSD.ORG References: <20010607220227.W59617@mail.webmonster.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="PPYy/fEw/8QCHSq3" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rjh@mohawk.net on Fri, Jun 08, 2001 at 11:12:57AM -0400 X-Arbitrary-Number-Of-The-Day: 42 X-URL: http://www.webmonster.de/ X-Disclaimer: My opinions do not necessarily represent those of my employer Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --PPYy/fEw/8QCHSq3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? >=20 > Dang! I coulda had a V-8! I *knew* that other thing was inelegant.=20 > Oh but not -h 1, rather -h 0, as in >=20 > echo -n passW0Rd | pw -u testuser -h 0 doh! sure, holy madonna of the sacred typo, save my soul ;-) >=20 > or other handy varieties, e.g., >=20 > echo -n 'Better\!PWD' | pw -u testuser -m -s /sbin/nologin -h 0 >=20 > Thanks Karsten. -=3Dr=3D- >=20 >=20 --=20 > 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.n= et/ 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 B= F46 --PPYy/fEw/8QCHSq3 Content-Type: application/pgp-signature Content-Disposition: inline -----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----- --PPYy/fEw/8QCHSq3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message