Results 1 to 6 of 6
I get the following error when I try to login in as root.
fanfan@Desky ~ $ su
su: Permission denied
Sorry.
I've tried gpasswd -a <fanfan> wheel, but I get ...
- 09-09-2006 #1Linux Newbie
- Join Date
- Jul 2005
- Posts
- 122
su: Permission Denied
I get the following error when I try to login in as root.
fanfan@Desky ~ $ su
su: Permission denied
Sorry.
I've tried gpasswd -a <fanfan> wheel, but I get -su: fanfan: No such file or directory.
I can login as root, but I can't use su.
Any help MUCH appreciated.
-BrianThere is no problem so complicated that you cannot find a very simple answer to it if you look at it in the right way
- 09-09-2006 #2
You're certain you're a member of the 'wheel' group? Run the 'groups' command to check.
I take it you didn't change the permissions of 'su'? What's the output of 'ls -l /bin/su'?DISTRO=Arch
Registered Linux User #388732
- 09-09-2006 #3Linux Newbie
- Join Date
- Jul 2005
- Posts
- 122
Ok, I am not a member of the wheel group apparently. I ran gpasswd -a <fanfan> wheel to make myself part of wheel, but I get the error bash: fanfan: No such file or directory Am I doing this wrong?
Thanks a lot Cabhan, I now at least know what the problem is.
-BrianThere is no problem so complicated that you cannot find a very simple answer to it if you look at it in the right way
- 09-09-2006 #4
I assume the username is 'fanfan'? Run this command as root:
You then need to fully logout from the system. You can then login as fanfan, and you should be a member of the group.Code:gpasswd -a fanfan wheel
DISTRO=Arch
Registered Linux User #388732
- 09-16-2006 #5
- 09-16-2006 #6
Also, don't forget that your groups won't change until you log out, then log back in.
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794


Reply With Quote
