Date: Sat, 24 Jan 1998 00:25:03 -0500 From: Giao Nguyen <notwerk@calweb.com> To: pstewart@oncomdis.on.ca, freebsd-hackers@FreeBSD.ORG Subject: Re: Linux --> FreeBSD Message-ID: <3.0.5.32.19980124002503.007abb90@pop.calweb.com> In-Reply-To: <199801240119.UAA19683@oncomdis.on.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
At 08:30 PM 1/23/98 +0000, pstewart@oncomdis.on.ca wrote: >One thing I am not totally clear on is the way the passwd.master file >is updated. I can run adduser etc. and put a user online but does >that automatically update the passwd.master. First of all, let me congratulate you on the switch. Good choice. Excellent job. No,, passwd.master is updated any time that you make a change to the password table. In fact this is the master table. The other table (/etc/passwd) only exists for user application to get pertinent (ie, not passwords and not user group) for the application's nefarious uses (or any other imaginative uses the author deems appropriate). There is *another* file pertinent to the password system, /etc/pwd.db. This file is a database of the password information. Why? Because large tables mean longer read time. Having a hash database shortens the read time. This rocks for large installations (large => 1). If you modify passwd.master by chfn, chsh, passwd, etc. that's fine. If you modify it with vi, don't forget to build /etc/pwd.db with pwd_mkdb. Have fun. Giao Nguyen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980124002503.007abb90>