Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't "su root" [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
w.hill
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 133
Location: Perth, Western Australia

PostPosted: Thu May 05, 2005 5:46 am    Post subject: can't "su root" [Solved] Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17857

PostPosted: Thu May 05, 2005 5:49 am    Post subject: Reply with quote

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.
_________________

Believing I had supernatural powers I slammed into a brick wall.
I said hey, is this my problem? Is this my fault?
Back to top
View user's profile Send private message
viper2pt0
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 98

PostPosted: Thu May 05, 2005 5:50 am    Post subject: Reply with quote

dont specify 'root' just do:
Code:
su

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
View user's profile Send private message
michelle778
n00b
n00b


Joined: 19 Mar 2005
Posts: 73

PostPosted: Thu May 05, 2005 7:24 am    Post subject: Reply with quote

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
View user's profile Send private message
w.hill
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 133
Location: Perth, Western Australia

PostPosted: Thu May 05, 2005 7:49 am    Post subject: Reply with quote

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
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu May 05, 2005 8:51 am    Post subject: Reply with quote

Moved from Other Things Gentoo, please see the FAQ:

https://forums.gentoo.org/viewtopic-t-23378.html
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum