Re: Irix tape devices + logs + su

From: Bas van der Vlies (basvat_private)
Date: Sun Dec 20 1998 - 23:20:02 PST

  • Next message: pmwsat_private: "Re: Irix logs + su"

    On 17-Dec-98 Harhalakis Stefanos wrote:
    >  I don't know if those are known stories.
    > Anyway... on Irix 6.4 the tape devices (in /hw/tape) may be created with
    > false permissions. I think that they are created using the current umask.
    > (When using su, the current umask will not change (unless there is a umask
    > entry in root's .cshrc)). So it is possible to have those devices with
    > mode 644 or even 666, which is bad news, because anyone could use
    > xfsrestore to get any file.
    >
    In IRIX 6.3 and higher you can specify what the mode of the device file is with
    the file /etc/ioperms
       /dev/rmt/*   0600    root    sys
       /dev/console 0644    root    sys
    
    See man ioconfig for more info.
    
    ********************************************************************
    *                                                                  *
    *  Bas van der Vlies                     e-mail: basvat_private      *
    *  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
    *  Kruislaan 415                         fax:    +31 20 6683167    *
    *  1098 SJ Amsterdam                                               *
    *                                                                  *
    ********************************************************************
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:25:24 PDT