Adding and man­ag­ing users with­out user man­age­ment com­mands

OpenSource For You - - LET'S TRY -

Method 1: The GUI in­ter­face can be used to man­age users in Cen­tOS. In your Linux box: 1. Click on Sys­tem, which ap­pears on the top bar of your

desk­top. 2. Click on Ad­min­is­tra­tion. 3. Click on Users and Groups. 4. The User Manager In­ter­face will be dis­played. 5. Here, you can use the Add User op­tion to cre­ate new

users with spe­cific con­fig­u­ra­tions. 6. To mod­ify the con­fig­u­ra­tions of ex­ist­ing users, click on the name of a user and click Prop­er­ties. Here you can up­date the ba­sic user set­tings, ac­count set­tings, pass­word aging and group membership man­age­ment (see Fig­ure 4). 7. To delete a user, sim­ply se­lect a user from the list and

click the Delete but­ton. 8. Sim­i­larly, groups can be man­aged from the ‘Groups’ tab. 5. Copy the gen­er­ated hashed pass­word. 6. Now, open the /etc/shadow file and make the fol­low­ing en­try:

The val­ues may be mod­i­fied as re­quired for pass­word aging. 7. Now, give the new users per­mis­sion on their home

di­rec­tory as fol­lows: 8. Make test2 as the user owner and

of this home di­rec­tory:

test1

as the group owner

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.