Linux crash
Federico Feroldi
federico a iscanet.com
Mar 10 Apr 2001 13:31:35 UTC
At 14.33 10/04/2001 +0200, you wrote:
> > > Ad ogni modo, tornando a Linux, non c'è più mezzo di re-bootare la
>macchina
> > > (ctrl-alt-canc non viene più preso in considerazione), se passo ad
>una vt
> > questo di default sui server dovrebbe essere disabilitato, per evitare
> > scherzetti... usa i magic keys.
>
>- cosa sono i magic keys? (dove sono documentati?)
quando compili il kernel puoi abilitare il tasto sysreq per andare in
modalita' debug
>- come si fa' a (o dove e' spiegato come) disabilitare ctrl-alt-canc?
http://www.linuxhq.com/ldp/howto/Keyboard-and-Console-HOWTO.html
If you press Ctrl-Alt-Del (or whatever key was assigned the keysym Boot by
loadkeys) then either the machine reboots immediately (without sync), or
init is sent a SIGINT. The former behaviour is the default. The default can
be changed by root, using the system call reboot(), see ctrlaltdel(8). Some
init's change the default. What happens when init gets SIGINT depends on
the version of init used - often it will be determined by the pf entry in
/etc/inittab (which means that you can run an arbitrary program in this
case). In the current kernel Ctrl-AltGr-Del is no longer by default
assigned to Boot.
>- ctrl-alt-canc disabilitato significa che:
> -un utente una volta loggato non puo' riavviare la macchina
> premendo ctrl-alt-canc (anche per root o e' un'eccezione)?
> -un passante che vede la finestra di login non puo' riavviare
> la macchina premendo ctrl-alt-canc a meno che non si logghi?
dipende da come e' configurato, non conosco le altre diustribuzioni, almeno
sulla rh6.2 di default chiunque abbia accesso alla console puo' reboottare
con ctr-alt-del (che equivale ad un init 6 da root)
Federico Feroldi
-
: freelance programmer and sysadmin
: http://www.pixzone.com/
Maggiori informazioni sulla lista
Lug
|