[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please verify these 2 OpenBSD Bugs (FAQ, adduser, login.conf)



On Sat, 1 Jan 2005, Mark Farquaad wrote:

> I think this lays open what happend to me many times and what
> might or has been happening to some others.
> 
> If all you know is that a new user must be in the "wheel" group
> to be able to get root priviliges with "su", this is which is described 
> here is very possible to happen. And it's not evident why the new
> user is not added to the wheel group in /etc/group.

Again, read group(5). If the primary group is wheel, there's no need to 
add the user to the wheel group in /etc/group. It has always been this 
way, and su(1) works. /etc/group is used to record _secondary_ groups.

> The question which remains is:
> Do the devs want to address this problem and make an
> additional script for adding a user to the wheel group if he
> is *only* in the wheel group or not?

No, there is no problem. This would violate long standing behavior. I 
repeat: this is not a bug.

	-Otto