Bug 81710

Summary: logging in at runlevel 5 skips most console.perms
Product: [Retired] Red Hat Linux Reporter: Martin Flack <martin>
Component: pamAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED NOTABUG QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-13 05:10:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Flack 2003-01-13 05:05:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
/etc/security/console.perms is programmed to differentiate between console and
xconsole logins, which means if you operate in runlevel 5 and login graphically
(as compared with logging in at a tty first and then running startx) device
files such as /dev/audio are not set to your user's ownership.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Login at gdm.
2. Try to play audio.

    

Actual Results:  Permission error.

Expected Results:  Audio playing.

Additional info:

[root@solvent security]# diff -u console.perms~ console.perms
--- console.perms~      2002-08-02 11:08:29.000000000 -0400
+++ console.perms       2003-01-12 23:53:16.000000000 -0500
@@ -70,3 +70,4 @@

 <xconsole> 0600 /dev/console 0600 root.root
 <xconsole> 0600 <dri>       0600 root
+<xconsole> 0600 <sound>      0600 root

Comment 1 Martin Flack 2003-01-13 05:10:35 UTC
Oops, I'm wrong, I didn't have pam_console.so in my /etc/pam.d/gdm file. It does
work.