*BSD News Article 9490


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA5841 ; Fri, 01 Jan 93 01:57:42 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!agate!tfs.com!tfs.com!ts2!shipley
From: shipley@peyote.dis.org (Pete Shipley)
Subject: Re: recompiled ps exits with /dev/mem permission denied message
In-Reply-To: cgd@stinson.CS.Berkeley.EDU's message of 31 Dec 92 00: 01:33
Message-ID: <SHIPLEY.93Jan2004918@peyote.dis.org>
Sender: news@tfs.com (News Administrator @ts2.tfs.com)
Nntp-Posting-Host: peyote
Organization: Processed People for a Processed America
References: <fXiP7x7@quack.sac.ca.us> <RICH.92Dec30221655@superego.Rice.edu>
	<CGD.92Dec31000133@stinson.CS.Berkeley.EDU>
Date: Sat, 2 Jan 1993 08:49:18 GMT
Lines: 31




>From: cgd@stinson.CS.Berkeley.EDU (Chris G. Demetriou)
>Newsgroups: comp.unix.bsd
>Date: 31 Dec 92 00:01:33
>Organization: Kernel Hackers 'r' Us
>
>   umm, that should be
>
>   chmod g+s /bin/ps
>
>   8-)
>
>   i'm surprised that 'make install' did not do it properly...
>
>   perhaps the original poster didn't do 'make install'?


ps(1) should be setgid to group kmem and /dev/mem and /dev/kmem should be
owned root.kmem and mode 0640 (rw-r-----).





--
---------------
Pete Shipley:
email: shipley@berkeley.edu             Flames:  cimarron@postgres.berkeley.edu
Spelling corections: /dev/null          Quote: "Anger is an energy"