Title: RE: [linux] Redirection

hmmmm, suis sous rh7.2, c bizzare ->

bash-2.05$ ls -l /dev/tty?
crw--w----    1 fabian   fabian     4,   0 Apr 19 11:05 /dev/tty0
crw-------    1 root     root       4,   1 Apr 19 11:05 /dev/tty1
crw-------    1 root     root       4,   2 Apr 19 07:17 /dev/tty2
crw-------    1 root     root       4,   3 Apr 19 07:17 /dev/tty3
crw-------    1 root     root       4,   4 Apr 19 07:17 /dev/tty4
crw-------    1 root     root       4,   5 Apr 19 07:17 /dev/tty5
crw-------    1 root     root       4,   6 Apr 19 07:17 /dev/tty6
crw--w----    1 fabian   fabian     4,   7 Aug 30  2001 /dev/tty7
crw--w----    1 root     tty        4,   8 Aug 30  2001 /dev/tty8
crw--w----    1 root     tty        4,   9 Aug 30  2001 /dev/tty9

plus loin, y'en a qui sont root.uucp, d'autres root.tty


> -----Original Message-----
> From: Pascal Bleser [mailto:[EMAIL PROTECTED]]
> Sent: vendredi 19 avril 2002 12:21
> To: [EMAIL PROTECTED]
> Subject: Re: [linux] Redirection
>
>
> Kennedy van Dam Eric wrote:
> > Le ven 19/04/2002 à 11:35, Fabian Vilers a écrit :
> >
> >>c'est ce que je me disais... mais si je ne suis pas root?
>
> Sur SuSE (je suppose aussi sur toutes les autres distribs),
> tu dois être membre du groupe "tty" pour pouvoir écrire
> sur les terminaux:
>
> ls -l /dev/tty1
> crw-rw----    1 root     tty        4,   1 avr 19 07:10 /dev/tty1
>      ^^                   ^^^
>       `--------------------'
>
> Donc ajoute-toi au groupe tty...
>
> --
>    -o) Pascal Bleser   ATOS Origin/Aachen(DE) |
>    /\\         <[EMAIL PROTECTED]> |
>   _\_v <[EMAIL PROTECTED]>                     |
> ---------------------------------------------|
> Jesus saves,Buddha makes incremental backups :
> ---------------------------------------------'
>
> _______________________________________________
> Linux Mailing List
> LCP - 11 Mai - http://www.unixtech.be/lcp.php
> Archives: http://www.unixtech.be/mailman/listinfo/linux
>

Répondre à