Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to login as root using 'su'
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
highonlife
n00b
n00b


Joined: 30 Nov 2005
Posts: 1

PostPosted: Wed Nov 30, 2005 2:51 pm    Post subject: Unable to login as root using 'su' Reply with quote

Im a linux newbie so im sorry if this question is silly.

I just installed gentoo, but for some reason im unable to login as root using the su - command.
If i press ALT + F2 or seomthing and open a new terminal, then im able to login. If i log out of the username i am using, i can relogin as root. But i am unable to use 'su -' or 'su'

What could be wrong?
Also could someone tell me how i change my screen resolution. Is it possible to change screen resolution even if all you are running is command line linux?

Thanks guys
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Wed Nov 30, 2005 3:01 pm    Post subject: Re: Unable to login as root using 'su' Reply with quote

highonlife wrote:
Im a linux newbie so im sorry if this question is silly.

I just installed gentoo, but for some reason im unable to login as root using the su - command.
If i press ALT + F2 or seomthing and open a new terminal, then im able to login. If i log out of the username i am using, i can relogin as root. But i am unable to use 'su -' or 'su'
that is because you didn't make your user part of the "wheel" group
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
guduri
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 230
Location: Ann Arbor, Michigan

PostPosted: Wed Nov 30, 2005 3:03 pm    Post subject: Reply with quote

Maybe su is restricted for normal users in the sudoers file in /etc?
_________________
Power is about what you can control. Freedom is about what you can unleash.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Wed Nov 30, 2005 3:03 pm    Post subject: Reply with quote

highonlife wrote:
Also could someone tell me how i change my screen resolution. Is it possible to change screen resolution even if all you are running is command line linux?
you can use ctrl +/- and
Code:
xrandr
from the cli
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Ctrl+Alt+Del
Guru
Guru


Joined: 04 Jul 2004
Posts: 326
Location: .de

PostPosted: Wed Nov 30, 2005 3:04 pm    Post subject: Reply with quote

you have to be a member of the group 'wheel' to be able to su
and
http://gentoo-wiki.com/HOWTO_fbsplash

oupsie got beaten :)


Last edited by Ctrl+Alt+Del on Wed Nov 30, 2005 3:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Wed Nov 30, 2005 3:05 pm    Post subject: Reply with quote

guduri wrote:
Maybe su is restricted for normal users in the sudoers file in /etc?
it doesn't look like he's using sudo and as it's not default i doubt he is
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Nov 30, 2005 3:09 pm    Post subject: Reply with quote

This must be one of the most commonly asked questions. :wink: See this FAQ: Why can't I su to root?

Moved from Other Things Gentoo to Duplicate Threads.
_________________
No-one's more important than the earthworm.
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