View previous topic :: View next topic |
Author |
Message |
helmerj n00b
Joined: 19 Jun 2002 Posts: 12 Location: New York
|
Posted: Tue Jul 02, 2002 9:13 pm Post subject: "su" doesn't work |
|
|
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 |
|
|
Sesquipedalian n00b
Joined: 22 May 2002 Posts: 62 Location: Loveland, CO
|
Posted: Tue Jul 02, 2002 9:19 pm Post subject: |
|
|
the user you log in with must be a member of the "wheel" group.
usermod -G wheel <username>
- Sesq |
|
Back to top |
|
|
ebichu Apprentice
Joined: 03 Jul 2002 Posts: 231 Location: Manchester, England
|
Posted: Wed Jul 03, 2002 6:16 pm Post subject: |
|
|
Sesquipedalian wrote: | usermod -G wheel <username> |
Be sure to check what other groups <username> is a member of beforehand:
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon Nov 04, 2002 9:33 pm Post subject: |
|
|
Answered in the FAQ and in this thread. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|