* SUMMARY - Question about stickybit...
@ 2001-05-28 17:48 PABLO CESAR SALAZAR ALEMAN
0 siblings, 0 replies; only message in thread
From: PABLO CESAR SALAZAR ALEMAN @ 2001-05-28 17:48 UTC (permalink / raw)
To: tru64-unix-managers
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
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-28 17:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-28 17:48 SUMMARY - Question about stickybit PABLO CESAR SALAZAR ALEMAN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox