Perl, Web front end, access rights - Help a newbie?
Madison Kelly
linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Tue Apr 27 13:55:42 UTC 2004
Hi all,
First and foremost, I am a strict newbie when it comes to perl
programming so please be gentle ;). I am trying to write a somewhat
simple program that will let me use a webpage front end to generate a
list of files and folders to be copied from of partition onto another.
My question is: How can I get 'root' access to the server via a CGI
script? I am pretty sure that it can be does because CUPS seems to do it
(I have to enter the 'root' username and password before I can manage
printers).
I have already written the first part where I use two lists, one for
valid source partitions (which can only be read from) and one for valid
destination partitions (which can be accessed read/write) and any other
partition will be ignored. The script verifies that at least one valid
source and one valid destinatiton exists before continuing. Now I want
to start the webifying but I need your help (pretty please?)!
I am trying to decifer the CUPS source but it is quite out of my
league so alas... :)
Madison
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list