Lecture 3 User Management
Lecture 3 User Management
User Management
Outline
• Linux User Types
• Adding users
• Adding Groups
• Changing ownership
• Changing Group
• Shutting-down and start-up a system
Linux Users
• User accounts and authentication are two of the
most important areas for which a system
administrator is responsible.
• User accounts are the means by which users
present themselves to the system, and are granted
or denied access to the information and resources
on a system.
• Accordingly, properly setting up and managing user
accounts is one of the administrator’s chief tasks
Linux User Types
Syntax:
Syntax:
userdel username
Group:Password:GID:Users
Group Specifies the name of the group.
Password Specifies the group password.
GID Specifies the group ID (GID) number of the group.
Users Lists the members of the group.
As with /etc/shadow, each line in /etc/gshadow represents
a record for a single group.
Each record is composed of the following fields:
Group_Name:Password:Group_Admins:Group_Members
Managing groups from the
command line
Using addgroup/groupadd
Using groupmod
Using groupdel
Using groupadd
Syntax:
Syntax:
groupdel group_name