- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I bypass NUMBER_OF_LOGINS_ALLOWED on a ...
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
07-21-2010 08:46 AM
07-21-2010 08:46 AM
How do I bypass NUMBER_OF_LOGINS_ALLOWED on a per user basis?
I am in need of bypassing the /etc/default/security NUMBER_OF_LOGINS_ALLOWED parameter on a per user basis. The server platforms in play are HP-UX B.11.11, B.11.23, and B.11.31. The servers are in Trusted mode. It appears that the /etc/pam_user.conf file should be able to accomplish this. However, I do not seem to be able to get the syntax correct.
Here is what I have tried:
###############################################
/etc/pam_user.conf
USER_A auth libpam_hpsec.so.1 bypass_limit_login
USER_A account libpam_hpsec.so.1 bypass_limit_login
USER_A session libpam_hpsec.so.1 bypass_limit_login
USER_A password libpam_hpsec.so.1 bypass_limit_login
###############################################
But, this has not worked for me. I know that I can do it globally in the /etc/pam.conf, but I need it on a per user basis.
Thanks in advance for any and all help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010 08:57 AM
07-21-2010 08:57 AM
Re: How do I bypass NUMBER_OF_LOGINS_ALLOWED on a per user basis?
You might be able to put some code in /etc/profile or .profile to check all users and reject those not on the list if sessions exceed guidelines.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010 09:01 AM
07-21-2010 09:01 AM
Re: How do I bypass NUMBER_OF_LOGINS_ALLOWED on a per user basis?
sshd session required libpam_hpsec.so.1 bypass_limit_login
However, that would be the same as removing the entry from /etc/default/security.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 05:00 AM
07-22-2010 05:00 AM
Re: How do I bypass NUMBER_OF_LOGINS_ALLOWED on a per user basis?
Example:
login auth required libpam_hpsec.so.1
login auth required libpam_updbe.so.1
login auth sufficient libpam_krb5.so.1
login auth required libpam_unix.so.1 try_first_pass
login account required libpam_hpsec.so.1
login account required libpam_updbe.so.1
login account required libpam_authz.so.1
login account sufficient libpam_krb5.so.1
login account required libpam_unix.so.1
login session required libpam_hpsec.so.1
login session required libpam_updbe.so.1
login session sufficient libpam_krb5.so.1
login session required libpam_unix.so.1
login password required libpam_hpsec.so.1
login password required libpam_updbe.so.1
login password sufficient libpam_krb5.so.1
login password required libpam_unix.so.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 05:20 AM
07-22-2010 05:20 AM
Re: How do I bypass NUMBER_OF_LOGINS_ALLOWED on a per user basis?
If you require different authentication methods for different users, place the special entry libpam_udpbe ahead of the authentication modules in /etc/pam.conf
For more information Have a look at following:
http://docs.hp.com/en/B2355-90950/ch08s17.html
Regards,
Bhadresh