httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph A. Nagy, Jr." <jnag...@joseph-a-nagy-jr.homelinux.org>
Subject Re: [users@httpd] Invoking shutdown from a CGI program/script
Date Tue, 18 May 2004 16:19:25 GMT
On Tue, May 18, 2004 at 11:54:52AM -0400, Joshua Slive wrote the following:
> 
> On Tue, 18 May 2004 cnelson@nycap.rr.com wrote:
> 
> > I *know* this sounds like a generally bad idea.  I've no question of
> > that.  Please don't tell me, "Don't do that."
> >
> > I'm building a dedicated Linux-based device with an embedded Apache
> > server and I want the user (who's logged in via HTTPS) to be able to
> > reboot the system from a web page.
> >
> > I've read the FAQ and skimmed the archives.  I believe I know that
> > suEXEC won't let me run the shutdown script as root.  So, how can I
> > reboot my system from a web page served by Apache?
> 
> The traditional solution is sudo:
> http://www.courtesan.com/sudo/


That'd work but is SSH access an option?

-- 
AIM: pres CTHULHU	ICQ: 18115568	Yahoo: pagan_prince
Jabber: DarkKnightRadick@(jabber.org|amessage.at)
PGP: 0x642F7BDA

Mime
View raw message