Running perlscripts as root?
Milan Sorm
xsorm na informatics.muni.cz
Neděle Duben 4 20:59:14 MEST 1999
Sun, Apr 04, 1999 ve 11:19:23AM +0200 Pieter Barremaecker napsal:
| Hi,
|
| I just finished writing a script to administrate email-aliasses tru a web
| form. I build everything in this script to make it secure. But the
| perlscript need to be run as root, so it can administrate the mailaliasses
| of all the users, sometimes located in different userdirectory's.
|
| So how can i run a perlscript as root??
|
| Tnx a lot...
|
| Pieter.
You must use CGI wrapper (setuid wrapper). One is e.g.
http://www.fi.muni.cz/~sorm/ftp/cgi_wrap/, but I have only Czech
documentation for him.
About another one is a few sentences in Programming Perl (I think at
www.ora.com or somewhere where Larry Wall store his codes).
milan
-------------------------------------------------------------
Milan Šorm (aka John Popelník) telefon: +420 5 41512348
B205, FI MU, Botanická 68a, Brno sorm na informatics.muni.cz
http://www.fi.muni.cz/~sorm/ tel. domů: (05) 46211083
-------------------------------------------------------------
Milujte se a množte se... (Bůh)
Další informace o konferenci Perl