From owner-freebsd-questions Tue Sep 28 6:13:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by hub.freebsd.org (Postfix) with ESMTP id 64A8114E33 for ; Tue, 28 Sep 1999 06:13:13 -0700 (PDT) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.8.7/8.8.7) with ESMTP id JAA11457; Tue, 28 Sep 1999 09:13:04 -0400 (EDT) (envelope-from shovey@buffnet.net) Date: Tue, 28 Sep 1999 09:13:03 -0400 (EDT) From: Steve Hovey To: Cesar KMo Prueba Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pwd.db In-Reply-To: <199909271630.VAA02795@mail.uigv.edu.pe> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In freebsd the encrypted password is there - in master.passwd =- master.passwd IS sorta a shadow password file. On Mon, 27 Sep 1999, Cesar KMo Prueba wrote: > > Thanks FreeBSD\' Gurus: > > Thanks, so now I understand why FreeBSD is powerful. > Now, the next one question is: > > In Perl there are the function crypt($word, $salt), > that encrypt the one \"word\" using a \"salt\" to create > encrypt password, that in Solaris 2.X is generally put > on the file /etc/shadow. How I can do the same in > FreeBSD? > > > Thanks in advance > > -Cesar > Steve Hovey : > > > > > > > On Mon, 27 Sep 1999 cesar@mail.uigv.edu.pe wrote: > > > > > hi FreeBSD gurus: > > > > > > Are there relation betwen /etc/passwd > and /etc/pwd.db? > > > > > > > Yes - from master.passwd is created passwd, and the > pwd.db and the > > shadowed version - the former are for legacy programs > that want direct > > file access, the latter for programs and system > issues done in the db > > format for speed. > > > > > > > ------------------------------------------------------- > Universidad Inca Garcilaso de la Vega UIGV > http://www.uigv.edu.pe Lima - Peru > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message