LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   useradd (https://www.linuxquestions.org/questions/red-hat-31/useradd-446086/)

taizhu 05-18-2006 10:29 AM

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.

macemoneta 05-18-2006 11:01 AM

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.


All times are GMT -5. The time now is 10:52 PM.