OpenSource For You

Adding and managing users without user management commands

-

Method 1: The GUI interface can be used to manage users in CentOS. In your Linux box: 1. Click on System, which appears on the top bar of your

desktop. 2. Click on Administra­tion. 3. Click on Users and Groups. 4. The User Manager Interface will be displayed. 5. Here, you can use the Add User option to create new

users with specific configurat­ions. 6. To modify the configurat­ions of existing users, click on the name of a user and click Properties. Here you can update the basic user settings, account settings, password aging and group membership management (see Figure 4). 7. To delete a user, simply select a user from the list and

click the Delete button. 8. Similarly, groups can be managed from the ‘Groups’ tab. 5. Copy the generated hashed password. 6. Now, open the /etc/shadow file and make the following entry:

The values may be modified as required for password aging. 7. Now, give the new users permission on their home

directory as follows: 8. Make test2 as the user owner and

of this home directory:

test1

as the group owner

Newspapers in English

Newspapers from India