User management commands of linux

CommandDescription
sudo adduser usernameTo display value of a variable
sudo passwd -l 'username'Displays all environment variables
sudo userdel -r 'username'Create a new variable
sudo usermod -a -G GROUPNAME USERNAMERemove a variable
sudo deluser USER GROUPNAMETo set value of an environment variable
fingerGives information on all logged in user
finger usernameGives information of a particular user

Leave a Reply

Your email address will not be published. Required fields are marked *