Title: RE: [linux] Redirection

merci je vais essayer cela, en fait, il semble que l'appartenance du terminal change quand on se log dessus, non?

> -----Original Message-----
> From: Kennedy van Dam Eric [mailto:[EMAIL PROTECTED]]
> Sent: vendredi 19 avril 2002 13:34
> To: [EMAIL PROTECTED]
> Subject: RE: [linux] Redirection
>
>
> Le ven 19/04/2002 à 13:21, Fabian Vilers a écrit :
> > hmmmm, suis sous rh7.2, c bizzare ->
>
> Mopi aussi, voilà le résultat.
>
> [local@multitel55162 local]$ ls -l /dev/tty?
> crw--w----    1 root     root       4,   0 mar 27 18:01 /dev/tty0
> crw-------    1 root     root       4,   1 avr 18 17:47 /dev/tty1
> crw-------    1 root     root       4,   2 avr 12 16:39 /dev/tty2
> crw-------    1 root     root       4,   3 mar 27 18:02 /dev/tty3
> crw-------    1 root     root       4,   4 mar 27 18:02 /dev/tty4
> crw-------    1 root     root       4,   5 mar 27 18:02 /dev/tty5
> crw-------    1 root     root       4,   6 mar 27 18:02 /dev/tty6
> crw--w----    1 root     root       4,   7 fév 28 14:56 /dev/tty7
> crw--w----    1 root     root       4,   8 fév 26 14:28 /dev/tty8
> crw--w----    1 root     tty        4,   9 aoû 30  2001 /dev/tty9
> [local@multitel55162 local]$ ls -l /dev/tty1?
> crw--w----    1 root     tty        4,  10 aoû 30  2001 /dev/tty10
> crw--w----    1 root     tty        4,  11 avr 19 11:47 /dev/tty11
> crw--w----    1 root     tty        4,  12 avr 19 13:28 /dev/tty12
> crw--w----    1 root     tty        4,  13 aoû 30  2001 /dev/tty13
> crw--w----    1 root     tty        4,  14 aoû 30  2001 /dev/tty14
> crw--w----    1 root     tty        4,  15 aoû 30  2001 /dev/tty15
> crw--w----    1 root     tty        4,  16 aoû 30  2001 /dev/tty16
> crw--w----    1 root     tty        4,  17 aoû 30  2001 /dev/tty17
> crw--w----    1 root     tty        4,  18 aoû 30  2001 /dev/tty18
> crw--w----    1 root     tty        4,  19 aoû 30  2001 /dev/tty19
>
> C'est logique.
> Tu édites ton fichier /etc/group.
> Tu modifies la ligne tty:x:5:      
> pour qu'elle devienne tty:x:5:ton_login
>
> Ensuite, tu te connecte sous ton login et tu tapes newgrp tty
> et enfin tu peux coompiler et rediriger vers une console tty9 et
> supérieur.
>
>
> --
> Kennedy van Dam Eric
> Multitel ASBL
> Administrateur Système - Ingénieur Certifié RedHat
> Url:http://www.telecom.fpms.ac.be
> Mail: [EMAIL PROTECTED]
>
> _______________________________________________
> Linux Mailing List
> LCP - 11 Mai - http://www.unixtech.be/lcp.php
> Archives: http://www.unixtech.be/mailman/listinfo/linux
>

Répondre à