[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] su
im trying to run cgi shell scripts but keep getting access denied due to
apache running as user nobody can i use su without user intreaction to run
the process as root as apache wont run as root without a recompile cos i was
going to run a seperate hidden server to run admin scripts. My script is as
follows:
#!/bin/sh
echo content-type: text/plain
echo
echo internet server stopping
/etc/rc.d/rc2.d/S20inetd stop
could someone point me into the right direction untill until I can get a
book on cgi scripting im stuck.
Cheers Kevin
IT Technician Minsthorpe Community
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.