Web accessible PERL scripts requiring TTY
I'm developing a suite of utilities which hinge upon the ability to create SSH tunnels that will ultimately be available to end users on our intranet. I've reached the point of making the data available to the apache server on which the scripts are being developed.
The script which works until I try to have the web server run it as a CGI. At this point I get the following error.
IO::Tty::open_slave(nonfatal): open(/dev/ttyp6): Permission denied at /usr/local/libdata/perl5/site_perl/i386-openbsd/IO /Pty.pm line 24.
Does anybody know whether there is just a way around the www user being unable to open a TTY or whether I would actually need to run apache as another user? If so, how do I do that?
anything done in the GUI is done more efficiently in cli
|Thread||Thread Starter||Forum||Replies||Last Post|
|Can't load any scripts in ircII||guitarscn||General software and network||4||22nd November 2010 12:06 AM|
|ppp scripts help||wokko||NetBSD Installation and Upgrading||10||18th May 2010 05:29 AM|
|Executing web scripts : can't!||erehwon||OpenBSD General||3||3rd November 2009 10:02 PM|
|Windows scripts can't print||drhowarddrfine||Other OS||15||31st March 2009 08:53 AM|
|Periodic scripts for mail scripts||stukov||FreeBSD General||2||8th March 2009 07:51 PM|