LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 11-22-2006, 03:42 AM   #1
ryzor
LQ Newbie
 
Registered: Mar 2006
Posts: 16

Rep: Reputation: 0
sudo not logged in /var/log/messages


Hi All,

i have the following entry in my /etc/sudoers file

%wasadmins ALL=ALL

but when one of the users belonging to %wasadmins group logs in and performing a sudo _commandname_ - i don't get any sudo entry in /var/log/messages

by the way how do i give permision for %wasadmins to be able to perform ALL commands in the /opt/Programs - directory ... i tried %wasadmins ALL=/opt/Programs and it did not work.

i'm using Suse Linux Enterprise Server 10.

regards
ryzor.
 
Old 11-22-2006, 10:24 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
sudo logs with facility local2 by default. You check syslog.conf to see where that's going. You can change the facility with a 'syslog' line in sudoers or even log to a file with a 'logfile' line.

Regarding your other question, you can put %wasadmins ALL=/opt/Programs/ (note the trailing slash) or %wasadmins ALL=/opt/Programs/* but, this will only allow you to execute programs in /opt/Programs, not any of its subdirectories.
 
  


Reply



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
Repeating messages in /var/log/messages skubik Linux - General 2 12-23-2005 03:47 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 04:03 PM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:13 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
Open Source Consulting | Domain Registration