[prev in list] [next in list] [prev in thread] [next in thread]
List: suse-linux-e
Subject: Re: [SLE] How to prevent audio device change owner after normal
From: Rocky Zhang <rocky () userful ! com>
Date: 2005-03-07 20:04:34
Message-ID: 1110225874.7954.21.camel () norma ! userful ! ca
[Download RAW message or body]
Hi Anders,
Yes. It does work! I prefer to modify permission from 0600 to 0660.
Thanks.
Rocky
On Mon, 2005-03-07 at 19:57 +0000, Anders Johansson wrote:
> On Monday 07 March 2005 19:51, Rocky Zhang wrote:
> > Hi,
> >
> > I have a computer running with SuSe 9.1, KDE desktop. And I connected 2
> > USB audio headsets to my computer. I found that before user log in, the
> > audio devices (such as /dev/dsp*, /dev/snd/*) owner is root:audio,
> > permission is 660; After one user log in, all the audio device files
> > change owner to $USER:audio, permission change to 600, so another users
> > can't have permission to use the USB headset. How can I prevent it
> > ( keep audio device owner always root, and permission is 660, no matter
> > user login or not)?
> >
> > I know in Fedora Core 2/3 and Mandrake 10.1, it's a configuration file
> > ( /etc/security/console.perms) , which is included in pam RPM,
> > that you can edit to prevent normal session login change audio device
> > owner. I checked my SuSe ( version 9.1), there does have pam-0.77-221
> > RPM there, but there is no such file (/etc/security/console.perms)
> > included in the RPM. How does SuSe control device owner and permission
> > when normal session log in which are controlled by PAM and console.perms
> > configuration file in other Linux Distribution?
>
> The permissions are controlled by the file /etc/logindevperm where you can
> control in detail which files get chown()ed, and if you want to stop the
> chown()ing altogether remove the line "session required pam_devperm.so" from
> the files /etc/pam.d/xdm and /etc/pam.d/xdm-np
>
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@suse.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic