1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
#
# Configuration file for the pam_devperm module.
#
# We expect entries with the folowing format:
#
# - Comments start with a # and extend to the end of the line.
#
# - Blank lines or lines with only a comment are ignored.
#
# - All other lines consist of three fields delimited by whitespace: a
# login device (/dev/console), an octal permission number (0600), and
# a ":"-delimited list of devices (/dev/kbd:/dev/mouse). All device
# names are absolute paths. A path that ends in "/*" refers to all
# directory entries except "." and "..".
# The login device could be also the xdm display (like :0) or a "*"
# matching all devices.
#
# If the tty the user does login matches a login device name, the
# permissions of the devices in the ":"-delimited list are set as
# specified in the second field, and their ownership is changed to
# that of the uid of the user.
#
:0 0600 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3
:0 0600 /dev/cdrecorder:/dev/cdrecorder1:/dev/cdrecorder2:/dev/cdrecorder3
:0 0600 /dev/dvd:/dev/dvd1:/dev/dvd2:/dev/dvd3
:0 0600 /dev/zip:/dev/zip1:/dev/zip2:/dev/zip3
:0 0600 /dev/dsp0:/dev/dsp1:/dev/dsp2:/dev/dsp3
:0 0600 /dev/fd0:/dev/fd0u1440:/dev/fd0h1440:/dev/fd0u720:/dev/fd0h720
:0 0600 /dev/fd1:/dev/fd1u1440:/dev/fd1h1440:/dev/fd1u720:/dev/fd1h720
:0 0600 /dev/sequencer:/dev/sequencer2:/dev/music
:0 0600 /dev/midi0:/dev/midi1:/dev/midi2:/dev/midi3
:0 0600 /dev/amidi0:/dev/amidi1:/dev/amidi2:/dev/amidi3
:0 0600 /dev/audio:/dev/audio0:/dev/audio1:/dev/audio2:/dev/audio3:/dev/audioctl
:0 0600 /dev/video0:/dev/video1:/dev/video2:/dev/video3
:0 0600 /dev/vtx:/dev/vtx0:/dev/vtx1:/dev/vtx2:/dev/vtx3
:0 0600 /dev/adsp0:/dev/adsp1:/dev/adsp2:/dev/adsp3
:0 0600 /dev/admmidi0:/dev/admmidi1:/dev/admmidi2:/dev/admmidi3
:0 0600 /dev/mixer0:/dev/mixer1:/dev/mixer2:/dev/mixer3
#:0 0600 /dev/nvidiactl:/dev/nvidia0:/dev/nvidia1:/dev/nvidia2:/dev/nvidia3
:0 0600 /dev/rmidi0:/dev/rmidi1:/dev/rmidi2:/dev/rmidi3
:0 0600 /dev/vbi0:/dev/vbi1:/dev/vbi2:/dev/vbi3
|