LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-14-2012, 01:18 AM   #1
ajaybhutkar
LQ Newbie
 
Registered: Sep 2003
Location: India
Distribution: Red Hat 9
Posts: 1

Rep: Reputation: 0
sudo account check


Hi,
How to check wether user created in linux is having sudo rights
 
Old 08-14-2012, 02:29 AM   #2
gajanant
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Rep: Reputation: Disabled
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
 
Old 08-16-2012, 09:20 AM   #3
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,245
Blog Entries: 11

Rep: Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287
man visudo ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo account pardoxx Linux - Newbie 6 01-18-2012 02:13 AM
Prevent sudo su to locked or expired account? Linux_Kidd Linux - Security 12 10-18-2011 05:05 AM
howto log usage of shared account (root account) after `sudo su -` drManhattan Linux - Server 5 09-30-2011 07:48 AM
All parties in the matter of Sudo v. Root Account please rise... Kenny_Strawn Linux - General 64 04-20-2011 05:51 AM
Can't use sudo, only account that's not root is not a sudo'ers [Ubuntu 9.10] randyriver10 Linux - Desktop 1 01-09-2010 07:56 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration