[sudo-users] rule to allow execute with root privilege for binaries exist anywhere below folder tree.

Michael Potter pottmi at gmail.com
Wed Nov 1 17:08:40 EST 2006


maybe this:
operator ALL=/usr/oper/bin/*/,/usr/oper/bin/*/*/,/usr/oper/bin/

down side is you will have to know how many levels.
I did not test that suggestion so I would be interested in what you end up
using.
please post a followup if you find a solution.

-- 
potter

On 11/1/06, dhane dhananjay <d_dhane at yahoo.com> wrote:
>
> Hi,
> I would like to create rule such that user should be able to execute any
> binary or script saved anywhere below one particular folder. Files to be
> executed may exist anywhere below parent folder tree.
>
> e.g.
> operator       ALL =  /usr/oper/bin/Here operator will be able to execute
> any binary exist in folder /user/oper/bin but he is not able to execute
> binary exists in subdirectories exist below /user/oper/bin.
>
> I would like to know the resolution for same.
>
> Regards,
> Dhananjay Dhane
>
>
>
>
>
> __________________________________________________________
> Yahoo! India Answers: Share what you know. Learn something new
> http://in.answers.yahoo.com/
>
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
>



More information about the sudo-users mailing list