From: PABLO CESAR SALAZAR ALEMAN <psalazar () cydsa ! com>
To: tru64-unix-managers
Subject: SUMMARY - Question about stickybit...
Date: Mon, 28 May 2001 17:48:06 +0000 [thread overview]
Message-ID: <102653647622143.tru64-unix-managers.marc@archive.invalid> (raw)
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
>
reply other threads:[~2001-05-28 17:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox