Re: set-uid on shell scripts in Solaris
Posted in 1994
In article <30i66r$ocl@emory.mathcs.emory.edu> dave@das13.snide.com (Dave Snyder) writes: >In article <30hk6j$m62@cronkite.ocis.temple.edu> you write: >} >} I need a shell script with set-uid, owned by root and to be executed by >} operators. >} >Every system I worked on will not allow this. setuid shell scripts have >"security hole" written all over them. You may want to write your script >in Perl as it's setuid version has some safe guards built in. > >DAS >-- >Dave Snyder @ Snide Computer Services - Folcroft, PA Current Release > is db4glgen-3.21 >UUCP: ..!uunet!das13!dave INTERNET: dave@das13.snide.com Or, you can use a setuid C program with a system call to the shell script. Good luck, Andrew