Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 05-18-2006, 10:29 AM   #1
LQ Newbie
Registered: Oct 2002
Location: Rockville, Maryland
Posts: 15

Rep: Reputation: 0

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.
Old 05-18-2006, 11:01 AM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
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.


error, grub, grubinstall, reinstall, using

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

All times are GMT -5. The time now is 12:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration