Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Root password
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
Sanix
n00b
n00b


Joined: 12 Jan 2006
Posts: 31

PostPosted: Thu Aug 31, 2006 7:47 pm    Post subject: Root password Reply with quote

Hi everyone,
I started the Gentoo LiveCD. Then I tried to set a root password with passwd. This works. Then I created a user using useradd. I changed to this user and wanted to change back to root with su-. Ok, now I type in EXACTLY the same password and it says, it's wrong.
What the fuck did I wrong or is wrong with passwd?
Back to top
View user's profile Send private message
psutokth
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2005
Posts: 119
Location: Lake Champlain

PostPosted: Thu Aug 31, 2006 7:59 pm    Post subject: Reply with quote

Unless you mistyped the password, maybe the user is not allowed to su, that is they are not in the wheel group. http://www.gentoo.org/doc/en/faq.xml#su says:
Quote:
Why can't a user su to root?

For security reasons, users may only su to root if they belong to the wheel group. To add a username to the wheel group, issue the following command as root:
Code:
Code Listing 3.2: Adding a user to the wheel group
# gpasswd -a username wheel
Back to top
View user's profile Send private message
srkitch
Apprentice
Apprentice


Joined: 26 May 2006
Posts: 183

PostPosted: Thu Aug 31, 2006 8:04 pm    Post subject: Reply with quote

the thing that sucks about that is that you have to be root to add someone to that group...you may have to reboot to get back to root, then add the user to wheel ASAP
Back to top
View user's profile Send private message
psutokth
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2005
Posts: 119
Location: Lake Champlain

PostPosted: Thu Aug 31, 2006 8:31 pm    Post subject: Reply with quote

Ah yes, I didn't think of that, could be a problem, but why reboot, why not just log out?
Back to top
View user's profile Send private message
srkitch
Apprentice
Apprentice


Joined: 26 May 2006
Posts: 183

PostPosted: Thu Aug 31, 2006 8:40 pm    Post subject: Reply with quote

i didn't think of logging out...it would most likely work too
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4726
Location: Angra do Heroísmo (PT)

PostPosted: Fri Sep 01, 2006 2:51 am    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.

[mod]Moved to duplicates in favour of https://forums.gentoo.org/viewtopic-t-11126.html - it includes a link to the FAQ entry that answers your question.[/mod]
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
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