Re: Finger and getpwent

[ Available lists | Index of freebsd-stable | Month of Jul 1998 | Week of 10 Jul 1998 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Tom <tom@uniserve.com>
Date
10 Jul 1998 15:25:52
Subject
Re: Finger and getpwent
Message-ID
Pine.BSF.3.96.980710152135.2887E-100000@shell.uniserve.ca

In reply to
Replies

[ Hide this part ]
 
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


Elapsed time: 0.105 seconds