HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Enable auditing subsystem with HP-UX Secure Shell
Operating System - HP-UX
1832308
Members
2483
Online
110041
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
11-30-2004 12:56 PM
11-30-2004 12:56 PM
Enable auditing subsystem with HP-UX Secure Shell
HP-UX Secure Shell (and OpenSSH) do not use the login() call by default, and login() is used by the auditing subsystem on trusted systems to activate auditing for a particular user. I opened a call about this a while ago and HP didn't seem eager to make HP-UX Secure Shell self-auditing.
Enabling useLogin brings some other problems which I don't remember; I think one of them is X11 forwarding that no longer works.
Since auditing was required at my company, I developed an external patch named 'audenable' to circumvent this, it is a setuid binary that enables auditing and forks a new shell. I seems to work well for me.
If you are interested, I posted the source here:
http://www.mayoxide.com/audenable
As I'm not a pro C programmer, any comment on securing the code further is welcome.
Thanks
Enabling useLogin brings some other problems which I don't remember; I think one of them is X11 forwarding that no longer works.
Since auditing was required at my company, I developed an external patch named 'audenable' to circumvent this, it is a setuid binary that enables auditing and forks a new shell. I seems to work well for me.
If you are interested, I posted the source here:
http://www.mayoxide.com/audenable
As I'm not a pro C programmer, any comment on securing the code further is welcome.
Thanks
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