ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-unix-users
perl-unix-users
Re: [Perl-unix-users] Permistion Problem when run from the Web
by Ingo Schwarze other posts by this author
Nov 3 2009 8:20AM messages near this date
Re: [Perl-unix-users] Permistion Problem when run from the Web | [Perl-unix-users] XML Parse Error
Hi Ken,

Kenneth Ölwing wrote on Tue, Nov 03, 2009 at 04:51:27PM +0100:

>  Just as an aside - isn't it true that many/most/all (???) Unix/Linux  
>  installs are set to disallow setuid *scripts*.

 $ cd /usr                              
 $ sudo sh -c 'echo "#!/bin/sh\nid" >  testsuid'
 $ sudo chown root:wheel testsuid               
 $ sudo chmod 4550 testsuid                     
 $ ./testsuid                                   
uid=1041(ischwarze) euid=0(root) gid=10(users) groups=10(users), 0(wheel)
 $ id
uid=1041(ischwarze) gid=10(users) groups=10(users), 0(wheel)
 $ uname -a
OpenBSD ischwarze00.intranet.astaro.de 4.6 GENERIC#160 i386
 $ sudo rm testsuid                                       

But that doesn't say you should use it.

Besides, your WWW data partition is hopefully mounted nosuid.

Yours,
  Ingo
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Nonlin
Phillip Bruce
Nonlin
Nonlin
Bill Luebkert
Phillip Bruce
Nonlin
Nonlin
Jimmy Schappet
Ingo Schwarze
kenneth
Ingo Schwarze

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved