- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh and password expiration notices
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
11-02-2005 10:59 AM
11-02-2005 10:59 AM
HP-UX 11.11 with June 2005 Gold patches
HP-UX Secure Shell-A.04.10.002
Trusted Security is enabled.
When I telnet to the server, I get password expiration messages. For example:
telnet myserver
login: testuser
Password:
Last successful login for testuser: Wed Nov 2 18:20:15 EST5EDT 2005 on pts/ta
Last unsuccessful login for testuser: Wed Nov 2 12:14:09 EST5EDT 2005
Your password will expire on Wed Nov 2 21:15:15 EST5EDT 2005
==============================================================
When I use ssh with the following sshd_config configuration options, I don't receive expiration notices:
PasswordAuthentication yes
ChallengeResponseAuthentication no
UsePAM yes
ssh myserver
testuser@myserver's password:
Last login: Wed Nov 2 18:20:31 2005 from myserver
=============================================
PasswordAuthentication no
ChallengeResponseAuthentication yes
UsePAM yes
testuser@myserver's password:
Last login: Wed Nov 2 18:20:31 2005 from myserver
============================================
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM yes
ssh myserver
Permission denied (publickey)
============================================
PasswordAuthentication no
ChallengeResponseAuthentication yes
UsePAM no
ssh myserver
Permission denied (publickey,keyboard-interactive)
==================================================
If I disable PAM, then I do get a slightly different password expiration notice, but I can't logon to accounts that have passwords greater than 8 characters.
PasswordAuthentication yes
ChallengeResponseAuthentication no
UsePAM no
ssh myserver
Your password will expire in 1 day.
Last login: Wed Nov 2 18:28:45 2005 from myserver
==================================================
So, is there some other configuration scenario that will provide secure shell logins with similar information as telnet?
(As a workaround I'm using a cron script to notify users, as per examples in earlier threads).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 12:25 PM
11-02-2005 12:25 PM
Re: ssh and password expiration notices
I'm not going to tell you I understand how to do it, but there may be clues here.
http://lists.samba.org/archive/samba/2001-February/024891.html
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
11-02-2005 02:22 PM
11-02-2005 02:22 PM
Re: ssh and password expiration notices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 05:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 11:13 PM
11-02-2005 11:13 PM
Re: ssh and password expiration notices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 11:39 PM
11-02-2005 11:39 PM
Re: ssh and password expiration notices
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 12:09 AM
11-03-2005 12:09 AM
Re: ssh and password expiration notices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 11:03 AM
11-04-2005 11:03 AM