Difference between revisions of "add user in redhat linux"

From WebHostingNeeds.com
Jump to: navigation, search
 
Line 17: Line 17:
  
  
 +
Create, delete and modify local groups and group memberships
 +
<pre>
 +
Add: groupadd
 +
Delete: groupdel
 +
Modify: groupmod
 +
Memberships: edit /etc/group
 +
 +
</pre>
  
  

Latest revision as of 01:46, 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


Create, delete and modify local groups and group memberships

Add: groupadd
Delete: groupdel
Modify: groupmod
Memberships: edit /etc/group



useradd

rhcsa