Virgo Logbook
UTC--:--:--
GPS-
Reports
Electronics and Software›Software Installation and Test #550

(untitled)

sudo on the RIOs

I encountered one problem in the compilation step, due to the
fact that the constant LONG_LONG_MAX is defined, but defined as
another constant __LONG_LONG_MAX__ which is not defined itself.

As for the link step, a few entries were not found, such as
the ones regarding syslog and inet_addr. I had to add -lbsd
in the LIBS macro of the Makefile.
Another problem was with the "crypt" function, but Stefano gave
me a library (ufc-crypt) which worked.

The first bad news was that I could not share the same
directories as on the Alphas (due to the fact that /usr/local/
is NOT NFS-mounted). As moreover the /usr/local is on the /rootfs
is mounted read-only, I had to copy the sudo executable to
the right place on ginger.
The good news is that the directory name and the file names are
the same as on OSF1.
So the same script in /usr/local/bin worked.

The other bad news was that I could not share the same sudoers
file for the same reason and that, moreover, I could not use
the +virgo NIS trick as the RIOs do not know about NIS.
So I listed explicitly the RIOS in the sudoers file.