Users & Groups
If for some reason, you wish to enable the root account, simply give it a password:
~ sudo passwdTo disable the root account password, use the following passwd syntax:
~ sudo passwd -l rootAdding and Deleting Users
~ sudo adduser username~ sudo deluser usernameYou may want to change these UID/GID values to something more appropriate, such as the root account, and perhaps even relocate the folder to avoid future conflicts:
sudo chown -R root: root / home/username/
sudo mkdir /home/archived_users/
sudo mv /home/username /home/archived_users/To temporarily lock or unlock a user password, use the following syntax, respectively:
sudo passwd -l username
sudo passwd -u usernameTo add or delete a personalized group, use the following syntax, respectively:
sudo addgroup groupname
sudo delgroup groupname
### Adding users into the group
sudo adduser username groupname
sudo deluser username groupname