On Mac OSX or any other unix flavor, you can find if a user has root access i.e superuser privileges or not. Open terminal and type the following
Eg:
sudo -l -U ironcladWriter
where the -U switch stands for user name.
If you have root access, you will see the following in the output :
User ironcladWriter may run the following commands on this host:
(ALL) ALL
If by any chance, you don't know your username, type the following in Terminal :
whoami
Eg:
sudo -l -U ironcladWriter
where the -U switch stands for user name.
If you have root access, you will see the following in the output :
User ironcladWriter may run the following commands on this host:
(ALL) ALL
whoami
No comments:
Post a Comment