Subject: Re: default group for daemon is "guest"?
To: Brian Stark <bstark@uswest.net>
From: David Brownlee <abs@netbsd.org>
List: current-users
Date: 08/02/2000 16:13:55
	This does seem... odd. I would definitely support moving it to
	the daemon group, unless someone else has a compelling reason
	not to. (it has been gid 31 since the start of NetBSD).

	The only issue I can think of would be people upgrading their
	system and finding daemon is in the 'wrong' group for them.
	If we do change it, we should definitely note it in the
	release notes.

                David/absolute
			       -- www.netbsd.org: A pmap for every occasion --


On Wed, 2 Aug 2000, Brian Stark wrote:

> Hello,
> 
> Is there a reason that the default group for user "daemon" is 
> "guest" instead of "daemon"?
> 
> On my 1.5_ALPHA system I see the following entry in /etc/passwd:
> 
>   daemon:*:1:31:The devil himself:/:/sbin/nologin
> 
> and the corresponding entry for group 31 in /etc/group is:
> 
>   guest:*:31:root
> 
> I checked the OpenBSD sources today and those folks have the default group
> for user daemon set to daemon. From OpenBSD's /etc/master.passwd:
> 
>   daemon:*:1:1::0:0:The devil himself:/root:/sbin/nologin
> 
> 
> I thought I'd ask about this because I noticed that the lpd program
> attempts to set its group id to the default group id for user id 1
> (daemon), and it doesn't seem to make much sense for the lpd program
> to be using group "guest" (see file printjob.c in the lpd source
> directory). Also, although dated, the 4.3BSD Line Printer Spool Manual
> doesn't mention using the guest group.
> 
> 
> Brian 
> bstark@uswest.net
> 
>