Bugtraq mailing list archives

Re: /dev/kmem: Permission denied


From: casper () fwi uva nl (Casper Dik)
Date: Tue, 31 Jan 1995 23:41:00 +0100


/dev/mem and /dev/kmem are normally group kmem, not group sys.  At
least on any system I've ever looked at, which I mercifully has not
included Solaris yet.

In Solaris 2.x they are owned by group sys.

Check the permissions on (say) top; if it's setgid kmem, then kmem/mem
will have to be group kmem, or else world read, for it to work.  Check
your backups and see what group owned them there.

Top needs to be set-uid root on a non-nosuid mounted fs.

Casper



Current thread: