Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 1997 14:39:11 -0700 (PDT)
From:      Tom Samplonius <tom@uniserve.com>
To:        John Prince <johnp@lodgenet.com>
Cc:        current@freebsd.org
Subject:   Re: suid and perl5
Message-ID:  <Pine.NEB.3.95.970418143750.4347L-100000@haven.uniserve.com>
In-Reply-To: <199704181951.OAA14482@milo.lodgenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 18 Apr 1997, John Prince wrote:

> Is there a problem with setuid and perl5??
> The following works with 2.1.0-RELEASE, and not on 2.2.1-RELEASE
> 
> ----myfile start--
> #!/usr/local/bin/perl    
> 
>         print "EUID=$>     RUID=$<\n";
> exit;
> ----myfile end--
> sudo chmod 4755 myfile
> sudo chown root myfile
> myfile
> returns nothing...
> 
> Any Suggestions??
> 
> John Prince


  You should be using /usr/bin/suidperl

  It also depends on how the perl5 was built.

Tom
System Support
Uniserve




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970418143750.4347L-100000>