Re: /dev/audio



A.Fadyushin@xxxxxxxxxxxx wrote:
An ownership on /dev/audio and similar device files changes at the time
when someone logs in on the console. The user who logged in from console
becomes the owner of those files. The change of owhership is performed
using PAM - files in /etc/pam.d usually contain lines like
session optional /lib/security/pam_console.so
for that purpose.
The list of device files which should change owner upon user login from
console is controlled by the list of "console device classes" in
/etc/security/console.perms
If you need to permanently have root as the owner of /dev/audio, you
should remove /dev/audio from the list of console devices.

Alexey Fadyushin
Brainbench MVP for Linux
http://www.brainbench.com


If I remove /dev/audio from the list of console devices, can a user who logs in to the console listen to audio?

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • RE: /dev/audio
    ... An ownership on /dev/audio and similar device files changes at the time ... when someone logs in on the console. ... The list of device files which should change owner upon user login from ... I am required to make root the owner of this file. ...
    (RedHat)
  • Re: Anyone you know?
    ... This happened to the previous owner of a 26' center console I ... He explained in detail how the pipe fitting to the under-deck well ...
    (rec.boats)
  • Re: Anyone you know?
    ... This happened to the previous owner of a 26' center console I ... He explained in detail how the pipe fitting to the under-deck well ...
    (rec.boats)
  • Re: /dev/audio
    ... when someone logs in on the console. ... The change of owhership is performed ... The list of device files which should change owner upon user login from ... console is controlled by the list of "console device classes" in ...
    (RedHat)
  • Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW
    ... My understanding is that the console is controlled by ... >> CSRSS but the console program is the owner. ... the context of the console app, why does the console subsystem disable ... -Software Consultant (Embedded systems and Real Time Controls) ...
    (microsoft.public.win32.programmer.kernel)