On Tue, Oct 09, 2001 at 04:29:06PM -0400, Mark Aisenberg wrote: > I haven't seen any meetings announced yet (or even much > traffic on this mail list) since I signed up to start receiving > it again a few days ago. Is the group less active than it > was previously, what with the dot com implosion?
I don't think it's less active. The meeting scheduled for September 11 did not occur, of course. The list archive is at http://www.mail-archive.com/[email protected]/maillist.html (but seems to be a week or so out of step). > From: Paul Lussier <[EMAIL PROTECTED]> > I didn't really want to go back and attempt to turn this command line > program into a cgi program, embedding into it all the baggage that > comes with CGI and HTML, since that would unnecessarilly bloat the > command-line program. It seemed to me that a better way to do it > would be to have a separate CGI based program that takes the input > from a web page and then handed it off to the command line program > was a much better design. This allows the command line program to > not require all the CGI crap, yet allows those who prefer the simple, > web interface to have their way also. The way I would do this, and would not think of doing it any other way, is to put the main functionality into a module. The command line program just parses the command line and uses the module interface. The CGI just validates the form input and uses the module interface. The only monkey wrench might be the root privilege you mentioned is necessary. If your web server is not already root (and please do spend some months reading up on Unix and Web security if it is), then you should have only one way to get root, and that will probably involve the command line. I still might put it in a module, and have the module interact with the suid/sudo program, which would then be kept as dumb as possible. Best. -John -- John Tobey <[EMAIL PROTECTED]> Take a minute for the defense of freedom: http://www.indefenseoffreedom.org/
