Re: [e-smith-devinfo] PHP and Events

2002-02-15 Thread Rich Lafferty
On Fri, Feb 15, 2002 at 08:57:07AM -0500, Noah Berlove <[EMAIL PROTECTED]> wrote: > Charlie, > > Maybe I'm not reading the question correctly, but how is PHP different in > this case to Perl? PHP is also installed as a binary on the server > (/usr/bin/php), so you should be able to write PHP

Re: [e-smith-devinfo] PHP and Events

2002-02-15 Thread Noah Berlove
Charlie, Maybe I'm not reading the question correctly, but how is PHP different in this case to Perl? PHP is also installed as a binary on the server (/usr/bin/php), so you should be able to write PHP scripts that have whatever rights and permissions you want. As long as the script can be ru

RE: [e-smith-devinfo] PHP and Events

2002-02-14 Thread Charlie Brady
On Thu, 14 Feb 2002, Trevor Ouellette wrote: > In otherwords, if I created an event/action and gave it admin rights, I > could control the system (reboots, shutdowns, update files, etc.) through > that event. No. -- Charlie Brady [EMAIL PROTECTED] Lead Product Developer

Re: [e-smith-devinfo] PHP and Events

2002-02-14 Thread Charlie Brady
On Fri, 15 Feb 2002, Darrell May wrote: > Charlie Brady <[EMAIL PROTECTED]> said: > > > That won't work for all events and actions. From PHP scripts, > > "signal-event" will be run as user "admin", belonging to various groups, > > > including "root". There's plenty of things that "admin" doesn't

RE: [e-smith-devinfo] PHP and Events

2002-02-14 Thread Trevor Ouellette
6 PM > To: [EMAIL PROTECTED] > Subject: Re: [e-smith-devinfo] PHP and Events > > > > Charlie Brady <[EMAIL PROTECTED]> said: > > > That won't work for all events and actions. From PHP scripts, > > "signal-event" will be run as user "admin"

Re: [e-smith-devinfo] PHP and Events

2002-02-14 Thread Darrell May
Charlie Brady <[EMAIL PROTECTED]> said: > That won't work for all events and actions. From PHP scripts, > "signal-event" will be run as user "admin", belonging to various groups, > including "root". There's plenty of things that "admin" doesn't have > permission to do. Permit me to rephrase.

Re: [e-smith-devinfo] PHP and Events

2002-02-14 Thread Charlie Brady
On Fri, 15 Feb 2002, Darrell May wrote: > > Charlie Brady <[EMAIL PROTECTED]> said: > > > There was some discussion about running PHP in the admin web server a few > > > weeks ago where I discussed some of the security implications. > > Yes, and for those that understand the security implica

Re: [e-smith-devinfo] PHP and Events

2002-02-14 Thread Darrell May
Charlie Brady <[EMAIL PROTECTED]> said: > There was some discussion about running PHP in the admin web server a few > weeks ago where I discussed some of the security implications. Yes, and for those that understand the security implications and still need to run a PHP app inside the server-ma

RE: [e-smith-devinfo] PHP and Events

2002-02-14 Thread Trevor Ouellette
I recall that discussion now that you mentioned it. Thanks for the info. Trev. > -Original Message- > From: Charlie Brady [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 4:40 PM > To: Trevor Ouellette > Cc: [EMAIL PROTECTED] > Subject: Re: [e-smit

Re: [e-smith-devinfo] PHP and Events

2002-02-14 Thread Charlie Brady
On Thu, 14 Feb 2002, Trevor Ouellette wrote: > I've got an interesting question. > > Is it possible to have a PHP panel that can trigger an event or action? > > What kind of security is involved here? > > So, if the event/actions are built, the templates are in place, and the > configuration

[e-smith-devinfo] PHP and Events

2002-02-14 Thread Trevor Ouellette
I've got an interesting question. Is it possible to have a PHP panel that can trigger an event or action? What kind of security is involved here? So, if the event/actions are built, the templates are in place, and the configuration have their respective variables set up... can PHP trigger the e