Linux Users and Groups Management
Linux Users and Groups Management
Linux Users and Groups Management
GROUPS
MANAGEMENT
INTRODUCTION
• Creating a user with the UID: You can create a user with a custom UID
with the –u option, as follows:
• Syntax:
• Removing a user: Combining userdel with the –r option drop a user and the
home directory associated with that user, as shown below:
• Syntax:
• If you wish to add a password, then type gpasswd with the group name, as
follow: