From owner-freebsd-questions Wed Mar 15 3:49:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 5DD8137B978 for ; Wed, 15 Mar 2000 03:49:26 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2FCBNI25878; Wed, 15 Mar 2000 04:11:23 -0800 (PST) Date: Wed, 15 Mar 2000 04:11:23 -0800 From: Alfred Perlstein To: Ben Smithurst Cc: John Starkey , Jim Smart , FreeBSD Subject: Re: Changing shells. Message-ID: <20000315041123.A14789@fw.wintelcom.net> References: <7DC4EFF7C2FED2119BCD0000E8D5E42B378F84@mail.internal.tsw.com.au> <38CF44DB.BC38DA55@polaris.umuc.edu> <20000315104549.C16722@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000315104549.C16722@strontium.scientia.demon.co.uk>; from ben@scientia.demon.co.uk on Wed, Mar 15, 2000 at 10:45:49AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Ben Smithurst [000315 03:54] wrote: > John Starkey wrote: > > >> There is a copy of the file /etc/passwd stored in memory. > >> This is what is used for authenification of logins. It is > >> read at boot time. > > > > Isn't that kinda inefficient?? > > Indeed it would be, if it were true. I'm pretty certain FreeBSD does no > such thing. (If it were only read at boot time, you'd have to reboot to > add a user! I know this isn't the case.) Whoa, I sense a trail of mis-information being generated, I tracked down where it started here: ------- Date: Wed, 15 Mar 2000 01:07:59 -0700 From: John Starkey To: Jim Smart , FreeBSD Subject: Re: Changing shells. Message-ID: <38CF44DB.BC38DA55@polaris.umuc.edu> References: <7DC4EFF7C2FED2119BCD0000E8D5E42B378F84@mail.internal.tsw.com.au> Thanks for the reply. > There is a copy of the file /etc/passwd stored in memory. > This is what is used for authenification of logins. It is > read at boot time. Isn't that kinda inefficient?? Why waste RAM on something that isn't used that often?? (On a personal system). > $ man vipw for more information. > Yea I tried that, man wasn't installed. I did a minimal just to make sure it would work. I'm doing a custom now. Thanks, John ------- This is just not true, the system stores the password information in /etc/spwd.db which is a database file, you need to use the system utilities to have it your edits to the password system automatically rebuild the database files. vipw, chsh and pw are amongst the utlities to properly update the system database files. You should not be editing /etc/passwd nor /etc/master.passwd directly. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message