- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How does one enable long password on HP-UX 11....
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
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
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-05-2014 06:10 AM
02-05-2014 06:10 AM
How does one enable long password on HP-UX 11.31
Hi
I have installed PHI & Longpassword on 11.31.
# LongPass11i3 B.11.31.01 HP-UX 11.31 LongPass11i3 Bundle
# LongPass11i3.LongPassword11i3 B.11.31.01 HP-UX 11.31 LongPassword11i3 Product
LongPass11i3.LongPassword11i3.LP-CONF B.11.31.01 LongPassword11i3 Configuration Files
# PHI11i3 B.11.31.02 HP-UX 11.31 Password Hashing Infrastructure
# PHI11i3.SHA11i3 B.11.31.02 HP-UX 11.31 SHA11i3 Product
# PHI11i3.SHA11i3.Manuals Manual Pages and Documentation
PHI11i3.SHA11i3.Manuals.SHA-ENG-A-MAN B.11.31.02 SHA11i3 English Manpages
PHI11i3.SHA11i3.SHA-CONF B.11.31.02 SHA11i3 Configuration Files
I have done a pwconv -v /etc/passwd, /etc/shadow exists.
My /etc/default/security file reads:
LONG_PASSWORD=1
DISPLAY_LAST_LOGIN=0
INACTIVITY_MAXDAYS=65
AUTH_MAXTRIES=8
PASSWORD_HISTORY_DEPTH=12
PASSWORD_MAXDAYS=180
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
NUMBER_OF_LOGINS_ALLOWED=8
PASSWORD_MINDAYS=7
ABORT_LOGIN_ON_MISSING_HOMEDIR=1
ALLOW_NULL_PASSWORD=0
PASSWORD_MIN_SPECIAL_CHARS=1
PASSWORD_WARNDAYS=3
CRYPT_ALGORITHMS_DEPRECATE=__unix__
CRYPT_DEFAULT=6
I have set myself a 12 character password, yet when I still log in, I can still log in with the first 8 characters.
I have since rebooted, to no affect (I wouldn't expect there to be).
Any ideas Gurus?
Tariq
- Tags:
- long passwords
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2014 07:22 AM
02-05-2014 07:22 AM
Re: How does one enable long password on HP-UX 11.31
Enabling long passwords does not change existing passwords. Once you reboot, you can then change the password to a longer one and it should work OK. The extra characters after 8 were silently ignored when originally setting the password without LongPasswords setup.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2014 07:47 AM
02-05-2014 07:47 AM
Re: How does one enable long password on HP-UX 11.31
HI
Since the installation and reboot, I have atempted to reset my password. I do successfully do so, but when I log in, I get access denied.
My password meets these criteria:
1 upper case character(s),
1 lower case character(s),
1 digit(s), and
1 special character(s).
So, why can't I login with a password that meets these?
Regards
Tariq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2014 12:33 PM
02-05-2014 12:33 PM
Re: How does one enable long password on HP-UX 11.31
The password requirements are only used when you create a new password. If your new password fails the criteria, then the current password will not be changed. If you changed the password after you rebooted, then the new password will work OK.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2014 07:42 AM
02-07-2014 07:42 AM
Re: How does one enable long password on HP-UX 11.31
Hi
Strange things are happening.
Upon resetting my password to fulfil the criteria, I can get in through telner but access is denied through SSH with the same pw.
Any ideas anyone?
Regards
Tariq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2014 08:05 AM
02-08-2014 08:05 AM
Re: How does one enable long password on HP-UX 11.31
Check syslog.log to see what sshd is reporting concerning this user. I am assuming that this is *NOT* the root user that is failing. If it is root, then the default for sshd is to not allow root logins.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2014 06:37 AM
02-10-2014 06:37 AM
Re: How does one enable long password on HP-UX 11.31
Hi Bill
Feb 7 15:29:13 servername sshd[18822]: Failed password for thasan from xxx.xxx.xxx.xxx port nnnnn ssh2
This message appears repeatedly, even whilst using the same password that allowed me, thasan, to access via telnet.
We used putty for telnet and ssh connections.
Regards
Tariq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2014 01:56 AM
02-11-2014 01:56 AM
Re: How does one enable long password on HP-UX 11.31
What is the state of the UsePAM option in your sshd configuration file (typically /opt/ssh/etc/sshd_config)?
What is your HP-UX SSH version?
From the installation requirements of the PHI11iv3 package:
To use HP-UX PHI11i3 with SSH, you must install HP-UX Secure Shell A.05.00.26 or later from Software Depot, http://software.hp.com . Also, you must set "UsePAM yes" in /etc/opt/ssh/sshd_config .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2014 04:27 AM
02-11-2014 04:27 AM
Re: How does one enable long password on HP-UX 11.31
Matti
Thanks
I set the UsePAM to 'yes'
and it now works.
Regards & thanks for your help.
Tariq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2019 05:11 PM
03-21-2019 05:11 PM
Re: How does one enable long password on HP-UX 11.31
In my experience, the most effective way to debug ssh logins is to run sshd in debug mode. One way to do this is to change the LogLevel parameter in sshd_config to DEBUG. All kinds of things can go wrong with ssh connectons, and luckily the debug output gives you good explanations of what is going on.