- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH to expired passwords
Operating System - HP-UX
1748112
Members
3530
Online
108758
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
Discussions
Discussions
Forums
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
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-12-2003 05:07 AM
тАО09-12-2003 05:07 AM
Trying to connect to an HP-UX 11.00 server running Secure shell 3.50
When I try to connect via SSH to a server with an expired account name, All I get is a message:
2068: Permission denied, please try again.
This meessage says nothing about a password or account being disabled. Very confusing to the users.
The FDIC a.k.a. Big Brother, make that
'Bigger Brother' has asked us to shut down telnet and ftp in lieu of ssh.
Any ideas? We are currently writing scripts that will parse the /tcb files for upcoming expirations, but would also like to have the server notify the user as in telnet.
When I try to connect via SSH to a server with an expired account name, All I get is a message:
2068: Permission denied, please try again.
This meessage says nothing about a password or account being disabled. Very confusing to the users.
The FDIC a.k.a. Big Brother, make that
'Bigger Brother' has asked us to shut down telnet and ftp in lieu of ssh.
Any ideas? We are currently writing scripts that will parse the /tcb files for upcoming expirations, but would also like to have the server notify the user as in telnet.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2003 05:25 AM
тАО09-12-2003 05:25 AM
Re: SSH to expired passwords
If you are using HP-UX ssh, then I don't think that is possible.
But if you ca nuse openssh and install it after compilation, then you can check error file that is used and modify the messages accordingly.
But if you ca nuse openssh and install it after compilation, then you can check error file that is used and modify the messages accordingly.
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 07:32 AM
тАО06-04-2004 07:32 AM
Solution
Not sure if you still care, but you are better off using getprpw(1m) rather than parsing the /tcb structure. one of the benefits of this would be that it automatically converts time information into days, rather than seconds, which is the format that you'll see in /tcb. also, if you parse the files, and the format is not what you expect or changes due to some upgrade or patch, the command should work, but you may have to update your script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 07:36 AM
тАО06-04-2004 07:36 AM
Re: SSH to expired passwords
Hi,
You didn't mention about which version you are running. I mean HP's, some other vendor's or your own compiled version.
I believe HP's version supports password expiry but I haven't played with it.
openssh source code doesn't contain password expiry implementation. A patch has to be installed for the source code and then compile it to make it work. Look at the following URL
http://www.zip.com.au/~dtucker/openssh/
-Sri
You didn't mention about which version you are running. I mean HP's, some other vendor's or your own compiled version.
I believe HP's version supports password expiry but I haven't played with it.
openssh source code doesn't contain password expiry implementation. A patch has to be installed for the source code and then compile it to make it work. Look at the following URL
http://www.zip.com.au/~dtucker/openssh/
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP