Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 11-20-2011, 11:01 PM   #1
LQ Newbie
Registered: Jul 2006
Posts: 6

Rep: Reputation: 0
sudoers configuration

I have two scripts:

1. owned by secure:users - returns a DB password.
2. owned by alice:users - calls getPwd and uses the password returned to connect to a DB

I want to set up sudo so that :

1. only user alice can call
2. no password required by user alice to execute

Please assist in editing the sudoers file.
Old 11-21-2011, 04:34 PM   #2
Registered: Mar 2010
Distribution: Arch
Posts: 211

Rep: Reputation: 67
Nothing can prevent the root user running any command, nor user 'secure' running the command.

The sudoers man page can be daunting, but the examples section should be very helpful. See what you can make of it, then if you still can't make it work post what you tried that doesn't work and why you think it should work.


sudo, sudoers

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
sudoers configuration problem xcoldfyrex Linux - Software 10 06-09-2010 04:47 AM
sudoers file configuration torrent55 Debian 2 11-04-2008 03:10 AM
Create two entries for the sudoers configuration file - help! SheMoves Linux - Newbie 1 06-23-2008 01:30 PM
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 05:03 PM
Entries for sudoers configuration file Hikito Linux - Newbie 5 09-17-2004 12:42 PM > Forums > Linux Forums > Linux - Security

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

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