- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh login only accepting 8 character passwords...
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-10-2005 08:26 PM
тАО02-10-2005 08:26 PM
ssh login only accepting 8 character passwords.
Has anyone come across this before. I recently upgraded to HPUX Secure Shell 3.91. Since the upgrade, I cannot use a password of greater that 8 characters, when attempting an ssh login using Unix password authentications (i.e. not key-pair authentication). Please see following for example:
As root:
# useradd -m testac
# passwd testac
enter password greater that 8 characters ..
As user fred:
$ su - testac
enter password and login is successful
$ exit
$ ssh testac@localhost
enter same password which worked above, and get permission denied.
If the whole exercise above is repeated, but a password of 8 characters in length is created, the "ssh testac@localhost" works fine.
This is a trusted system. I have been all through the trusted parameters, and there is nothing amiss. The u_maxlen is set to 20. Also, interestingly, the failed ssh logins do not register in /tcb/files/auth/t/testac as failed logins.
Any help much appreciated...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2005 08:53 PM
тАО02-10-2005 08:53 PM
Re: ssh login only accepting 8 character passwords.
have you tried run the ssh with debug mode?
Also what is the error message you got?
Have a look at thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1108115209430+28353475&threadId=679278
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2005 10:53 PM
тАО02-10-2005 10:53 PM
Re: ssh login only accepting 8 character passwords.
Can I suggest using max 8 char passwords?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2005 11:12 PM
тАО02-10-2005 11:12 PM
Re: ssh login only accepting 8 character passwords.
Have a try - use
verylongpassword as a passwort and try logging in while typing verlongpassworD - I'm afraid it'll work.
IIRC this is a NIS compatibility limitation, which nowadays would be unneccesary as NIS+ supports longer passwords. But noone uses NIS+ for it's only 10 years old, so the limit is still there. ;)
I am not sure, but I feel this could go away when enabling shadow passwords or Trusted System mode, but I never cross-checked it.
Maybe check the pwconv man page on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2005 02:57 AM
тАО02-11-2005 02:57 AM
Re: ssh login only accepting 8 character passwords.
UsePAM yes
After making the change and restartring sshd, things worked fine.
Hope it helps.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2005 03:02 AM
тАО02-11-2005 03:02 AM
Re: ssh login only accepting 8 character passwords.
This is an OS-level issue - not SSH.
IF the > 8 PWs were in use before conversion to Trusted - *only* the first 8 chars were converted & encrypted.
They can continue to use the old PW = BUT *only* the first 8 chars because the system evals *all* the chars & adding the extra chars will cause a decrypt failure.
Of course, the real solution is to change the PWs to <= 8 chars.
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2005 03:12 AM
тАО02-11-2005 03:12 AM
Re: ssh login only accepting 8 character passwords.
My system is trusted and we allow up to 40 character passwords.
We get around this annoying issue by enforcing password complexity with an /etc/default/security file.
I am attaching mine as an example.
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
тАО02-13-2005 08:40 PM
тАО02-13-2005 08:40 PM
Re: ssh login only accepting 8 character passwords.
Paul.