Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811 - su to root does not work without wheel group
Summary: su to root does not work without wheel group
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-22 17:53 UTC by Matt Piechota
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Piechota 2002-02-22 17:53:24 UTC
No user is able to su to root unless a wheel group is added to the /etc/group file, and users are 
added to the group.  I'm using wheel to be a second gid 0 group (group root is the first one), but 
it appears that it could be any gid (it works with 1002, for example).  I realize this is standard 
behavior for BSD style su, but there's no mention of the wheel group in the man page.

If I were fixing this bug, I'd either add a default group of wheel, or have the source for su look for 
group root instead of wheel.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-22 18:50:02 UTC
You mean a wheel group with gid 0?
Comment 2 Matt Piechota 2002-02-23 11:36:41 UTC
It works as long as there is a group called wheel, regardless of what gid it is.  Traditionally in BSD it's gid 0 (and there's no group named root), but it doesn't seem to matter to su if wheel is some other gid.
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-02-27 00:37:40 UTC
we should have a default group of wheel.  Yes, we do.  marking as "worksforme"