LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 07-03-2010, 12:02 PM   #1
Pale
LQ Newbie
 
Registered: Sep 2009
Distribution: Sabayon
Posts: 5

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
Posts: 2,256

Rep: Reputation: 242Reputation: 242Reputation: 242
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 10 05-03-2010 03:52 AM
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
Can't add local system user - useradd keeps saying user already exists ADeluiz Linux - Security 4 08-28-2007 06:38 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 10:53 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration