[rt-users] How to fix "Can't do setuid"? Reinstall Perl modules?

Phil Homewood pdh at snapgear.com
Tue May 28 18:19:09 EDT 2002


josh wrote:
> Judging from @INC I've got it right. Is there an easy way to check
> that I have setuid capability? Before I sent this I created a perl
> "hello world" to test. I wrote it as root. It executes fine without
> the suid bit turned on, but fails with the "Can't do setuid" message
> once I make it suid. 

Your suidperl wasn't built with suid capability. This functionality
has to be enabled at compile time (I forget the exact options, but
a search of this list and/or general perl installation resources
should tell you how to do it.)





More information about the rt-users mailing list