RE: /dev/audio



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

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
bounces@xxxxxxxxxx] On Behalf Of Bill Tangren
Sent: Wednesday, September 27, 2006 9:51 PM
To: General Red Hat Linux discussion list
Subject: /dev/audio

I have noticed that I am the owner of the device file /dev/audio, on
my
RHEL ES4
system:

[bjt@mach2 Desktop]$ ll /dev/audio
crw------- 1 bjt root 14, 4 Sep 25 08:05 /dev/audio

I am required to make root the owner of this file. However, when I
change
the
owner to root, it changes back, I think on reboot.

Does anyone know at what point this file is created or modified in the
boot
process? And why would a non privileged used be the owner?

Thanks!

Bill Tangren

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

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



Relevant Pages

  • 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)