Users & Groups
If for some reason, you wish to enable the root account, simply give it a password:
~ sudo passwd
To disable the root account password, use the following passwd syntax:
~ sudo passwd -l root
Adding and Deleting Users
~ sudo adduser username
~ sudo deluser username
You 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 username
To 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