[866] in bugtraq

home help back first fref pref prev next nref lref last post

Re: /dev/kmem: Permission denied

daemon@ATHENA.MIT.EDU (Casper Dik)
Tue Jan 31 19:29:18 1995

To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
Cc: bugtraq@fc.net
In-Reply-To: Your message of "Tue, 31 Jan 1995 07:44:21 EST."
             <199501311244.HAA10369@Collatz.McRCIM.McGill.EDU> 
Date: Tue, 31 Jan 1995 23:41:00 +0100
From: Casper Dik <casper@fwi.uva.nl>


>/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

home help back first fref pref prev next nref lref last post