Bug 75286 - /dev/sg[0-9]* devices should be managed by console.perms
Summary: /dev/sg[0-9]* devices should be managed by console.perms
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pam
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-06 20:27 UTC by Robert P. J. Day
Modified: 2015-01-08 00:00 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-02-19 18:09:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Robert P. J. Day 2002-10-06 20:27:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
  for systems that have ATAPI CD drives that are emulating SCSI devices, access
to the drive via the /dev/sg* devices is initially restricted to the root
account.  it would be helpful if a couple of additional lines were added to
/etc/security/console.perms, as in:

<scsi>=/dev/sg[0-9]*
<console> 0600 <scsi> 0600 root

this would make the CD drive accessible to the lone non-priv user who happens to
be using the machine, if i read the console.perms file correctly.  i tried it,
and it seems to work.


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


How reproducible:
Always

Steps to Reproduce:
1.install RH 8.0
2.try to access CD-ROM as a non-root user via, say, cdrecord
3.watch it fail
	

Actual Results:    access to CD-ROM works only for root account until
console.perms file is modified

Additional info:

Comment 1 Jeremy Katz 2003-02-19 18:09:28 UTC
Instead, it does /dev/cdrwriter* and kudzu sets up appropriate links for CD
writer devices that are found


Note You need to log in before you can comment on or make changes to this bug.