Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"su" doesn't work
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
helmerj
n00b
n00b


Joined: 19 Jun 2002
Posts: 12
Location: New York

PostPosted: Tue Jul 02, 2002 9:13 pm    Post subject: "su" doesn't work Reply with quote

Hi!

in order to work as root all the time I prefer to login as a normal user. when I want to install soemthing I have to be root though. I'm running a "normal 1.2 system on a ThinkPad S30 and I can't login as root using the "su" command.
Do I have to turn on the permission to do so? And ifso where would I do that?

Thanks Juergen
Back to top
View user's profile Send private message
Sesquipedalian
n00b
n00b


Joined: 22 May 2002
Posts: 62
Location: Loveland, CO

PostPosted: Tue Jul 02, 2002 9:19 pm    Post subject: Reply with quote

the user you log in with must be a member of the "wheel" group.

usermod -G wheel <username>

- Sesq
Back to top
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Wed Jul 03, 2002 6:16 pm    Post subject: Reply with quote

Sesquipedalian wrote:
usermod -G wheel <username>

Be sure to check what other groups <username> is a member of beforehand:
Code:
$ id <username>

and append those to the comma-separated list following usermod's -G option, otherwise you'll remove <username> from all groups except 'wheel' and its initial group (usually 'users').

<WHINE>
I wish usermod had options for appending groups to and removing groups from the group membership list without affecting unspecified group memberships.
</WHINE>
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20053

PostPosted: Mon Nov 04, 2002 9:33 pm    Post subject: Reply with quote

Answered in the FAQ and in this thread.
_________________
Quis separabit? Quo animo?
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