Obtain UID of a user and User Group information that the user is in
id <USER_NAME>
List All Users in the system
cut -d: -f1 /etc/passwd
Create user with administrative privileges
sudo useradd -m -G wheel <USERNAME>sudo passwd johndoe # Set the password for new usersudo usermod -aG <GROUPNAME> <USERNAME> # Add new user to other groups
Delete user
sudo userdel <USERNAME>
Terminologies
UID
Stands for User IDentification
A number that is assigned to each User by System Administrator