In Linux, new user accounts automatically receive mail accounts. Here are the steps for adding a new user account in Red Hat Enterprise Linux 5 and its derivative CentOS 5.

User Manager1. Click Applications then select System Settings and click Users and Groups. This will launch the User Manager window.
User Manager2. In the User Manager window, click Add User. This will show the Create New User window.
Create New User3. In the Create New User window, fill in the User Name, Full Name, Password and Confirm Password. Click Ok when you’re done.
User Manager4. That’s it, you have just created a new user. To remove a user, select the user you want to remove and click Delete.
NoteYou can also do this from the command line, below are the equivalent commands. You need to have root level access to use the commands below.
  • usr/sbin/useradd [options] login_name
    creates a new user
  • usr/sbin/usermod [options] login_name
    modifies a user’s attributes
  • usr/sbin/groupadd [options] group_name
    create a new group
  • usr/sbin/groupmod [options] group_name
    modifies a group’s attributes
Type in any of the commands above without any parameter to see that command’s help information.
 

***
Posted on 4/23/2007 and last updated on 6/24/2009
Filed under CentOS 5 , Red Hat Enterprise Linux 5 , System Administration

Share This