-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15 Nov 2002 19:46:43 -0500, Sam Steingold wrote:
> > > I noticed that after a boot, my /dev/dsp* and /dev/audio* are > > > owned by sds.root and have permissions 600 (crw-------). > > > this is > > > > > > 1. strange: why are these files owned by _me_ and not root? > > > > The user that first logs in at the physical console gets the > > file/device permissions assigned by PAM. > > how do I disable this? Not sure whether you really want that. Anyway, the manuals from Red Hat cover PAM a bit. And have a look at "man 5 console.perms". > > > 2. inconvenient: mpg123 &c are not suid root, > > > so my wife cannot use audio. > > > > This is when you have logged in first and block the audio device. > > Yuk - this is a typical case of "single user behavior". No, that's common misconception of a security feature. Would you want network users being able to monitor your microphone or play back an MP3 file at full volume 4:00 a.m. when you're sleeping? The alternative would be to adjust the permissions to let a group of users access the audio device at the same time. Not sure whether you would like it when one user plays with the mixer while you are listening to a stream. > > > For now, I added > > > chown root.root /dev/dsp* /dev/audio* > > > chmod a+rw /dev/dsp* /dev/audio* > > > to /etc/rc.local, but I wonder whether this is TRT. > > So what is the right way to handle this? The way it is. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE91luF0iMVcrivHFQRAlvPAJsFTQuLVOmUwfqtLsZ1UUIDyKHndACdGgCG m5Rb2G4C4ep/hl07qgNwJ00= =NxP/ -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list