We’ve created a new user, studenth, who has default permissions for a standard user.
Add him to the root group using usermod:
usermod –G root studenth
Options:
-r (remove home directory)
Example: To remove the user ‘roger’ and his home directory
userdel -r roger