LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2010, 12:02 PM   #1
Pale
LQ Newbie
 
Registered: Sep 2009
Distribution: Sabayon
Posts: 15

Rep: Reputation: 0
Gentoo - (didn't add a user when i installed)


Hello,

I recently installed gentoo following the handbook at www.gentoo.org. However i failed to add a user before i reboot my system.

I try to login as root on gentoo but it fails.

How can I add a user so i can login?

Thanks.

PS. I know Gentoo is a bit harder, but i learn from trial and error.
 
Old 07-03-2010, 12:59 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
When you boot, you have to interrupt the boot process by pressing any key when grub shows a countdown. Hit a to edit the kernel options and add a space then 1 to the end of the line. Then hit return to continue booting. This will give you a root login where you can use adduser to create a normal user.
Code:
adduser <username>
passwd <username>
follow the prompts, then

Code:
telinit 5
Now login as <username>.

The 1 you added to the kernel options only takes effect on that boot, it is not there the next time.

Last edited by smoker; 07-03-2010 at 01:06 PM.
 
1 members found this post helpful.
  


Reply

Tags
cant, cd, gentoo, install, login, users


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't add local system user - useradd keeps saying user already exists ADeluiz Linux - Security 5 07-26-2013 03:17 PM
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 01:14 PM
Create user add file with default password and force user to change it? Morgandy Linux - Newbie 3 02-02-2010 05:06 PM
Gentoo on Eeepc - I have never installed Gentoo devinmcelheran Gentoo 12 10-13-2009 10:17 AM
samba - add user script - User account does not exist itzamecwp Linux - Server 2 01-18-2007 10:52 PM


All times are GMT -5. The time now is 03:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration