Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 11:12:57 -0400 (EDT)
From:      Ralph Huntington <rjh@mohawk.net>
To:        "Karsten W. Rohrbach" <karsten@rohrbach.de>
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:  <Pine.BSF.4.21.0106081108420.48167-100000@mohegan.mohawk.net>
In-Reply-To: <20010607220227.W59617@mail.webmonster.de>

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

or other handy varieties, e.g.,

   echo -n 'Better\!PWD' | pw -u testuser -m -s /sbin/nologin -h 0

Thanks Karsten.		-=r=-



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?Pine.BSF.4.21.0106081108420.48167-100000>