OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Bugtraq archives for 1st quarter (Jan-Mar) 1995: /dev/kmem: Permission denied

/dev/kmem: Permission denied

Chris Bulle (C.M.BulleLaRC.NASA.GOV)
Tue, 31 Jan 1995 09:29:32 -0500

der Mouse writes:
> > When I run top or rsh into this or other machines, I get something
> > like:
> 
> > 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/mm0:kmem) are:
> 
> > crw-r-----   1 root     sys       13,  1 Oct 25 11:33 mm0:kmem
> > crw-r-----   1 root     sys       13,  0 Oct 25 11:33 mm0: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.

Under Solaris 2.3 and 2.4 the default group is sys.  Make sure top is
grouped sys as well.  If you took it off your SunOS, it's probably
not.

						Chris

                                Email: C.M.BulleLaRC.NASA.GOV
                                URL:   http://www.larc.nasa.gov/~chris/
                                Info:  whois -h larc.nasa.gov C.M.Bulle