Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / pam / examples / login / logindevperm
1 #
2 #       Copyright 1993, by Sun Microsystems, Inc.
3 #
4 #ident  "@(#)logindevperm       1.1     93/08/16 SMI"
5 #
6 # /etc/logindevperm - login-based device permissions
7 #
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.
12 #
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.
17 #
18 # console       mode    devices
19 #
20 /dev/console    0600    /dev/mouse:/dev/kbd
21 /dev/console    0600    /dev/sound/*            # audio devices
22 /dev/console    0600    /dev/fbs/*              # frame buffers