Compiling sudo on OSF1 tru64 V5.1 2650 alpha

Once you have all the Tru64 UNIX licenses in place, you want go multiuser. So add your users, groups etc and start worrying about elevating to root

A short howto on compiling and installing  sudo 1.7.10p9 ( current legacy release) on OSF1 tru64 V5.1 2650 alpha.

Download sudo 1.7.10p9 from

Upload the tar.gz via sftp to the VM

SSH to the VM as root and extract the gzipped tarball. Standard configure/make works out of the box.

# ./configure
# make 
# make install

When running make install I got errors such as these :

sample.*; do /bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 $f /usr/local/share/doc/sudo; done)
#(cd . && for f in README.LDAP schema.* sudoers2ldif; do /bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 $f /usr/local/share/doc/sudo; done)
/bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 ./ /usr/local/man/man8/sudo.8
/bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 ./ /usr/local/man/man8/sudoreplay.8
/bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 ./ /usr/local/man/man8/visudo.8
/bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 ./ /usr/local/man/man4/sudoers.4
#/bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 ./ /usr/local/man/man4/sudoers.ldap.4
#/bin/ksh: No such file or directory
*** Exit 1

Don’t want to dig in too deeply, we just need the sudo binary anyway … so copy the compiled sudo to /usr/local/sbin/ and set appropriate permissions

# cp sudo /usr/local/sbin 
# chmod +s /usr/local/sbin/sudo

Next edit the /etc/sudoers or create your users definition in /etc/sudoers.d/ to suite your needs.

Dont forget to include /usr/local/sbin in your users path







About astr0baby

Please run Adblock or similar... we have been told to do so since Carl Sagan wrote the Contact .
Gallery | This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.