LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-31-2001, 03:54 PM   #1
qdickens
LQ Newbie
 
Registered: Oct 2001
Posts: 2

Rep: Reputation: 0
Angry useradd


I have just inheritated a Redhat Linux 6.2 machine. I have very little experience with Linux. I have telnetted to the machine and logged in as root, and I am attempting to create a user account for myself. But when I enter useradd qdickens at [root@localhost /root]# I get a reply back that says
bash: useradd: command not found

Is this a proble because I am telnetted in, or is it another problem? Any help would be greatly appreciated.

Quinton
 
Old 10-31-2001, 05:09 PM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Running "useradd" as myself gives me "command not found". Adding the explicit path to it runs the command.

Try it with the entire path ("/usr/sbin/useradd"), if you get an error pertaining to the password file, try "su root" (even though it makes no sense that you should have to do this).


John
 
Old 10-31-2001, 05:34 PM   #3
qdickens
LQ Newbie
 
Registered: Oct 2001
Posts: 2

Original Poster
Rep: Reputation: 0
Talking Thanks

That did the trick. Thank you very much!

Q.
 
Old 11-02-2001, 01:00 AM   #4
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Anytime!


John
 
Old 11-02-2001, 03:41 PM   #5
zhenwu
Member
 
Registered: Jul 2001
Location: Taiwan (ex-Victoria BC)
Distribution: RH 9.0
Posts: 126

Rep: Reputation: 15
On the other hand, adduser is also (usually) a viable option...
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
useradd probs rickict Slackware 5 04-18-2005 06:20 PM
useradd jerryluis Fedora 9 03-27-2005 08:37 PM
Using Useradd spud Linux - Newbie 6 03-10-2005 04:50 PM
automatic useradd sanacori Linux - Software 0 05-13-2004 08:20 AM
useradd cyrush Linux - Distributions 3 01-21-2003 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:47 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