Latest LQ Deal: Latest LQ Deals
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 03-18-2010, 09:35 AM   #1
Registered: Feb 2003
Posts: 484

Rep: Reputation: 33
defaults for sudo

i have a cgi script that when called runs another script as a different user. yet when the script does run i keep getting a permission denied in the logs and the script fails

in the sudoers file-
Defaults env_reset
www-data ALL=(charly) NOPASSWD=ALL

for the full question-
when looking at /etc/sudoers there is the defaults line that you can add things to. when doing a sudo -L so that i can see what i can put on that defaults line.

can an individual user have specific defaults? ones that dont' effect the rest of the people in /etc/sudoers?
Old 03-18-2010, 09:41 AM   #2
Registered: Feb 2003
Posts: 484

Original Poster
Rep: Reputation: 33

Defaults:username !requiretty


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
LXer: The Ultimate Sudo FAQ To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 01:36 AM
Problem with SUDO : sudo: pam_authenticate: Module is unknown cristoph_ Linux - Software 2 03-02-2009 07:12 PM
sudo blkid vs. sudo fdisk -l problems alienexplorers Linux - Newbie 1 01-13-2009 12:35 AM
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
sudo not setting defaults brainlesspinkey Linux - Security 4 09-11-2005 11:34 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:19 AM.

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
Open Source Consulting | Domain Registration