2 # Copyright 1993, by Sun Microsystems, Inc.
4 #ident "@(#)logindevperm 1.1 93/08/16 SMI"
6 # /etc/logindevperm - login-based device permissions
8 # If the user is logging in on a device specified in the "console" field
9 # of any entry in this file, the owner/group of the devices listed in the
10 # "devices" field will be set to that of the user. Similarly, the mode
11 # will be set to the mode specified in the "mode" field.
13 # "devices" is a colon-separated list of device names. A device name
14 # ending in "/*", such as "/dev/fbs/*", specifies all entries (except "."
15 # and "..") in a directory. A '#' begins a comment and may appear
16 # anywhere in an entry.
18 # console mode devices
20 /dev/console 0600 /dev/mouse:/dev/kbd
21 /dev/console 0600 /dev/sound/* # audio devices
22 /dev/console 0600 /dev/fbs/* # frame buffers