[Ilugc] sudo directory restriction

  • From: km@xxxxxxxxxxxxxx (km)
  • Date: Thu Sep 6 19:52:27 2007


Hi all,
I would like to know if i can implement directory restricted access using sudo 

something like a chrooted environment ? 

I have a group "dbusers" with following config 
%dbusers ALL= /bin/cp, /bin/mv, /etc/software
I presume that the users with group set to "dbusers" would not be able to 
traverse into other locations  and use those commands with which there are 
restricted.
But in contrast a the users of group "dbusers" are able to copy and move files 
in other locations say for example, /var (Which is what is not the purpose).

Is there a way to restrict further using sudo ? 

regards,
KM


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Other related posts:

  • » [Ilugc] sudo directory restriction - km