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

Notices

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

Rep: Reputation: 0
useradd


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
macemoneta
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: 326Reputation: 326Reputation: 326Reputation: 326
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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 07:40 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration