SUMMARY - Question about stickybit...

From: PABLO CESAR SALAZAR ALEMAN <psalazar_at_cydsa.com>
Date: Mon, 28 May 2001 12:48:06 -0500

Thanks to

         Dr. Thomas Blind for you help, this is all that i want to know.

        Set-user-ID, set-group-ID or Sticky bit not apply to shell scripts, only
to normal
        executable program files.

       Sorry by my mistake.

        So, that i want to do it, not will work.

Regards,
Pablo Salazar


Original question:
>
> Hi admins,
>
>
> Anybody can tell me, How does sticky bit works???
>
> I have a shell script called it "script", the owner is root.
>
> But, i wan that a user "operator", execute el shell script "script".
>
> The problem here is that el script, execute some comands above few
> directories
> were user "root" can excute them.
>
> But, operator can't.
>
> Then i set the attributes of shell script "script", setting the follow:
>
> chmod 2750 script
>
> this is
>
> r w x r - s - - -
>
> The users "operator" is on same groups that root : "op"
>
> The user "operator" execute the shell script "script", but not is
working.
> The solution??? Operator, not is allow to execute
> commands above this directories.
>
> I thing that "chmod 2750...", allow that operator execute el shell script
> "script" as root????
>
> if this, then operator, should can execute the script without problem, or
> not???
>
> Anybody can explain me, how do i do this????
>
> Regards,
> Pablo Salazar
>
Received on Mon May 28 2001 - 17:54:43 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT