Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Arch This Forum is for the discussion of Arch Linux.


  Search this Thread
Old 09-01-2003, 12:45 PM   #1
LQ Newbie
Registered: Aug 2002
Location: NYC
Distribution: RH v9.0
Posts: 5

Rep: Reputation: 0
Username and Password

How are you doing there folks?

I just finished installing Arch Linux 0.5 Nova and I was able to boot up. But i was unable to log on since i didn't have any account.

So i booted again by supplying "arch" to setup again.

I entered "useradd" and tried to follow instructions on the archlinux website
but i have not been able to find "useradd" or "adduser" script to add a new user.

One more question. Do i have to use "useradd" to create a root user account as well?

Thank you in advance.
Old 09-01-2003, 01:14 PM   #2
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
you can log in as root. Just use "root" as the user name.

I believe no password is set. Just press enter.

To set the password: passwd

To create a user (once you log in): adduser
Old 09-01-2003, 02:12 PM   #3
LQ Newbie
Registered: Aug 2002
Location: NYC
Distribution: RH v9.0
Posts: 5

Original Poster
Rep: Reputation: 0
I typed "root" as the username and it didn't even ask me about the password and it said that i was not authorized.

Why can't I even log on as a root right after i installed Arch 0.5? This is really weird.
Old 09-01-2003, 04:32 PM   #4
Registered: Mar 2003
Location: Visby, Sweden
Distribution: Ubuntu 4.10
Posts: 64

Rep: Reputation: 15
As contrasutra said there normally is a root account that defaults to no password. If you have had the machine online there is a remote possibility that you got hacked.

The more likely problem is that something went wrong with your install. Sounds like that since you can't find the adduser command.
How did you install, CD or FTP? If CD, did you check md5sum? Did you install all base packages (one of these should contain adduser)?

//Edit: Just thought of something the minute after i posted as usual.

You might try to boot into singel user mode (see this thread for howto) or boot from CD (provided you have one) and mount the disk. Then check /etc/passwd and /etc/group to see if there is an entry for root. If not you can add one. For /etc/passwd it should look like:
For /etc/group:
If this doesn't work and you did a cd-install you can try reinstalling (provided the md5sum --check is ok), pay close attention to any error messages on vc/5 (I think thats the one). //

Last edited by Mork; 09-01-2003 at 04:50 PM.


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
username and password no go bmd Linux - Newbie 7 04-06-2005 09:26 PM
username/password sailu_mvn Programming 5 12-21-2004 04:21 AM
UserName and Password luis8460 Red Hat 0 07-08-2004 05:45 AM
Forgot Username And Password! tyledogg Linux - Newbie 4 04-10-2004 02:30 PM
No username and password Tec1 Linux - Software 1 08-10-2003 10:38 AM > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 04:13 AM.

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