so you don't want accounts. a little daemon that you can telnet that would
initiate a shutdown would work  **if** you make damn sure it only listens
on the internal interface. It should be pretty trivial to write in
perl (suid of course). If you are interested and nee dhelp, I'll see if I
can find time to try something this weekend.

As far as the status goes, worst case just wait a few minutes after you
cannot ping it anymore. If you get a smart UPS, you might be ablt to tell
the UPS to turn off.

hth
charles

On Fri, 17 Dec 1999, Thomas Ribbrock (Design/DEG) wrote:

> Hi folks,
> 
> I have an old machine which will be set up as my
> dial-up/masquerading/firewall PC. So far, all is going well, I'm already
> able to initiate the PPP link remotely (thanks to Masqdialer - thanks to
> the folks who told me a about it a good while ago!).
> 
> Now, the one thing I haven't found a solution for (yet...) is: How do I
> shut that box down remotely? I intend to run it without a keyboard and
> without monitor (basically chuck it into a corner, make a switch
> available and forget about it), but I do not want to have it running
> 24/7 (energy- and noisewise). Hence, my questions:
> 
> 1) How do I enable the two users I have to shut that machine down
>    properly remotely? I was thinking about "sudo" or something like
>    that, but I don't really want to make accounts available on that
>    machine. The box doesn't have telnet installed, just ssh.
>    Maybe some kind of daemon? Or do I open myself up to a Denial of
>    Service attack? The two other boxes on the network are both running
>    Linux (RHL 5.2) as well, btw.
>   
> 
> 2) How do I flag the status of the machine, i.e. how can I make sure
>    it's shut down before I throw the switch without having a monitor? I
>    was already thinking along the lines of having a LED hanging off the
>    parallel port or something like that...
> 
> If anybody out there has any ideas, I'd appreciate some enlightenment...
kk


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to