LinuxQuestions.org
Visit Jeremy's Blog.
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 08-01-2004, 08:29 PM   #1
royalflush
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
I'm having trouble creating users


Im a newbie to Linux, so I hope all you peoples don't laugh at me. lol
Anyways, Im running redhat 9.0 and I successfully added a new user manually, but I can't get the damned useradd command to work. I type useradd joeblow, and i get this: Bash: useradd: command cannot be found. oh and I am in su.

Any help would be greatly appreciated!
 
Old 08-01-2004, 08:45 PM   #2
Mundi
LQ Newbie
 
Registered: Jul 2004
Location: Lithuania
Distribution: Slackware10 & Fedora Core2
Posts: 4

Rep: Reputation: 0
Are you logged as superuser(root)...? Try "/sbin/adduser".
 
Old 08-01-2004, 09:10 PM   #3
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
log in as root

you might want to try adduser instead of useradd
 
Old 08-01-2004, 09:14 PM   #4
royalflush
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
i am logged in as root.. neither worked..
 
Old 08-01-2004, 09:20 PM   #5
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
*scratches head*

um.. lol

try and look in /usr/sbin/
 
Old 08-02-2004, 01:06 AM   #6
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
As root run updatedb wait wait wait till its done.

Then run locate useradd

If it doesn't show then it is not on your system.
 
Old 08-02-2004, 11:31 AM   #7
lone_nut
Member
 
Registered: Dec 2003
Location: Denmark
Distribution: Mandrake
Posts: 179

Rep: Reputation: 30
Re: I'm having trouble creating users

Quote:
Originally posted by royalflush
Im a newbie to Linux, so I hope all you peoples don't laugh at me. lol
The worst thing you can do is to laugh at someone how is trying to learn GNU/Linux. (unless they post what they have done under a "worst computer stupidei site" it means that the person gets a bad fealing, and dont like GNU/Linux.

as for your problem try
whereis adduser
whereis useradd
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating new users skvasistha Linux - General 3 11-27-2004 12:02 AM
Creating Users [HELP] reddog64 Linux - Newbie 2 04-24-2004 11:34 AM
creating users ergo_sum Linux - Newbie 3 08-13-2003 05:46 PM
Creating Users mrsolo Linux - Software 2 12-10-2002 02:39 AM
Creating users... sancho5 Linux - General 2 08-23-2001 07:20 PM


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

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