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

Re: Restrict a user to a set of binaries?



On Vi, 02 mar 12, 10:55:22, Raffaele Morelli wrote:
> >
> > 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

... and one can still use full paths:

$ echo $PATH
/home/amp/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
$ /sbin/ifconfig | head -1
eth0      Link encap:Ethernet  HWaddr 00:1e:37:22:7b:31  

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: