Difference between revisions of "add user in redhat linux"

From WebHostingNeeds.com
Jump to: navigation, search
Line 9: Line 9:
  
 
Create, delete, and modify local user accounts
 
Create, delete, and modify local user accounts
 
+
<pre>
 
Add: useradd
 
Add: useradd
 
Delete: userdel
 
Delete: userdel
 
Modify: usermod
 
Modify: usermod
 
View /etc/passwd
 
View /etc/passwd
 
+
</pre>
  
  

Revision as of 01:45, 6 November 2013

ADD USER In RedHat

Create the user "dax" with uid 4223.

useradd -u 4223 dax


Create, delete, and modify local user accounts

Add: useradd
Delete: userdel
Modify: usermod
View /etc/passwd




useradd

rhcsa