From owner-freebsd-questions Mon Sep 27 19:33:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.uigv.edu.pe (mail.uigv.edu.pe [200.10.71.131]) by hub.freebsd.org (Postfix) with ESMTP id 2891814BD6 for ; Mon, 27 Sep 1999 19:32:57 -0700 (PDT) (envelope-from cesar@mail.uigv.edu.pe) Received: by mail.uigv.edu.pe (8.9.3/8.9.3) id VAA02795; Mon, 27 Sep 1999 21:30:13 +0500 (GMT) Date: Mon, 27 Sep 1999 21:30:13 +0500 (GMT) From: Cesar KMo Prueba Message-Id: <199909271630.VAA02795@mail.uigv.edu.pe> X-Authentication-Warning: mail.uigv.edu.pe: nobody set sender to cesar@mail.uigv.edu.pe using -f To: Steve Hovey Reply-To: cesar@mail.uigv.edu.pe Cc: freebsd-questions@FreeBSD.ORG References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: IMP/PHP3 Imap webMail Program 2.0.9 X-Company: Universidad Inca Garcilaso de la Vega X-Originating-IP: 200.10.71.134 Subject: Re: pwd.db Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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