[Comm] ttyS0

Grigory Tuboltsev =?iso-8859-1?q?gtubolcev_=CE=C1_newmail=2Eru?=
Пн Июл 7 13:30:16 MSD 2003


> а в /etc/security/console.perm, так вроде он называется, что написано?
Спасибо, rpm -qd `rpm -qf /etc/security/console.perms` позволило
докопаться до нужной доки.
А написано у меня там буквально следующее: (я там ничего не менял).

# /etc/security/console.perms
#
# This file determines the permissions that will be given to priviledged
# users of the console at login time, and the permissions to which to
# revert when the users log out.

# format is:
#   <class>=list of regexps specifying consoles or globs specifying
#   files file-glob|<class> perm dev-regex|<dev-class> \
#     revert-mode revert-owner[.revert-group]
# the revert-mode, revert-owner, and revert-group are optional, and
# defaul
t
# to 0600, root, and root, respectively.
#
# For more information:
# man 5 console.perms

# file classes -- these are regular expressions
<console>=(/dev/)?(tty|vc)[0-9]+ :[0-9]\.[0-9] :[0-9]
<xconsole>=:[0-9]\.[0-9] :[0-9]
<rsession>=(/dev/)?pts/[0-9]+

# device classes -- these are shell-style globs
<floppy>=/dev/fd[0-7]* \
        /dev/floppy/* /mnt/floppy*
<sound>=/dev/dsp* /dev/audio* /dev/midi* \
        /dev/mixer* /dev/sequencer* /dev/admm* \
        /dev/adsp* /dev/aload* /dev/amidi* /dev/dmfm* \
        /dev/dmmidi* /dev/music /dev/patmgr* /dev/sndstat \
        /dev/sound/* /dev/beep
<cdrom>=/dev/dvd* /dev/cdrom* /dev/cdroms/* /mnt/cdrom* /mnt/dvd*
<burner>=/dev/scd* /dev/sg* /dev/sr[0-7]* /dev/pcd* /dev/pg*
/dev/cdwriter*
<pilot>=/dev/pilot
<jaz>=/mnt/jaz*
<zip>=/mnt/pocketzip* /mnt/zip*
<ls120>=/dev/ls120 /mnt/ls120*
<scanner>=/dev/scanner /dev/usb/scanner*
<rio500>=/dev/usb/rio500
<camera>=/mnt/camera* /dev/usb/dc2xx* /dev/usb/mdc800*
<memstick>=/mnt/memstick*
<flash>=/mnt/flash*
<diskonkey>=/mnt/diskonkey*
<rem_ide>=/mnt/microdrive*
<fb>=/dev/fb /dev/fb[0-9]* /dev/fb/*
<kbd>=/dev/kbd
<joystick>=/dev/js[0-9]*
<v4l>=/dev/video* /dev/video/* /dev/radio* /dev/winradio* /dev/vtx*
/dev/v bi* /dev/vttuner
<gpm>=/dev/gpmctl
<dri>=/dev/nvidia* /dev/3dfx*
<mainboard>=/dev/apm_bios

# permission definitions
<console>  0660 <floppy>     0660 root.floppy
<console>  0660 <sound>      0660 root.audio
<console>  0640 <cdrom>      0640 root.cdrom
<console>  0660 <burner>     0660 root.cdwriter
<console>  0600 <pilot>      0660 root.uucp
<console>  0660 <jaz>        0660 root.disk
<console>  0660 <zip>        0660 root.disk
<console>  0660 <ls120>      0660 root.disk
<console>  0600 <scanner>    0600 root
<console>  0600 <camera>     0600 root
<console>  0660 <memstick>   0660 root.disk
<console>  0660 <flash>      0660 root.disk
<console>  0660 <diskonkey>  0660 root.disk
<console>  0660 <rem_ide>    0660 root.disk
<console>  0600 <fb>         0600 root
<console>  0600 <kbd>        0600 root
<console>  0600 <joystick>   0600 root
<console>  0660 <v4l>        0660 root.radio
<console>  0700 <gpm>        0700 root
<console>  0600 <mainboard>  0600 root
<console>  0660 <rio500>     0660 root.disk
<console>  0600 <dri>        0600 root

<xconsole> 0600 /dev/console 0600 root.root
<xconsole> 0600 <dri>        0600 root





Подробная информация о списке рассылки community