tech-userlevel: Re: Adding a users group to /etc/group (Was: CVS commit: basesrc)

Subject: Re: Adding a users group to /etc/group (Was: CVS commit: basesrc)
To: None <tech-userlevel@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-userlevel
Date: 04/29/2000 10:47:44
On 2000年4月29日, Bernd Ernesti wrote:
> > 	basesrc/etc: group
> > useradd defaults to using the 'users' group, so add one.
> 
> Arg, you now hardcoded the group to a fixed number.
> 
> Let the admin who use that script decide which number he wants to
> use.
> 
> Please back that out.
	Without a users group the default useradd will fail. Having
	'useradd bob' fail with 'useradd: group users not found' is
	pretty lame.
	Another option would be to change the default group for useradd
	to something else, but that seems even less attractive.
	An admin can just as easily change the gid of a group as add a
	new one to /etc/group, and 100 is a common enough gid.
		David/absolute

AltStyle によって変換されたページ (->オリジナル) /