xload: restricted operation on file system

Ken A. Nishimura kennish at janus.Berkeley.EDU
Sat Aug 26 06:21:44 AEST 1989


In article <714 at larry.sal.wisc.edu> jwp at larry.sal.wisc.edu (Jeffrey W Percival) writes:
>We have a flock of Ultrix vaxes and workstations, and I
>like to have a few "xload" displays on my workstation
>screen.  I do a "rsh foo xload ..." for each CPU I want to look at.
>Most work fine, but one comes back with "restricted operation
>on file system".
>
>What causes this message, and how do I fix it?
>-- 
xload reads /dev/kmem to get the load average figures.  On many
machines, /dev/kmem is not readable by the average user for
security reasons.  As such, xload is usually setgid "kmem" and
/dev/kmem is chgrp'ed to kmem and made group readable.  Now,
if the xload binary is NFS mounted and the nosuid flag is set,
then you will get the above message.  Also, if anyone other than
root mounts a filesystem, the nosuid flag is automatically set.

				-ken



More information about the Comp.unix.ultrix mailing list