Hi,
Am Montag, 25. Februar 2008 15:29 schrieb Julien Danjou:
> At 1202854145 time_t, Onno Kortmann wrote:
> > 1. that sometimes an orderly shutdown (with proper stopping of network 
> > connections) 
> >    is possible after a remount-ro (u)
> 
> And that does not permit to log via ssh and then shutdown?
Sure it does, but I thought that a daemon like sysrq to send kill 
and restart commands to a remote computer would be the best 
location to implement this functionality, which I think differs from 
ssh login in the following situation:

I want to automate this process. Say machine A is my main PC and machine B is 
connected via network to A, but should only run when A is running.

With automated shutdown through ssh, you either need a no-password key for B on 
A or
you need to make a sophisticated restricted shell set up, where the receiving 
end on B 
will be of similar complexity as your sysrqd.

> > 2. this daemon seems to be the best place (except maybe a remote ssh key
> >    for root?!) to have some kind of remote shutdown command for a 
> >    small set of computers which are all booted and shut down at the same
> >    time.
> 
> I don't feel like I will integrate this upstream because it's not the
> goal of sysrqd to do a such thing IMHO.
Well I'm fine with that and, of course, I can manage my own fork. 
I just thought this would be a nice thing to send upstream.


Greetings,

Onno



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to