Bug 14043 - dev entries owned by non-privileged user?
Summary: dev entries owned by non-privileged user?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: dev
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-15 18:05 UTC by Chris Runge
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-07-15 18:05:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Chris Runge 2000-07-15 18:05:18 UTC
I might be ignorant of something going on behind the scenes here, but I 
noticed that there are several entries in /dev/ that are owned by my 
unprivileged user, crunge.

For example,

/dev/vcs[n]
/dev/vcsa[n]
/dev/video[n]
/dev/vtx[n]
/dev/winradio[n]
/dev/audio
/dev/dsp
/dev/fb[n]
/dev/fd0

... where [n] is some number

These are only a sample of the entries.

Comment 1 Nalin Dahyabhai 2000-07-17 21:20:20 UTC
I suspect that what you're seeing is pam_console hard at work.  When
you log in at the system console as a non-root user, the pam_console
module gives the user ownership of numerous devices (floppy drives,
the local terminal, video capture cards, tuner cards, sound cards, etc.)
which are reverted when the user logs out.  More information on how
pam_console works can be found in the pam_console(8) man page.


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