PROBLEM: I want to add see if a user in ubuntu linux is an administrator.
SOLUTIONS:
Set Admin:
adduser <username > sudo
View Admins:
sudo apt-get install members
members --all <sudo >
Check if Specific User is an Admin:
groups <user >
if "sudo" shows up, this user is an admin
- Ultimate Administrator in Linux = root
- Administrator Group in Linux = sudo
SOLUTIONS:
Set Admin:
adduser <username
View Admins:
sudo apt-get install members
members --all
Check if Specific User is an Admin:
groups <user
if "sudo" shows up, this user is an admin