HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: md5 hash is not recognized
Operating System - HP-UX
1829582
Members
1623
Online
109992
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
Forums
Discussions
Discussions
Discussions
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
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
04-14-2010 04:59 AM
04-14-2010 04:59 AM
Hi,
I installed sudo on my hp server. The OS version is 11v3.
The passwords are crypt with bsdmd5 algorithm instead of standard des in /etc/shadow file. I can easily log in to the system via ssh using that passwords. Then I decided to install sudo command as it is not installed by default (ixSudo A.14.00-1.7.2). Now the problem is that users are getting the password incorrect message when trying to type their passwords after invoking the command "sudo su -".
P.S.
for user whom password is in des format in /etc/shadow the "sudo su -" command works like a house on a fire.
thanks in advance
I installed sudo on my hp server. The OS version is 11v3.
The passwords are crypt with bsdmd5 algorithm instead of standard des in /etc/shadow file. I can easily log in to the system via ssh using that passwords. Then I decided to install sudo command as it is not installed by default (ixSudo A.14.00-1.7.2). Now the problem is that users are getting the password incorrect message when trying to type their passwords after invoking the command "sudo su -".
P.S.
for user whom password is in des format in /etc/shadow the "sudo su -" command works like a house on a fire.
thanks in advance
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2010 05:03 AM
04-14-2010 05:03 AM
Re: md5 hash is not recognized
Shalom,
Take a look at the sudoers file, the configuration for sudo.
There is also an md5 add in depot on http://software.hp.com that might help, though I thought this was part of the 11.31 base install.
What I think is probably happening is something incorrect in the basic sudo configuration for these users.
SEP
Take a look at the sudoers file, the configuration for sudo.
There is also an md5 add in depot on http://software.hp.com that might help, though I thought this was part of the 11.31 base install.
What I think is probably happening is something incorrect in the basic sudo configuration for these users.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
04-14-2010 05:52 AM
04-14-2010 05:52 AM
Solution
As far as I know, HP-UX does not support the bsdmd5 password hashing algorithm. Sad but true.
Your SSH probably has a built-in support for bsdmd5-hashed passwords, and you've configured your sshd to directly read the /etc/passwd and /etc/shadow instead of using the system's PAM libraries.
(HP SSH is a port of OpenSSH, whose "native" OS platform is OpenBSD... so the built-in BSDmd5 support is no surprise there.)
The only md5 depot on software.hp.com I know of is the "md5sum" tool, which only allows verifying the integrity of files using md5sums. It is not at all related to /etc/shadow and passwords. The depot also supplies the libcryptx library, to allow other programs to use the md5 algorithm... but no PAM libraries to make use of the algorithm in password hashing.
There is a depot called LongPassword available for HP-UX 11iv3 on software.hp.com. It adds the support for SHA512-hashed passwords. The algorithm identifier in the beginning of the hashed password strings will be "$6$".
So, up to and including HP-UX 11iv2, the only supported password hashing algorithms were the traditional DES-based Unix "crypt", and the HP-proprietary "bigcrypt" used in Trusted System Mode when the password length was increased beyond 8 characters.
In 11.31 there is now an option to use SHA512... if an additional package is installed. I hope this means other algorithms might be added in the future.
MK
Your SSH probably has a built-in support for bsdmd5-hashed passwords, and you've configured your sshd to directly read the /etc/passwd and /etc/shadow instead of using the system's PAM libraries.
(HP SSH is a port of OpenSSH, whose "native" OS platform is OpenBSD... so the built-in BSDmd5 support is no surprise there.)
The only md5 depot on software.hp.com I know of is the "md5sum" tool, which only allows verifying the integrity of files using md5sums. It is not at all related to /etc/shadow and passwords. The depot also supplies the libcryptx library, to allow other programs to use the md5 algorithm... but no PAM libraries to make use of the algorithm in password hashing.
There is a depot called LongPassword available for HP-UX 11iv3 on software.hp.com. It adds the support for SHA512-hashed passwords. The algorithm identifier in the beginning of the hashed password strings will be "$6$".
So, up to and including HP-UX 11iv2, the only supported password hashing algorithms were the traditional DES-based Unix "crypt", and the HP-proprietary "bigcrypt" used in Trusted System Mode when the password length was increased beyond 8 characters.
In 11.31 there is now an option to use SHA512... if an additional package is installed. I hope this means other algorithms might be added in the future.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2010 08:08 PM
04-14-2010 08:08 PM
Re: md5 hash is not recognized
Thanks a lot for quick responses.
So I decided to use SHA512 as HP-UX 11v3 does not support bsdmd5.
So I decided to use SHA512 as HP-UX 11v3 does not support bsdmd5.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP