View previous topic :: View next topic |
Author |
Message |
squeaksy n00b


Joined: 01 Aug 2003 Posts: 56 Location: Brissie ( Australia )
|
Posted: Tue Aug 05, 2003 10:18 am Post subject: Problems with su |
|
|
hi when i am logged into a user and i try to su anyhting i get this message
bash-2.05b$ su -emerge gaim
Password:
su: Permission denied
Sorry.
i havent set a password so what is the default??? |
|
Back to top |
|
 |
jbc28 Apprentice


Joined: 07 Jan 2003 Posts: 205 Location: Edinburgh
|
Posted: Tue Aug 05, 2003 10:33 am Post subject: |
|
|
Hi,
you need to be a member of the group 'wheel' to su to root.
Either edit '/etc/group' or use 'usermod' to modify group memberships.
I'm not really sure what you're trying to do with
The default password for root is random, not the word random but actually random. If you haven't set it you can use the gentoo install cd to fix things.
Hope this helps,
J |
|
Back to top |
|
 |
Brandy Bodhisattva


Joined: 08 Jun 2003 Posts: 820 Location: New Zealand
|
Posted: Tue Aug 05, 2003 11:04 am Post subject: |
|
|
Moved from Desktop Environments to Duplicate Threads. Problems with su have been covered here and here and here and ... _________________ Faber est suae quisque fortunae. |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Tue Aug 05, 2003 11:33 am Post subject: Re: Problems with su |
|
|
Sorry if I add something, but i think he's somewhat confused...
squeaksy wrote: | hi when i am logged into a user and i try to su anyhting i get this message
Code: | bash-2.05b$ su -emerge gaim |
|
You don't 'su' something, when you 'su' you "switch user". It works this way:
then you authenticate and "become" the user you specified. 'su' without a login-name defaults to root and 'su -' acts as a login shell (resetting environment variables, something you usually want).
Maybe you are confusing with 'sudo', BTW 'man su' or consulting the mentioned threads might give you informations about the correct usage.  _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
|