- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Account Locked message from PAM
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
Discussions
Discussions
Discussions
Forums
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
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
тАО02-03-2004 10:30 PM
тАО02-03-2004 10:30 PM
Account Locked message from PAM
We are using PAM authentification, but I cannot find anything in the man pages or forums about this. Any hints on how to get account lockouts reported into syslog?
Thanks, Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2004 01:28 AM
тАО02-05-2004 01:28 AM
Re: Account Locked message from PAM
I've been trying to do this kind of thing and on AIX the answer is:
To enable PAM debug output, follow these steps:
1. Create an empty file named ├в /etc/pam_debug├в . The PAM library checks for the existence of ├в /etc/pam_debug├в file. If found, it enables syslog output.
# touch /etc/pam_debug
2. Edit the ├в /etc/syslog.conf├в file to contain the appropriate entries for the desired levels of messages. To capture debug information for authentication calls, use auth.debug and send the output to a file. The following example line is in the ├в syslog.conf├в file that sends the authentication debug information to a file:
auth.debug /tmp/syslog_auth.log
3. Restart the syslogd daemon so that the configuration changes made in
├в /etc/syslogd.conf├в are recognized:
I think that this should work in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2004 01:30 AM
тАО02-05-2004 01:30 AM
Re: Account Locked message from PAM
Good luck,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2004 09:18 PM
тАО02-09-2004 09:18 PM
Re: Account Locked message from PAM
Thanks for the pointers. I changed the config but have still been enable to get "user locked" error messages. Thanks for your input.
Cheers, ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 12:09 AM
тАО02-17-2004 12:09 AM
Re: Account Locked message from PAM
Sorry for the delay, however I have found the following web pages that maybe of use:
http://archives.neohapsis.com/archives/pam-list/2000-12/0079.html
http://publib.boulder.ibm.com/tividd/td/ITAMOS/SC23-4828-00/en_US/HTML/PROBmst30.htm
The crux seems to be:
For example, to turn on all tracing for the auth module for the login application on HP-UX, edit the file /etc/lpm.conf and change from
login auth required /usr/lib/security/libpam_pdos.1
to
login auth required /usr/lib/security/libpam_pdos.1 0xffffffff
Edit the /etc/syslog.conf file and specify the location where the syslog daemon should write debug messages.
For example, to write trace output to the file /var/pdos/lpm.dbg, add the following line to /etc/syslog.conf:
*.debug /var/pdos/lpm.dbg
I hope this helps,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 01:19 AM
тАО02-17-2004 01:19 AM
Re: Account Locked message from PAM
You can enable debug option in /etc/pam.conf and configure your syslog.conf to receive debug messages. For ex., following is the entry in /etc/pam.conf
login auth required /usr/lib/security/libpam_unix.1 debug
The entry in syslog.conf would be
*.debug /var/adm/syslog/syslog.log
or modify it to wherever you want the debug information to go.
Restart syslogd daemon. YOu should see messages like
Feb 17 09:18:09 monalisa login: pam_acct_mgmt: error Account is disabled - see Account Administrator
One caveat is that it won't show the account that got disabled. :-(
-Sri