Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 08:51 AM
тАО10-01-2009 08:51 AM
Sudo log
How can i set the sudo logging in HPUX 11.11
Right now i configured like this
more /etc/syslog.conf
# @(#) $Revision: 74.1 $
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
local2.debug /var/adm/syslog/sudo.log
But..when i am checking the sudo log its blank..Nothing get logged..
please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 08:56 AM
тАО10-01-2009 08:56 AM
Re: Sudo log
Also, you should check your sudoers file for log configuration. I thing you would have more luck there than in syslog.conf.
man sudoers
for information on logging settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 10:09 AM
тАО10-01-2009 10:09 AM
Re: Sudo log
sudo does log its own acitivies.
Putting it as part of syslog requires a trip to the RTFM center.
http://www.gratisoft.us/sudo/man/sudoers.html
Thats a good one.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2009 12:21 AM
тАО10-02-2009 12:21 AM
Re: Sudo log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2009 06:25 AM
тАО10-02-2009 06:25 AM
Re: Sudo log
Defaults logfile=/var/adm/syslog/sudo.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2009 06:51 AM
тАО10-02-2009 06:51 AM
Re: Sudo log
I didn the same u mentioned .. But still its not logging..
i loged in with my username and i did
#su -
then wheni am checking the /var/adm/syslog/sudo.log.
the file is empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2009 07:50 AM
тАО10-02-2009 07:50 AM
Re: Sudo log
>>then wheni am checking the /var/adm/syslog/sudo.log.
Well, the command above doesn't use sudo. You would have to execute something via 'sudo' to get sudo to log something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2009 03:12 PM
тАО10-02-2009 03:12 PM
Re: Sudo log
for example :
$ sudo dmesg
by the way, check man (1m) sudo
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2010 07:44 AM
тАО08-03-2010 07:44 AM