Subject: Re: Shutdown by pressing one key
To: None <port-sparc64@netbsd.org>
From: Michael Gerhards <HM-Gerhards@uni.de>
List: port-sparc64
Date: 10/04/2004 12:01:19
Hubert Feyrer <hubert@feyrer.de> wrote:
>> So I really need this "press-one-key-halts-system". As I understood, I
>> can only get this feature using powerd on 2.x. Is this correct? Or do
>> you see another way?
>
> Dunno about powerd, but KDE (and friends') display manager have
> GUI-based/mouse-operated "shutdown" with a few clicks. Or create a
> poweroff/halt login which has poweroff/halt/whatever as login shell
> (and uid 0, and all network terminals in /etc/ttys marked as insecure, so
> only console users can use it)
Also nice ideas - but they don't fit to my special situation. The Sun
shall act as a pure server so there is _no_ monitor connected and no
simple way to log in.
So a possible way to get it down should be by pressing the power button
or pressing some keys on the keyboard.
Michael