RE: /dev/audio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux