LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , , , ,

Reply
 
Thread Tools
Old 05-18-2006, 11:29 AM   #1
taizhu
LQ Newbie
 
Registered: Oct 2002
Location: Rockville, Maryland
Posts: 15
Thanked: 0
useradd


[Log in to get rid of this advertisement]
Hi there,
I installed redhat enterprise 4.0, from man manual, i could read the usage of useradd, somehow my system doesn't have the command, just wonder if it is the system command, or i have to install some extra package, any idea? many thanks.
taizhu is offline  
Tag This Post , , , , , ,
Reply With Quote
Old 05-18-2006, 12:01 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86, x86_64, PPC
Posts: 3,543
Blog Entries: 1
Thanked: 0
Two requisites:

1. You need to be root to use the useradd command
2. The directory '/usr/sbin/' must be in your PATH

If you are not root, you can temporarily become root to issue the command by entering: 'su - root'. The space-dash-space is important, as it gives you the environment that root needs.

If '/usr/sbin/' is not part of root's PATH, you can add it temporarily with: 'export PATH=$PATH:/usr/sbin'.

Redhat also provides a GUI for manipulating users and groups, that should be available in your menu.
macemoneta is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
useradd -D doronunu Linux - Networking 10 01-19-2006 04:11 AM
Useradd - Cannot locate /etc/default/useradd in Solaris Paean Solaris / OpenSolaris 4 12-09-2005 02:36 AM
useradd jerryluis Fedora 9 03-27-2005 08:37 PM
Using Useradd spud Linux - Newbie 6 03-10-2005 04:50 PM
useradd qdickens Linux - General 4 11-02-2001 03:41 PM


All times are GMT -5. The time now is 03:02 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration