From owner-freebsd-questions Sun Feb 2 13:34:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA15965 for questions-outgoing; Sun, 2 Feb 1997 13:34:40 -0800 (PST) Received: from narcissus.ml.org (root@brosenga.Pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA15958 for ; Sun, 2 Feb 1997 13:34:36 -0800 (PST) Received: (from ben@localhost) by narcissus.ml.org (8.7.5/8.7.3) id NAA05570; Sun, 2 Feb 1997 13:34:34 -0800 (PST) Date: Sun, 2 Feb 1997 13:34:34 -0800 (PST) From: Stranger Bone To: Shawn Ramsey cc: questions@FreeBSD.ORG Subject: Re: ps permission denied? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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.