[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] consoles sur ALT-F8->F12



La Verite Vraie, c'est qu'il faut utiliser telinit.

En pratique:

[goofy@metal ~]$ ls -l `which telinit`
lrwxrwxrwx   1 root     root            4 Jul 28  1999 /sbin/telinit -> init
[goofy@metal ~]$ 

qui fait la meme chose que "kill -HUP 1".

Toutes le memes. (les commandes).

Mais soyons scientifiques: personne ne dit que ca marcherara toujours toujours toujours. :-)

A+,

	fred


Eric Darchis wrote:
> 
> At 16:25 8/02/2001 +0100, Frédéric Detienne wrote:
> >Dans ton /etc/inittab, il y qqes lignes qui disent
> >
> >1:2345:respawn:/sbin/mingetty tty1
> >2:2345:respawn:/sbin/mingetty tty2
> >3:2345:respawn:/sbin/mingetty tty3
> >4:2345:respawn:/sbin/mingetty tty4
> >5:2345:respawn:/sbin/mingetty tty5
> >6:2345:respawn:/sbin/mingetty tty6
> >
> >ajoute
> >
> >9:2345:respawn:/sbin/mingetty tty9
> >10:2345:respawn:/sbin/mingetty tty10
> >11:2345:respawn:/sbin/mingetty tty11
> >12:2345:respawn:/sbin/mingetty tty12
> >
> >et reboote (ou accessoirement tape "telinit q" (sous root)).
> 
> telinit ? J'ai toujours fait "init q" ou "kill -HUP 1"
> 
> Perso, j'utilise logcolorise.pl pour mettre mes logs en couleurs et je les
> mets sur les consoles 8 à 12. Je mets donc dans /etc/inittab:
> 9:2345:respawn:/usr/bin/tail -f /var/log/secure |
> /usr/sbin/logcolorise.pl >/dev/tty9
> 10:2345:respawn:/usr/bin/tail -f /var/log/messages |
> /usr/sbin/logcolorise.pl >/dev/tty10
> 11:2345:respawn:/usr/bin/tail -f /var/log/xferlog |
> /usr/sbin/logcolorise.pl >/dev/tty11
> 12:2345:respawn:/usr/bin/tail -f /var/log/maillog |
> /usr/sbin/logcolorise.pl >/dev/tty12
> 
> Tu peux également utiliser "open" mais j'ai eu qq pépins à l'époque où j'ai
> mis ça en place.
> 
> Note aussi, qu'après le 12, il y a encore print-scr, scroll-lock et pause.
> Et après encore, il y a alt-ctrl-F1, alt-ctrl-F2, ...
> 
> Eric.

-- 
------------------------- * oOo * -------------------------
                     Frederic Detienne
              Cisco Systems Escalation Engineer
                 Security & Network Services

                     Tel 32 2 704 55 55

[ linux-team@rtfm.be and linux@lists.linuxbe.org in ONE :)         ]
[ To subscribe or unsubscribe, go to http://linuxbe.org/ml.php     ]
[ http://LinuxBe.org - http://OpenBe.net - listmaster@linuxbe.org  ]