Date: Mon, 17 Mar 1997 22:50:05 -0800 (PST) From: Mike Pritchard <mpp> To: freebsd-bugs Subject: Re: bin/3014: xload and "kmem" files Message-ID: <199703180650.WAA08396@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/3014; it has been noted by GNATS. From: Mike Pritchard <mpp> To: mrspock@esfm.ipn.mx Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/3014: xload and "kmem" files Date: Mon, 17 Mar 1997 22:44:17 -0800 (PST) mrspock@esfm.ipn.mx wrote: > >Synopsis: xload and "kmem" files > >Description: > Files "/dev/kmem", "/dev/drum", and "/dev/mem" must have reading > permission for anyone, otherwise "xload" will not work > >How-To-Repeat: > try to run: xload > >Fix: > Give the following command as root: > > chmod a+r /dev/kmem /dev/mem /dev/drum Giving the world read access to /dev/kemm and /dev/mem is a security problem. Xload probably needs to be setgid kmem, although since I don't use it, I'm not sure what the risks are in doing that. -- Mike Pritchard mpp@FreeBSD.org "Go that way. Really fast. If something gets in your way, turn"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703180650.WAA08396>