Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 9, 2023 01:57 pm GMT

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:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To