Message-ID: <3A10284F.B3053FA8@gypsyfarm.com>
Date: Mon, 13 Nov 2000 12:43:43 -0500
From: zentara
zentara writes:
Ashok P wrote:
hi,
i'm using suse linux 6.3 which runs on kernel 2.2.13. when i try to run perl scripts which have the uid bit set. i get an error message saying "cant do setuid". what could be the reason.
thanx for the help in advance
You might have to set the permissions on the perl executable itself, making it suid. This is normally turned off for security reasons.
I thought I read somewhere that this was illegal for scripts, and only valid for binary executables, once again for security reasons. You would then use the setuid() system call to set the effective UID.
All I know is I tried to install a similar script which required perl to be set suid. I did it , and the script worked. There is a perl update for 6.4 which address this problem. http://www.suse.com/en/support/download/updates/64_i386.html