User not showing in WHM "Manage Wheel Group Users"
I have a user that belongs to the wheel group - let's call it "myusername".
When I look at the "Manage Wheel Group Users" area of WHM, the only user displayed in the top portion of the interface ("Remove a user from the wheel group") is root - myusername is not displayed in that list.
I have used the "Add a user to the wheel group" interface to add a different user to wheel, which was successful. But myusername isn't displayed even when I try re-adding it to wheel via WHM.
On the command line I confirmed that myusername does in fact belong to wheel:
outputs:
And myusername can use su so clearly it is in the wheel group. Any idea why WHM would not recognize myusername as belonging to wheel? Or choose not to display it?
groups myusernameoutputs:
myusername : wheelAnd myusername can use su so clearly it is in the wheel group. Any idea why WHM would not recognize myusername as belonging to wheel? Or choose not to display it?
-
I think I may have figured this one out on my own. When I created the user I added it to the wheel group: useradd myusername -g wheel
I'm guessing that since wheel is myusername's primary group, the user can't be removed from the group, which is why WHM doesn't display it. Am I on the right track?0 -
Hello :) Try adding a username without the "wheel" flag and see if it's then visible in Web Host Manager under "Manage Wheel Group Users". You should see if there if the wheel flag is not added upon username creation. Thank you. 0 -
[quote="cPanelMichael, post: 1500002">Hello :) Try adding a username without the "wheel" flag and see if it's then visible in Web Host Manager under "Manage Wheel Group Users". You should see if there if the wheel flag is not added upon username creation. Thank you.
I did this test earlier, and that's exactly right - without the "-g wheel" flag the user can be added/removed from wheel via WHM. Thanks for confirming my suspicion. I think I actually prefer that my user can't be removed from wheel via WHM, since it ensures I never accidentally remove it's su privileges. But it's good to know why it isn't shown in the list to begin with. I have a suggestion: users whose primary group is wheel should still be displayed in "Manage Wheel Group Users", but they should be grayed out, like root is, so that they can't be removed from wheel.0 -
Feel free to open a feature request for your suggestion via: Submit A Feature Request Thank you. 0
Please sign in to leave a comment.
Comments
4 comments