Leonard den Ottolander wrote:
> Can anybody tell me why the devices used for removable media are chowned 500
> (the first user in a default RH system)? As far as I can see, any user can
> mount them with no problem when they are owned by root, assuming the
> option "user" is set in fstab.
Look at the files in /etc/pam.d, and you will find that several of them
include the line:
session optional /lib/security/pam_console.so
pam_console uses the file /etc/security/console.perms to determine
whether or not a user is logging into the console, and if so, change the
ownership of several device files. When the user logs out, the
permissions are restored. On the default install, this will include the
floppy disks, the sound devices, the cdrom, /dev/pilot (symlink to the
serial device your Palm is attached to, AFAIK), among others. This
allows users at the console to have control of these devices in a much
more secure manner than simply giving read/write permission to everyone,
and simpler than creating special groups for access to those devices.
MSG
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.