Professional Documents
Culture Documents
A user profile is a visual display of personal data associated with a specific user,
or a customized desktop environment. A profile refers therefore to the explicit
digital representation of a person's identity. A user profile can also be
considered as the computer representation of a user model.
Type of Users:
Root user - Default user highly privileged UID is 0. This will create
while installing the operating system
Local users - After installing of the operating system admin user will create
these users. UID starts from 500 to 65534.
After creating a user, user home directory will be created in default path /home.
One group is will be created with same user name (primary group)
Files from /etc/skel will be copied automatically to user home directory
/etc/passwd file is updated with user information
/etc/group file is update with primary group information
Important files
/etc/passwd User Information
/etc/shadow User Passwords
/etc/group Group Information
/etc/gshadow Group Passwords
Creating Groups:
Group information is located/stored on /etc/group file.
# groupadd <group name> - Create a group with specified name
# usermod G <group name> <user name> - Add user to group
# gpasswd a ravi Administrators Adds the user ravi to the group
Administrators
# gpasswd A ravi Administrators give user ravi administrative rights to
the group
# gpasswd d ravi Administrators remove user ravi from the group
Administrators
# groupdel <group name> - Delete group name
# groupmod n <new group name> <old group name> - change group
name
# newgrp - <group name> - Login into the group if successful, re-
initializes the user environment