Adding & deleting users.

970    Asked by Diyatomar in Devops , Asked on Jan 14, 2020
Answered by Ankur vaish

Adding or deleting any user in linux can be easily done via command line or via graphical UI from desktop.

From CLI below command can be executed for adding user.

# useradd

The above command will add a user “user_name” and create a home directory for this user.

 To delete user below command can be executed via CLI

# userdel

This will delete the user and is associated files/directories.



Your Answer

Interviews

Parent Categories