Bugtraq mailing list archives

Re: /dev/kmem: Permission denied


From: matt () uts EDU AU (Jas)
Date: Wed, 1 Feb 1995 13:12:02 +1000 (EST)


der Mouse wrote this...

top: cannot open /dev/kmem: Permission denied
kvm_open: Permission denied

I'm worried I've been screwed.  Permissions on /dev/kmem (Which
points to /devices/pseudo/mm@0:kmem) are:

crw-r-----   1 root     sys       13,  1 Oct 25 11:33 mm@0:kmem
crw-r-----   1 root     sys       13,  0 Oct 25 11:33 mm@0:mem

/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.
crw-r-----  1 root     sys       13,   1 Oct 26 02:33 /dev/kmem

that is from a Solaris box.

                                Matt
-- 
Matthew Keenan   Systems Programmer   Information Technology Division
      University of Technology     Sydney Australia
email: matt () uts edu au   www: http://milliways.itd.uts.edu.au/~matt/
ph: +61 2 330 1390   fax: +61 2 330 1999   home: +61 2 416 5722

GCV 2.1 GAT/M/CS d--(-+) H-- s++:-- g+ p? !au a-(?) w+++ v+ C+++$
UVS++++$ P+>+++ L- 3+++ E-(++) N++ K W--- M+ V-- -po+(+) Y+ t+
!5>++ jx R+ G? !tv b+++ D++ B e+ u--(**) h- f+(*) r n- !y



Current thread: