HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing Logging details for logins
Operating System - HP-UX
1833685
Members
3935
Online
110062
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
Go to solution
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
09-20-2006 08:28 AM
09-20-2006 08:28 AM
I was wondering if there was a way to increase the level of logging for logins? I have auth.debug in my syslog.conf but noticed that if I attempt to log into my box using a fake name it will log that event but it doesn't report how many times I tred entering the password. Same goes for telnet, if I can connect via telnet and sit there all day trying names and passwords (I have it set to lock an account after 3 bad passwords) but it only reports back once.
So if I telnet to this box and use a valid user with a bad password I get the following only once no matter how many times I try
login: pam_authenticate: error Authentication failed
If I try and use different names I get the following only once no matter how many times I pound at it in one connection attempt
login: pam_authenticate: error No account present for user
I haven't figured out why but sometimes I also get this but only once too.
login: pam_acct_mgmt: error No account present for user
How can I get telnet to report the user name like ssh does and how can I get it to log each time a bad password or bad username is used?
Lastb lists the attempts but not whether it was successful or not. I have auditing on for both Successful and Failed Events.
Thanks,
Nick
So if I telnet to this box and use a valid user with a bad password I get the following only once no matter how many times I try
login: pam_authenticate: error Authentication failed
If I try and use different names I get the following only once no matter how many times I pound at it in one connection attempt
login: pam_authenticate: error No account present for user
I haven't figured out why but sometimes I also get this but only once too.
login: pam_acct_mgmt: error No account present for user
How can I get telnet to report the user name like ssh does and how can I get it to log each time a bad password or bad username is used?
Lastb lists the attempts but not whether it was successful or not. I have auditing on for both Successful and Failed Events.
Thanks,
Nick
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 10:21 AM
09-20-2006 10:21 AM
Re: Increasing Logging details for logins
If you add the debug option for the pam_hpsec module in /etc/pam.conf, you get a little more information:
login auth required libpam_unix.so.1 debug
Sep 20 18:18:36 hostname login: unix pam_sm_authenticate(login baduser), flags = 0
login auth required libpam_unix.so.1 debug
Sep 20 18:18:36 hostname login: unix pam_sm_authenticate(login baduser), flags = 0
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2006 01:51 AM
09-21-2006 01:51 AM
Re: Increasing Logging details for logins
perfect thanks guys.
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