From owner-freebsd-stable Fri Jul 10 15:25:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00316 for freebsd-stable-outgoing; Fri, 10 Jul 1998 15:25:52 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA00290 for ; Fri, 10 Jul 1998 15:25:37 -0700 (PDT) (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca [204.244.186.218] by pop.uniserve.com with smtp (Exim 1.82 #4) id 0yulaY-0006WJ-00; Fri, 10 Jul 1998 15:24:22 -0700 Date: Fri, 10 Jul 1998 15:24:19 -0700 (PDT) From: Tom X-Sender: tom@shell.uniserve.ca To: Peter Philipp cc: Paulo Fragoso , freebsd-stable@FreeBSD.ORG Subject: Re: Finger and getpwent In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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