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: 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: SELinux vs BackupPC web interface
    ... George Avrunin wrote: ... but it needs to run suid to access the backups. ... is ignored with scripts) and perl. ... I don't think Linux is alone here. ...
    (Fedora)
  • Re: SUID bit on Redhat : Run script as root
    ... I have seen examples of writing C wrapper program for calling shell scripts. ... It is suggested that the SUID of the C program has to be set. ... Also, can you please let me know, where from I can get sudo for Linux RH 6.2. ...
    (comp.unix.shell)