View previous topic :: View next topic |
Author |
Message |
w.hill Tux's lil' helper
Joined: 23 Jan 2005 Posts: 133 Location: Perth, Western Australia
|
Posted: Thu May 05, 2005 5:46 am Post subject: can't "su root" [Solved] |
|
|
Hi,
I've added myself in as a "normal" ie non-root user.
When I try to su root it fails - see below. I know that the password is correct because I can login as root.
TIA
root@athena /bin # ls -al su
-rwsr-xr-x 1 root root 25380 Apr 13 08:50 su
me@athena ~ $ su root
Password:
su: Permission denied
Sorry.
me@athena ~ $
Last edited by w.hill on Thu May 05, 2005 7:49 am; edited 1 time in total |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu May 05, 2005 5:49 am Post subject: |
|
|
Have you verified everything in the FAQ Forum's "su" thread?
Not just, "yeah, that's good, that''s good,..." I mean actually double checked. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
viper2pt0 Tux's lil' helper
Joined: 06 Mar 2004 Posts: 98
|
Posted: Thu May 05, 2005 5:50 am Post subject: |
|
|
dont specify 'root' just do:
and enter, then when it asks for your password, type in the root password. su changes you to root by default if you dont specify a user to switch to. If this still doesnt work, during the install did you echo tt0 to securetty?...or whatever that line is |
|
Back to top |
|
|
michelle778 n00b
Joined: 19 Mar 2005 Posts: 73
|
Posted: Thu May 05, 2005 7:24 am Post subject: |
|
|
it doesn't matter if you type 'su' or 'su root' ..
My guess is, that your user isn't in the group called wheel (check with 'id' and change if necessary...) _________________ Nothing is easier than being busy - and nothing more difficult than being effective. |
|
Back to top |
|
|
w.hill Tux's lil' helper
Joined: 23 Jan 2005 Posts: 133 Location: Perth, Western Australia
|
Posted: Thu May 05, 2005 7:49 am Post subject: |
|
|
I did search for "su root" and found nothing.
The answer was to add the username to /etc/groups for "wheel"
Thanks for your help. |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|