Subject: Re: ps not working
To: Robin Kumar <c_k_a_p@yahoo.com>
From: Eric Haszlakiewicz <erh@nimenees.com>
List: tech-kern
Date: 08/01/2000 13:03:09
On Tue, Aug 01, 2000 at 10:47:46AM -0700, Robin Kumar wrote:
> Hi!
> 	When i give ps as normal user i am getting
> /dev/kmem permission denied,but doing ps as root it
> works.
> Output of ls -l /dev/mem 
> crw-r----- 1 root kmem 2,0 
	I believe ps used to be setgid to kmem.  However on a current
version of netbsd it uses sysctl instead of kmem so this is no longer
needed.  (you can rm /dev/*mem and ps will still work).
What version are you running?

eric