Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 1999 09:13:03 -0400 (EDT)
From:      Steve Hovey <shovey@buffnet.net>
To:        Cesar KMo Prueba <cesar@mail.uigv.edu.pe>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pwd.db
Message-ID:  <Pine.BSF.4.05.9909280912320.1064-100000@buffnet11.buffnet.net>
In-Reply-To: <199909271630.VAA02795@mail.uigv.edu.pe>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <shovey@buffnet.net>:
> 
> > 
> >
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9909280912320.1064-100000>