[323] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Re: Some notes on installation

daemon@ATHENA.MIT.EDU (yoav@MIT.EDU)
Wed Dec 28 05:18:34 1994

From: yoav@MIT.EDU
Date: Wed, 28 Dec 94 05:18:19 -0500
To: ghudson@MIT.EDU, yoav@MIT.EDU
Cc: netbsd-dev@MIT.EDU

Oky. just to get a few words in here..
   you can't just create stuff from /etc/passwd into /etc/master.passwd
you also need to create two other db databases (secure and insecure).
seeing as you want to avoid perl.. I don't know how to edit db
files in sh or csh.

I don't see what's wrong with the following:

/bin/login
	adds you to the four files (/etc/passwd, etc/master.passwd, and the
		       secure and insecure databases)
	removes you from all four on logout.

/etc/reactivate
	creates the four files based on /etc/passwd.local (as opposed to copy the file over).


Is there any case where the above method would fail?  (this makes all four files
derived from /etc/passwd.local, but would still make an addition similar to the previous
       we might still need a script to generate the above files after an addition to /etc/passwd.local
	though the easiest fix is to simply do a timestamp check on /etc/passwd.local and
	/etc/passwd. IF /etc/passwd is older than passwd.local, overwrite?  is this a 
	reasonable approach?


As for the /etc/group.. this is just like older versions of bsd.. nothing has changed.
			yoav




home help back first fref pref prev next nref lref last post