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.

jue
.



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 ...
    (comp.lang.python)
  • 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?) ...
    (comp.os.linux.misc)
  • 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 ...
    (freebsd-questions)
  • Re: y wont this work: chmod u+s /bin/sh
    ... > The kernel ignores the suid bit for shell scripts due to ... When you execute a program, ... > suid bit is ignored for scripts. ...
    (comp.os.linux.security)
  • 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 ...
    (freebsd-questions)