This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by tShan
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
This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by tShan
tShan | Sciencx (2023-01-09T13:57:34+00:00) User commands of linux. Retrieved from https://www.scien.cx/2023/01/09/user-commands-of-linux/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.