- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need a sudo for hpux 10.20 and 11.0
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
12-19-2005 08:00 AM
12-19-2005 08:00 AM
Can someone point me to an older version of sudo that will work on 10.20 and/or 11.00 ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:09 AM
12-19-2005 08:09 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:10 AM
12-19-2005 08:10 AM
Re: Need a sudo for hpux 10.20 and 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:11 AM
12-19-2005 08:11 AM
Re: Need a sudo for hpux 10.20 and 11.0
http://www.sudo.ws/sudo/dist/binaries/
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:17 AM
12-19-2005 08:17 AM
Re: Need a sudo for hpux 10.20 and 11.0
Of course, if you walk down the dependency tree, you also need make and gcc, and gcc then has about 10 other dependencies, none of which have binaries for 10.20. Ouch.
According to http://www.courtesan.com/sudo/runson.html (SUDO homepage), it looks like you can build the code from there with the bundled C compiler, so you may want to try that.
If you're not fond of building source, then I think this gives you the perfect excuse to tell management that they need to upgrade these boxes! You're probably paying more to keep them powered up and under support then it would cost to upgrade to a new system to replace them!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:19 AM
12-19-2005 08:19 AM
Re: Need a sudo for hpux 10.20 and 11.0
There will be some differences in the format of the sudolog file but functionally they work the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:35 AM
12-19-2005 08:35 AM
Re: Need a sudo for hpux 10.20 and 11.0
Passwords that are 8 characters or less are stored as a 13 bit hash. Passwords that are more than 8 characters are stored in a bigger hash (like 24 bits or something). Sudo uses the crypt() function to encrypt the password, then compares it to the stored password. Now the problem is that crypt() will only return a 13 bit hash no matter how big your password is. So if the password is greater than 8 characters, the password you enter into sudo and the password that is stored in the tcb database will never compare correctly. This will result in a "Sorry, try again" even though you are entering the correct password when you run sudo.
To fix this, you will have to modify auth/passwd.c in the source tree, and change the crypt() system call to bigcrypt(). Make this change, then compile and you're good to go. Note that I only had this issue with 11.00, 11.11 and 11.23 (not 10.20).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 05:02 PM
12-19-2005 05:02 PM
Re: Need a sudo for hpux 10.20 and 11.0
http://hpux.connect.org.uk/ftp/hpux/Sysadmin/sudo-1.6.8p9/sudo-1.6.8p9-src-11.11.tar.gz
I think it is applicale to 10.20 and 11.00 too.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 05:09 PM
12-19-2005 05:09 PM
Re: Need a sudo for hpux 10.20 and 11.0
I believe, you can download the source from http://www.courtesan.com/sudo/dist/sudo-1.6.8p12.tar.gz and compile it on your own.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 05:41 PM
12-19-2005 05:41 PM
Re: Need a sudo for hpux 10.20 and 11.0
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=983135