Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 07:30:48 +0200
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: file permission question
Message-ID:  <20011002073048.E3661@raggedclown.net>
In-Reply-To: <OE726OJi57n6Hj1yNrU00004304@hotmail.com>; from default013subscriptions@hotmail.com on Mon, Oct 01, 2001 at 11:13:11PM -0500
References:  <OE726OJi57n6Hj1yNrU00004304@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 01, 2001 at 11:13:11PM -0500, default wrote:
> Hi,
> 
> I am allowing a couple of ppl to have a shell account on one of my machines,
> and I am making a few changes to disallow them from using certain things...
> like chmoding the 'ps' command to 550 etc...
> 
> I wanted to ask, is there any reason why one wouldn't want to chmod to 640
> the passwd file and other similar files? ...
> 
Yes there are good reasons not to.
Translations of user id's into user names springs to mind (ls).
There are better ways to do this kind of thing, look into restricted
shells...

-- 
Regards
Cliff



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011002073048.E3661>