- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH, PAM and locked accounts
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
10-15-2003 05:03 AM
10-15-2003 05:03 AM
SSH, PAM and locked accounts
For several security programs reasons, I need to "lock" accounts via a "*" in the password field.
It works fine for login (telnet refused => good)
Meanwhile, I need to grant SSH access to those accounts (via RSA authentication).
The problem is there : PAM refuses to give a login session, as you can see in the error message below :
PAM rejected by account configuration[17]: User account has expired
How can I setup PAM to accept this kind of accounts ?
Thanks for your help,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 05:34 AM
10-15-2003 05:34 AM
Re: SSH, PAM and locked accounts
If however you use passwd -f, I think sshd will pick that up and force the user to change the password with the old password. If the user doesn't know what the old password is, the goal is achieved. If I understand the goal.
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
10-15-2003 08:42 AM
10-15-2003 08:42 AM
Re: SSH, PAM and locked accounts
External tools force me to lock accounts by entering a "*" in the password field
And... ssh access does not work in this case, because ssh authentication is delegated to PAM (once SSH stuff is OK), where SSH authentication is based on the same mechanism as telnet (which prevent access if account is locked by "*")
Any suggestion to achieve my objective ?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 08:49 AM
10-15-2003 08:49 AM
Re: SSH, PAM and locked accounts
If the external program you are talking about is the one doing '*' thing. Then you could just make a script to overright some were along the line :-).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 09:01 AM
10-15-2003 09:01 AM
Re: SSH, PAM and locked accounts
TCP Wrappers will allow you to select which users and/or systems can access the inetd services like "login", "rlogin", "remsh", etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 09:08 AM
10-15-2003 09:08 AM
Re: SSH, PAM and locked accounts
So I really need to find a way to get it work with SSH.
Note that I tried to lock the account with something like "AAA" in the password field, and everything is fine (telnet is out, SSH is OK). But I cannot leave this solution (because of other so-called "security" tools...:-(
=> so my question:
how can I get PAM authentication to accept access on locked account, once SSH authentication is OK ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 06:23 AM
08-09-2004 06:23 AM