Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!ogicse!cvedc!rob From: rob@cvedc.uucp (Rob Robertson) Newsgroups: comp.lang.perl Subject: suid perl Keywords: suidperl scripts Message-ID: <1990Oct23.173005.470@cvedc.uucp> Date: 23 Oct 90 17:30:05 GMT Reply-To: rob@cvedc.UUCP () Organization: Computervision Beaverton Oregon Lines: 16 I hate to be ignorant but I am. I have a need to run suid to change symbolic links in a file system to "create" the proper filesystem for testers and developers so that can select and run "development" software, "beta" software or "released" software. My understanding is that if you compile a C program, make the C program suid owned by root, that should do the trick. Well I did that with both the sun4 OS4.0.3 and sun3 OS4.0.1 systems and found that the sparc program works but the motorola code. The complaint I get is: Insecure PATH at ./sog line 3. sog is the name of the perl script I am calling using the system call in the c program. If I am doing somthing wrong, or if there is another way to do what I am after please let me know. rob@cvedc.prime.COM