Berkeley CSUA MOTD:Entry 25331
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/26 [General] UID:1000 Activity:popular
11/26   

2002/7/11-12 [Computer/SW/Languages/Perl] UID:25331 Activity:moderate
7/11    So, Linux doesn't allow suid shell scripts to work properly.  However,
        i've got plenty of suid binaries and they evidently work.  Will PERL
        suid programs work the way they should?  Is there a good URL i can go
        to and have this all cleared up for me?
        \_ yes, suid perl scripts work fine. (They work only when setuid shell
           scripts are disabled in the kernel--for security reasons).  -tom
        \_ suid shell scripts are disabled because it's really hard to block
           out every single way someone could exploit a shell script into
           doing something unintended, (changing LD_LIBRARY_PATH, IFS, PATH,
           SHELL, etc etc etc)