Minh Phượng
New member
How do I know if I have sudo access?
Answer
To know whether a particular user is having sudo access or not, we
can use -l and -U options together
. For example, If the user has sudo access, it will print the level of sudo access for that particular user. If the user don’t have sudo access, it will print that user is not allowed to run sudo on localhost.
Answer
To know whether a particular user is having sudo access or not, we
can use -l and -U options together
. For example, If the user has sudo access, it will print the level of sudo access for that particular user. If the user don’t have sudo access, it will print that user is not allowed to run sudo on localhost.