Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions > Arch Linux Help
Reload this Page useradd problem
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Arch Linux Help Help an discussion related to Arch

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-18-2007   #1 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 19
Question useradd problem

i have installed arch and when it comes to the new booted screen, it comes up with login i enter root and then this command to create a new user,

# useradd -m -s /bin/bash username

and it then gives me a password error without letting me enter the password command.


Please help!!!!
stlinux is offline   Reply With Quote
Old 10-18-2007   #2 (permalink)
Super Moderator
 
Join Date: May 2004
Location: arch linux
Posts: 9,626
Welcome to the forums!

Not sure it'll work, but try adduser instead.

Let us know.
__________________
oz

New Users: * FAQ *

ozar is offline   Reply With Quote
Old 10-18-2007   #3 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 19
unfortunately they both come with the same problem "unable to lock password file"
stlinux is offline   Reply With Quote
Old 10-18-2007   #4 (permalink)
Super Moderator
 
Join Date: May 2004
Location: arch linux
Posts: 9,626
I'm really not sure what's going on here.

Have you already created a root password?
__________________
oz

New Users: * FAQ *

ozar is offline   Reply With Quote
Old 10-18-2007   #5 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,258
Sounds like the root file system might be mounted read-only. Check /etc/fstab. Make it read-write if so.
Thrillhouse is offline   Reply With Quote
Old 10-18-2007   #6 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 19
im not sure but how do i set root password,
stlinux is offline   Reply With Quote
Old 10-18-2007   #7 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,258
Easy:
Code:
#passwd root
Thrillhouse is offline   Reply With Quote
Old 10-18-2007   #8 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 19
but when i try that and enter new password it comes up with

"passwd: Authentication token lock busy"
stlinux is offline   Reply With Quote
Old 10-18-2007   #9 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,258
That's why I think your fstab is mounting the root filesystem as read-only. Post the output of:
Code:
cat /etc/fstab
and we can check it. If that's not the problem, we can move on to other possibilities.
Thrillhouse is offline   Reply With Quote
Old 10-18-2007   #10 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 19
just wrote it in, and what am i going to be looking for
stlinux is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mozilla Connection Problem. Jux Ubuntu Help 19 11-01-2006 04:14 PM
A problem with my SB vankata_r SuSE Linux Help 4 06-05-2006 04:13 PM
Really strange problem with NAT router gepas Linux Networking 2 05-05-2006 06:45 PM
Turkish installation problem in FC5 Daley Redhat / Fedora Linux Help 1 03-24-2006 03:07 PM
Windows XP/SuSe Linux 10.0 RC1 dual boot problem pushpop SuSE Linux Help 1 12-26-2005 02:11 PM

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 08:11 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0