From owner-freebsd-questions@FreeBSD.ORG Tue Aug 16 13:57:08 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF68E16A41F for ; Tue, 16 Aug 2005 13:57:08 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F3F243D45 for ; Tue, 16 Aug 2005 13:57:08 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 22533 invoked from network); 16 Aug 2005 13:57:08 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Aug 2005 13:57:08 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 3D13A36; Tue, 16 Aug 2005 09:57:07 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Gareth Bailey References: <48a5f32a050815072936dbdf99@mail.gmail.com> <48a5f32a0508160307c2a555e@mail.gmail.com> From: Lowell Gilbert Date: 16 Aug 2005 09:57:06 -0400 In-Reply-To: <48a5f32a0508160307c2a555e@mail.gmail.com> Message-ID: <447jemouh9.fsf@be-well.ilk.org> Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions Subject: Re: Creating standalone passwords in /etc/passwd format X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2005 13:57:08 -0000 Please don't top-post. Gareth Bailey writes: > I have had a look at crypt (enigma), but it doesn't appear to use the > same algorithm? Correct. > I need the same as that used in passwd! The algorithm is selectable; the mechanism is crypt(3). The standard utility for what you are trying to do is openssl(1). It used to be makekey(1), but that has been obsoleted by openssl. > Thanks > > On 8/15/05, Gareth Bailey wrote: > > Hi there, > > > > I am using pserver for authentication on CVS. Rather than use the same > > passwords as in /etc/passwd, I'd rather create different ones for > > users. How would I output a password to, for example, a text file in > > the same format as that of /etc/passwd. > > > > i.e: # xxx mynewpassword > encrypted_password.txt > > > > > > Thanks! > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/