Print this page
4212 /etc/logindevperm contains two identical lines

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/login/logindevperm.sh
          +++ new/usr/src/cmd/login/logindevperm.sh
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52  # and "..") in a directory.  A '#' begins a comment and may appear
  53   53  # anywhere in an entry.
  54   54  # In addition, regular expressions may be used. Refer to logindevperm(4)
  55   55  # man page.
  56   56  # Note that any changes in this file should be made when logged in as
  57   57  # root as devfs provides persistence on minor node attributes.
  58   58  #
  59   59  # console       mode    devices
  60   60  #
  61   61  /dev/vt/console_user    0600    /dev/mouse:/dev/kbd
  62      -/dev/vt/console_user    0600    /dev/mouse:/dev/kbd
  63   62  /dev/vt/console_user    0600    /dev/sound/*            # audio devices
  64   63  /dev/vt/console_user    0600    /dev/fbs/*              # frame buffers
  65   64  /dev/vt/console_user    0600    /dev/dri/*              # dri devices
  66   65  /dev/vt/console_user    0400    /dev/removable-media/dsk/*      # removable media
  67   66  /dev/vt/console_user    0400    /dev/removable-media/rdsk/*     # removable media
  68   67  /dev/vt/console_user    0400    /dev/hotpluggable/dsk/*         # hotpluggable storage
  69   68  /dev/vt/console_user    0400    /dev/hotpluggable/rdsk/*        # hotpluggable storage
  70   69  /dev/vt/console_user    0600    /dev/video[0-9]+        # video devices
  71   70  /dev/vt/console_user    0600    /dev/usb/hid[0-9]+      # hid devices should have the same permission with conskbd and consms
  72   71  /dev/vt/console_user    0600    /dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/* driver=scsa2usb,usb_mid,usbprn,ugen     #libusb/ugen devices
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX