Message-ID: <20001113120948.11331.qmail@web10604.mail.yahoo.com>
Date: Mon, 13 Nov 2000 04:09:48 -0800 (PST)
From: Ashok P
Message-ID: <3A0FF2E0.CCA0882D@gypsyfarm.com>
Date: Mon, 13 Nov 2000 08:55:44 -0500
From: zentara
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.
From: Jesse Marlin
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.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
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
participants (3)
-
asharien78@yahoo.com
-
jlm@compgen.com
-
zentara@gypsyfarm.com