LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudo account check (https://www.linuxquestions.org/questions/linux-newbie-8/sudo-account-check-4175421957/)

ajaybhutkar 08-14-2012 01:18 AM

sudo account check
 
Hi,
How to check wether user created in linux is having sudo rights

gajanant 08-14-2012 02:29 AM

check out by the foll commands..

1.grep root /etc/group

(To see if anyone can execute commands as root, check sudoers:)

2.cat /etc/sudoers

(To check for SUID bit, which allows programs to be executed with root privileges:)

find / -perm -04000

Habitual 08-16-2012 09:20 AM

man visudo ?


All times are GMT -5. The time now is 11:07 PM.