From owner-freebsd-security Fri Jun 8 8: 8:36 2001 Delivered-To: freebsd-security@freebsd.org Received: from mohegan.mohawk.net (mohegan.mohawk.net [63.66.68.21]) by hub.freebsd.org (Postfix) with ESMTP id 123E237B401 for ; Fri, 8 Jun 2001 08:08:34 -0700 (PDT) (envelope-from rjh@mohawk.net) Received: from mohegan.mohawk.net (mohegan.mohawk.net [63.66.68.21]) by mohegan.mohawk.net (8.11.3/8.11.3) with ESMTP id f58FCvD55545; Fri, 8 Jun 2001 11:12:57 -0400 (EDT) Date: Fri, 8 Jun 2001 11:12:57 -0400 (EDT) From: Ralph Huntington To: "Karsten W. Rohrbach" Cc: David Miner , edwin chan , Olivier Nicole , freebsd-security@FreeBSD.ORG Subject: Re: Encrypted passwords In-Reply-To: <20010607220227.W59617@mail.webmonster.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > 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