- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sudo log fle
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
Forums
Discussions
Discussions
Discussions
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
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
11-03-2005 07:46 PM
11-03-2005 07:46 PM
sudo log fle
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 07:53 PM
11-03-2005 07:53 PM
Re: sudo log fle
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 07:54 PM
11-03-2005 07:54 PM
Re: sudo log fle
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=967183
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 08:06 PM
11-03-2005 08:06 PM
Re: sudo log fle
Defaults syslog = auth
Defaults log_year,log_host,logfile=/var/adm/sudo.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 08:26 PM
11-03-2005 08:26 PM
Re: sudo log fle
http://www.courtesan.com/sudo/man/sudoers.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 01:04 AM
11-04-2005 01:04 AM
Re: sudo log fle
sudo log resides in /var/log/
And its name is sudo.log
--------------
# cd /var/log
# ls -l
total 240
-rw-r--r-- 1 root sys 107916 Nov 4 09:02 sudo.log
root@norsapa2 [/var/log]
Also it makes entry in syslog.log whenever someone use sudo.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 01:37 AM
11-04-2005 01:37 AM
Re: sudo log fle
If the depot format. /var/adm/syslog/sudo.log
Can make entry in sudoers file;
Defaults !syslog
Defaults logfile=/var/adm/sudo.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 02:24 AM
11-04-2005 02:24 AM
Re: sudo log fle
There is no seperate log file for sudo. By default everything is logged to syslog.log only. Allthough you can log it seperately, unless done , the default file is sused.
Extract from "man sudoers"
===========================
logfile Path to the sudo log file (not the syslog log file).Setting a path turns on logging to a file; negating this option turns it off.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 05:00 AM
11-04-2005 05:00 AM
Re: sudo log fle
view the /etc/suoders file and check for sudo Defaults logfile=/var/adm/sudolog/sudo.log entry. This is the location where the sudo log is saved.
regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 05:07 AM
11-04-2005 05:07 AM
Re: sudo log fle
Try this , this will tell you where is the sudo log file.
# find / -name sudo.log -print
Cheers,
Raj.