Bug 188385

Summary: PAM does not lift IrDA devices to console permission status
Product: [Fedora] Fedora Reporter: Linus Walleij <triad>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pam-0.99.4.0-fc5.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-01 11:35:29 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 Linus Walleij 2006-04-08 21:22:12 UTC
Description of problem:

If you have e.g. a laptop with an IrDA (infrared) interface and
modprobe in a driver and then the TTY IrDA emulator, the resulting
terminal connections in /dev/ircomm0, /dev/ircomm1 ... etc
are not accessible by the console user. These are analogous
to USB sticks, memory cards etc and are used for e.g. accessing
mobile phones.

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

pam-0.99.3.0-2

How reproducible:

Always.

Steps to Reproduce:
1. modprobe an IrDA driver (I use smsc-ircc2)
2. modprobe ircomm-tty
3. Resulting devices are not accessible by the cosole user
  
Actual results:

Not accessible by console user.

Expected results:

Should be accessible by console user.

Additional info:

I think adding these entries in the right places to 
/etc/security/console.perms.d/50-default.perms
should suffice:

<ircomm>=/dev/ircomm*

<console>  0600 <ircomm>     0600 root

I marked the severity as high since there are many people
that want to use their mobile phones over IrDA.

Comment 1 Linus Walleij 2006-07-25 21:35:20 UTC
Ping, anybody out there?

Comment 2 Tomas Mraz 2006-08-01 11:35:29 UTC
This was fixed in pam-0.99.4.0-fc5.4 - in FC5 updates.