Re: [PROBLEM] Killed sshd, want to start it via PHP script.
| From: | Jason Wong | Date: | Mon, 11 Aug 2003 13:46:11 +0000 |
| Subject: | Re: [PROBLEM] Killed sshd, want to start it via PHP script. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159135@lists.php.net to get a copy of this message | ||
On Monday 11 August 2003 21:14, Simon Fredriksson wrote:
> Yeah, but as it is, I can't start those things :P
> I must be root to do so. Apache is not running as root.
What I'm saying is apache/php has little part to play in system maintenance.
Those solutions I proposed are started by root, once they've started they
will (hopefully) ensure that sshd would be running, and auto-restarted
whenever it is stopped (or in the case of using xinetd, whenever it is
needed).
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
If you teach your children to like computers and to know how to gamble
then they'll always be interested in something and won't come to no real harm.
*/