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 https://www.sudo.ws/dist/sudo-1.7.10p9.tar.gz
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 ./sudo.man /usr/local/man/man8/sudo.8 /bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 ./sudoreplay.man /usr/local/man/man8/sudoreplay.8 /bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 ./visudo.man /usr/local/man/man8/visudo.8 /bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 ./sudoers.man /usr/local/man/man4/sudoers.4 #/bin/ksh ./install-sh -c -O 0 -G 0 -m 0644 ./sudoers.ldap.man /usr/local/man/man4/sudoers.ldap.4 #/bin/ksh: No such file or directory *** Exit 1 Stop.
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 ds
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