Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 1997 13:34:34 -0800 (PST)
From:      Stranger Bone <ben@narcissus.ml.org>
To:        Shawn Ramsey <shawn@luke.cpl.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: ps permission denied?
Message-ID:  <Pine.BSF.3.91.970202133217.5561A-100000@narcissus.ml.org>
In-Reply-To: <Pine.BSF.3.95.970202132153.341B-100000@luke.cpl.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Feb 1997, Shawn Ramsey wrote:

> > > Anyone know why a simple 'ps' now says /dev/mem: permission denied? Is
> > > this normal? It used to allow any user to do a ps, ps ax, ect.
> > 
> > Did you upgrade your kernel?  What are the perms on /dev/mem?  How about 
> > on ps? 
> 
> permissions on ps is: -r-xr-xr-x root   wheel

# cd /bin
# chown root:kmem ps		Make ps belong to the correct group
# chmod 2555 ps			Now make it setgid so it can read /dev/mem

> permissions on /dev/mem is: crw-r----- root    kmem
> 
> 



 Ben

The views expressed above are not those of the Worker's Compensation 
Board of Queensland, Australia.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970202133217.5561A-100000>