- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to log successful/unsuccessful access to the r...
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
09-03-2009 08:54 AM
09-03-2009 08:54 AM
how to log successful/unsuccessful access to the root in syslog.log
I have a trusted system where system does not log unsuccessful login attempts to root.
I did not find anything in sam to set it up.
My /etc/syslog.conf has the following line:
auth.debug
still failed attempts to login to root does not show up.
Any suggestions?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2009 09:03 AM
09-03-2009 09:03 AM
Re: how to log successful/unsuccessful access to the root in syslog.log
lastb root
can you get it that way ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2009 09:12 AM
09-03-2009 09:12 AM
Re: how to log successful/unsuccessful access to the root in syslog.log
You need to enable bad-login auditing by creating '/var/adm/btmp'. Touch the file to create it. Set its permissions to be readable and writeable ONLY by 'root'.
You should also look at '/var/adm/sulog' for sucessful and unsuccessful 'su' attempts to root.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2009 11:37 AM
09-03-2009 11:37 AM
Re: how to log successful/unsuccessful access to the root in syslog.log
last and lastb gives the successful and unsuccessful logins .
both are generated by
last---/var/adm/wtmp Login database
lastb--/var/adm/btmp bad login database
for your unsuccessful logins of root user try
lastb -R root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2009 11:41 AM
09-03-2009 11:41 AM
Re: how to log successful/unsuccessful access to the root in syslog.log
I was trying to channel failed login messages to syslog.log by changing config. Thanks for your helpful input.
Regards,