Re: trouble writing a setuid script

Peter Michaux <petermichaux@xxxxxxxxx> wrote:
It seems it must be possible to write a setuid script [...]

Yes, it is. The question is, if you _OS_ will execute scripts as SUID or
not. This applies to any script, not just scripts written in Perl.


Relevant Pages

  • Re: How do I add users using Python scripts on a Linux machine
    ... How about invoking scripts with SUID root set? ... The work around was to use native launchers. ... Web applications such as webmin that do administrative functions ...
  • Re: User Privilege in RH 7.3
    ... > bunch of little SUID C programs that execveappropriate shell scripts, ... > maybe SUID Perl scripts.... ... scripts; is it ignored for perl scripts as well?) ...
  • Re: Shell script permissions
    ... What do you mean "SUID bit is ignored on scripts"? ... SUID does not preclude users from running an executable. ... GNU/Linux ignores the SUID bit on scripts, so the scripts will always be ...
  • Re: Shell script permissions
    ... GNU/Linux. ... What do you mean "SUID bit is ignored on scripts"? ... The normal situation in Linux is that they run, ...
  • Re: Established method to enable suid scripts?
    ... Suid in and of itself is a security issue. ... be a sysctl and apply equally to binaries and scripts. ... out which interpreter to run, and then the interpreter is told to re-open the ...