Quote:
|
Originally Posted by Centinul
Is your user a part of the "wheel" group? To check run the command "groups" when you are logged in as the user to see the groups you are in. Then just run (I think): usermod -G wheel USERNAME.
Hopefully that helps.
|
From memory (of when I had gentoo installed), having the user in the wheel group just means that the user can issue the "su" command to change to root, surely it would be the other way round i.e. that root is also a member of the wheel group ??? because to "su" in root is attempting to su from root to root. Could that be why joaoPinto is being given the "permission denied" error ???
Or is it that joaoPinto is forgetting that when you are "su' ing" back from root to user, you would normally do
su joaoPinto or whatever other username is used.
I may well be talking a load of bollocks. It's just that root has (or is supposed to have) overall control of the system. If the user wasn't in the wheel group, then the command su just responds with "command not known" (or it did when I last had gentoo installed).
So hence, I'm wondering if the command to switch back from root to user is being issued correctly
as oppossed to just
which from root, well the system wouldn't know where to "su" too because it's already in root.