January 9, 2023 01:57 pm GMT
Original Link: https://dev.to/mrthaas/user-commands-of-linux-8kl
User commands of linux
sudo adduser username
To add a new user
sudo passwd -l 'username'
To change the password of a user
sudo userdel -r 'username'
To remove a newly created user
sudo usermod -a -G GROUPNAME USERNAME
To add a user to a group
sudo deluser USER GROUPNAME
To remove a user from a group
Original Link: https://dev.to/mrthaas/user-commands-of-linux-8kl
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To