Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 1998 15:24:19 -0700 (PDT)
From:      Tom <tom@uniserve.com>
To:        Peter Philipp <philipp@globalserve.net>
Cc:        Paulo Fragoso <paulo@nlink.com.br>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Finger and getpwent
Message-ID:  <Pine.BSF.3.96.980710152135.2887E-100000@shell.uniserve.ca>
In-Reply-To: <Pine.BSF.3.96.980710182528.11754G-100000@geeklab.globalserve.net>

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

On Fri, 10 Jul 1998, Peter Philipp wrote:

> Tom I think you should look deeper into the getpw* functions when you say
> /etc/passwd isn't used for anything and /etc/master.passwd is.  I'm

  It isn't.  What are you saying?

> dissapointed you did not mention /etc/spwd.db and /etc/pwd.db which are
> the databases accessed by getpw*().  As far as /etc/*passwd is concerned

  I did mention /etc/pwd.db.  Its partner /etc/spwd.db is assumed.

> those are great for building the databases and administrative duties but
> other than that don't really serve a point.
> 
> Yes /etc/master.passwd is used for pwd_mkdb to build the databases so it
> serves a purpose other than that I can't think of any.

  More.  It is also used by chpass, pw, etc.

> As for Paolo, commenting out users is a nono, if you want to lock an
> account make sure the first character of the pw_passwd field is a *.  This
> is usually the easiest method.

  I think it is considered a new feature.  It does not seem to be complete
in -stable.

  Anything that increases the password field by one character will be
affective.

> Peter Philipp (PP2441)
> Globalserve System Administration
> "How I wish you were here..." - Pink Floyd

Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" 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.3.96.980710152135.2887E-100000>