HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sudo logging file
Operating System - HP-UX
1836428
Members
3246
Online
110100
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-09-2001 06:25 AM
04-09-2001 06:25 AM
sudo logging file
Hello,
I have installed the application sudo on HP 11.0. I have edited the sudoers file. Some accounts have sudo rights now. Where does the logging (by default) take place? What is the name of the log file? Or how can I setup the logging, so I can see what the sudo accounts are doing?
Thanks, Bye
Erwin
I have installed the application sudo on HP 11.0. I have edited the sudoers file. Some accounts have sudo rights now. Where does the logging (by default) take place? What is the name of the log file? Or how can I setup the logging, so I can see what the sudo accounts are doing?
Thanks, Bye
Erwin
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2001 06:45 AM
04-09-2001 06:45 AM
Re: sudo logging file
On my machine sudo activity is logged to /var/adm/syslog/syslog.log
I did not originally install sudo, so I am not sure if that is a standard set up or not.
I did not originally install sudo, so I am not sure if that is a standard set up or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2001 06:49 AM
04-09-2001 06:49 AM
Re: sudo logging file
/var/adm/syslog/syslog.log is correct, but you can also change it so it has it's own log, this is how I do it on 10.20:
#visudo
# Override builtin defaults
Defaults syslog=auth
Defaults logfile=/var/adm/syslog/sudo.log
This will create a sudo log for you if it hasn't been created.
#visudo
# Override builtin defaults
Defaults syslog=auth
Defaults logfile=/var/adm/syslog/sudo.log
This will create a sudo log for you if it hasn't been created.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP