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 …


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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » User commands of linux." tShan | Sciencx - Monday January 9, 2023, https://www.scien.cx/2023/01/09/user-commands-of-linux/
HARVARD
tShan | Sciencx Monday January 9, 2023 » User commands of linux., viewed ,<https://www.scien.cx/2023/01/09/user-commands-of-linux/>
VANCOUVER
tShan | Sciencx - » User commands of linux. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/01/09/user-commands-of-linux/
CHICAGO
" » User commands of linux." tShan | Sciencx - Accessed . https://www.scien.cx/2023/01/09/user-commands-of-linux/
IEEE
" » User commands of linux." tShan | Sciencx [Online]. Available: https://www.scien.cx/2023/01/09/user-commands-of-linux/. [Accessed: ]
rf:citation
» User commands of linux | tShan | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.