The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
htable + verification kamel.seg High Level Programming 0 06-17-2008 07:02 AM
Possible to give sudo access to subdirectories? LordJezo UNIX for Dummies Questions & Answers 3 03-26-2008 03:47 PM
secure access using sudo melanie_pfefer SUN Solaris 0 03-12-2008 04:11 AM
SSH login verification sriram003 Shell Programming and Scripting 4 03-26-2007 01:27 AM
verification? sheranjem UNIX for Dummies Questions & Answers 3 06-06-2005 02:08 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-09-2009
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 354
sudo access verification

Hi All,

I got lots of request with sudo, a manager request, verbal command, do this and do that.

The problem with this kind of request is when I added that script and that. It will not be perfect, it's because I can't verify the userid sudo access, I can't reset their password as well, I can't "sudo -l" when I "su - userid" to them.

Is there a file that I could see all these new sudo access list?

Thanks for any comment you may add.
  #2 (permalink)  
Old 09-09-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 740
You should be able to run:

Code:
$ sudo -l

having previously run:

Code:
# su - userid

Check that /etc/sudoers has the correct ownership and permissions, mine is owned by root:root is set to r--r-----.
Check that if the line in the sudoers(5) file you are allowing them to run something with starts with a group (e.g. line starts with: %groupname ) then the user is actually in that group, if you are specifying a particular user (e.g. line starts with userid ) then ensure that it has been entered correctly, for instance by running:

Code:
# getent passwd userid

and ensuring that you get a response.

Apart from that it would be a case of checking the syntax of the suoders line but visduo(8) does that for you?
  #3 (permalink)  
Old 09-10-2009
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 354
I got, I will put no password for the meantime while I'm checking and remove it when done so that I could do "sudo -l" on the user without asking for password.

Thanks ALL!
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0