dUnix and SUIDperl

From: Andrew C. Saylor <asaylor_at_alpha.comsource.net>
Date: Tue, 25 Jun 1996 08:33:16 -0500 (CDT)

Gurus:

We have a dUnix box with 3.2b and gnu PERL 5.002 installed. We are
attempting to use the SUID version of perl. Installing PERL went fine with
no errors and testing it was fine as well. The non-suid perl works as
expected. I have a test perl script set up:

-rwsr-xr-x 1 test users 10046 Jun 24 09:21 test.pl

As shown, it is set SUID to a valid user of: test.

Root can run the program sucessfully, but if any other user (even test)
tries to run it, the following error message is presented:

        Can't do setuid

I have tried seting the owner of the file to root. Same error. I have
fiddled with the permissions and ownership of the suidperl program itself.
All to no avail.

Is dUnix refusing to run suidperl due to the suid bit set on the file?
Can a program be set only to suid to ROOT?
Basically, has anyone used SUIDPERL sucessfully on a dUnix box...

Thanks to everyone. I will Summarize.

|0|-------------------------------------------------------------------|0|
|0| Andrew C. Saylor |"... So I said `Son, was your |0|
|0| asaylor_at_comsource.net | head with you all day today?' |0|
|0| ComSource Inc. | |0|
|0| 101 Plaza East Blvd. Suite 316 | He said "ahaaaa" |0|
|0| Evansville, Indiana 47715 |So what happened to your hair? |0|
|0| | |0|
|0|"Southern Indiana's most powerfull | `I donnooooo...!' " |0|
|0| Internet Service Provider | |0|
|0| and Communications Specialists" | -Bill Cosby, Himself |0|
|0| | on Brain Damaged Childern |0|
|0| http://www.comsource.net | |0|
|0| (812)469-0300 | |0|
|0|-------------------------------------------------------------------|0|
Received on Tue Jun 25 1996 - 16:12:00 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT