[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Restrict a user to a set of binaries?



2012/3/2 Jon Dowland <jmtd@debian.org>
On Fri, Mar 02, 2012 at 07:29:52AM +0100, Raffaele Morelli wrote:
> You can remove /bin/ and/or /usr/local/bin from his PATH by changing its
> /home/user/.profile

They could just add it back, though. This doesn't offer any serious protection.

Of course, but then
chown root:user .profile
chmod 644 .profile

-r
 

Reply to: