Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!csccat!camdev!mmuegel From: mmuegel@camdev.comm.mot.com (Michael S. Muegel) Newsgroups: comp.lang.perl Subject: setuid problems when using suidscript Message-ID: <395@camdev.comm.mot.com?> Date: 4 Mar 91 17:45:43 GMT Reply-To: mmuegel@mot.com (Michael S. Muegel) Organization: Cellular Infrastructure Group, Motorola, Inc., Fort Worth, Texas Lines: 30 Probably yet another rookie question from a new Perl user, but here goes. I was trying to use suidscript from Ch6 of the book to make a C wrapper so a script of mine can run suid root without using suidperl. Here is what I did: + the script has #!/usr/local/bin/perl + changed the mode so that it is setuid root (had to do this to get suidscript to do anything) + ran suidscript with the full pathname of the Perl script When I run the wrapper I get this: Can't run setuid script with taint checks. Can anyone explain this? Basically I DO NOT want to use taintperl so I thought that by using a C wrapper I could get around this. Thanks, -Mike -- +-----------------------------------------------------------------------------+ | Mike Muegel | Internet: mmuegel@mot.com | | Software Tools Group | UUCP: uunet!motcid!muegel | | Fort Worth Research & Development Center | Voice: (817) 232-6129 | | Cellular Infrastructure Group | Fax: (817) 232-6081 | | Radio Telephone and Systems Group | Mail: 5555 North Beach St. | | Motorola, Inc. | Fort Worth, TX 76137 | +-----------------------------------------------------------------------------+