- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help installing sudo
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
01-20-2006 08:03 AM
01-20-2006 08:03 AM
I'm having problems installing sudo on my hpux server.
Here's the server info
nhoignit# model
ia64 hp server rx1620
nhoignit# file /usr/local/bin/sudo
/usr/local/bin/sudo: ELF-32 executable object file - IA64
nhoignit#
I have looked at serveral post in the forum, but nothing seems to be working for me.
I downloaded these files.
sudo-1.6.8p9-ia64-11.23.depot.gz Binary
sudo-1.6.8p9-src-11.11.tar Source Code
I untarred and swinstalled sudo-1.6.8p9-src-11.11.tar wihtout errors, and it created the following.
catalog/INDEX, 699 bytes, 2 tape blocks
x catalog/dfiles/INDEX, 193 bytes, 1 tape blocks
x catalog/dfiles/INFO, 138 bytes, 1 tape blocks
x catalog/sudo/pfiles/INDEX, 348 bytes, 1 tape blocks
x catalog/sudo/pfiles/INFO, 138 bytes, 1 tape blocks
x catalog/sudo/sudo-RUN/INDEX, 158 bytes, 1 tape blocks
x catalog/sudo/sudo-RUN/INFO, 1864 bytes, 4 tape blocks
x sudo/sudo-RUN/usr/local/bin/sudo, 218140 bytes, 427 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/BUGS, 1162 bytes, 3 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/CHANGES, 66788 bytes, 131 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/HPUX.Install, 1831 bytes, 4 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/INSTALL, 29482 bytes, 58 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/LICENSE, 2810 bytes, 6 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/README, 3858 bytes, 8 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/TODO, 5466 bytes, 11 tape blocks
x sudo/sudo-RUN/usr/local/libexec/sudo_noexec.la, 792 bytes, 2 tape blocks
x sudo/sudo-RUN/usr/local/libexec/sudo_noexec.so, 5652 bytes, 12 tape blocks
x sudo/sudo-RUN/usr/local/man/man1m/sudo.1m, 25792 bytes, 51 tape blocks
x sudo/sudo-RUN/usr/local/man/man1m/visudo.1m, 12048 bytes, 24 tape blocks
x sudo/sudo-RUN/usr/local/man/man4/sudoers.4, 57537 bytes, 113 tape blocks
x sudo/sudo-RUN/usr/local/sbin/visudo, 141900 bytes, 278 tape blocks
After that I ran sudo, but it didn't work.
I then untarred the source code sudo-1.6.8p9-src-11.11.tar. Following the install instructions, I ran ./configure, which completed without error, but I did notice the following lines.
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... (cached) no
checking for cc option to accept ANSI C... none needed
After than, I ran MAKE (in lower case), and got the following errors;
cc -o sudo check.o env.o getspwuid.o gettime.o goodpath.o fileops.o find_path.o interfaces.o logging.o parse.
o set_perms.o sudo.o sudo_edit.o tgetpass.o zero_bytes.o sudo_auth.o passwd.o sudo.tab.o lex.yy.o alloc.o defaults.
o err.o utimes.o fnmatch.o strlcpy.o strlcat.o closefrom.o snprintf.o getprogname.o -lsec -lroken
ld: Can't find library or mismatched ABI for -lroken
Fatal error.
*** Error exit code 1
When I try to run sudo, I get these errors;
nhoignit# /usr/local/bin/sudo
/usr/lib/hpux32/dld.so: Unable to find library 'libroken.so'.
Killed
nhoignit#
nhoignit# /usr/local/bin/sudoedit
/usr/lib/hpux32/dld.so: Unable to find library 'libroken.so'.
Killed
nhoignit#
nhoignit# /usr/local/bin/visudo
sh: /usr/local/bin/visudo: not found.
nhoignit#
Thanks in advance for your help.
Gerald
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 10:17 AM
01-20-2006 10:17 AM
Re: Help installing sudo
Once you have untarred the tar file, you need to install it using the swinstall command.
say the untarring was done in /tmp/sudo, install the software using swinstall from that location.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 02:16 AM
01-23-2006 02:16 AM
Re: Help installing sudo
When I untarr the file, i get the following output.
catalog/INDEX, 699 bytes, 2 tape blocks
x catalog/dfiles/INDEX, 193 bytes, 1 tape blocks
x catalog/dfiles/INFO, 138 bytes, 1 tape blocks
x catalog/sudo/pfiles/INDEX, 348 bytes, 1 tape blocks
x catalog/sudo/pfiles/INFO, 138 bytes, 1 tape blocks
x catalog/sudo/sudo-RUN/INDEX, 158 bytes, 1 tape blocks
x catalog/sudo/sudo-RUN/INFO, 1864 bytes, 4 tape blocks
x sudo/sudo-RUN/usr/local/bin/sudo, 218140 bytes, 427 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/BUGS, 1162 bytes, 3 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/CHANGES, 66788 bytes, 131 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/HPUX.Install, 1831 bytes, 4 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/INSTALL, 29482 bytes, 58 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/LICENSE, 2810 bytes, 6 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/README, 3858 bytes, 8 tape blocks
x sudo/sudo-RUN/usr/local/doc/sudo/TODO, 5466 bytes, 11 tape blocks
x sudo/sudo-RUN/usr/local/libexec/sudo_noexec.la, 792 bytes, 2 tape blocks
x sudo/sudo-RUN/usr/local/libexec/sudo_noexec.so, 5652 bytes, 12 tape blocks
x sudo/sudo-RUN/usr/local/man/man1m/sudo.1m, 25792 bytes, 51 tape blocks
x sudo/sudo-RUN/usr/local/man/man1m/visudo.1m, 12048 bytes, 24 tape blocks
x sudo/sudo-RUN/usr/local/man/man4/sudoers.4, 57537 bytes, 113 tape blocks
x sudo/sudo-RUN/usr/local/sbin/visudo, 141900 bytes, 278 tape blocks
As far as I can tell from this output, there is no .depot sudo file to swinstall.
The only sudo file to swinstall is the actual file itself which is:
sudo-1.6.8p9-ia64-11.23.depot.gz
When I swinstall this file, it install with 100% success, and gives me the same output as above.
I then untarred the source code:
sudo-1.6.8p9-src-11.11.tar
It untarrs and creates the sudo directory:
sudo-1.6.8p9
I run ./configure, and it runs successfully.
When I run "make" I get the error:
ld: Can't find library or mismatched ABI for -lroken
Fatal error.
*** Error exit code 1
Do I just need the binary by itself, or both the binary and source code? Also, do I need to install and compile the GCC compiler?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 02:20 AM
01-23-2006 02:20 AM
Re: Help installing sudo
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 02:22 AM
01-23-2006 02:22 AM
SolutionIt is available from the Internet Express Suite:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 03:14 AM
01-23-2006 03:14 AM
Re: Help installing sudo
Thanks for answering my questions.
I downloded and installed HP's Internet Express version, and this worked. I now just have to configure the files.
Thanks a bunch everyone.
Gerald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 03:28 AM
01-23-2006 03:28 AM