Bug 230005 - Access to local devices needs to be restricted to active local sessions
Summary: Access to local devices needs to be restricted to active local sessions
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hal
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Zeuthen
QA Contact:
URL:
Whiteboard: bzcl34nup
Depends On: 230006
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-02-25 19:15 UTC by David Zeuthen
Modified: 2013-03-06 03:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-07 01:13:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Zeuthen 2007-02-25 19:15:04 UTC
Description of problem:

This is mostly a tracker bug for what needs to be done in order to achieve the
goal of only having access to a local device if you are in a local active
session. For example multiple sessions is what you have with f-u-s

 http://fedoraproject.org/wiki/Desktop/FastUserSwitching

Right now, if you've got administrative privileges, this can be overridden by
dropping a hal fdi file, see bug 140853 and bug 229912 for details. As noted in
the former bug, the exact format and documentation for such needs to be finalized.

More importantly, the kernel needs to provide a revoke() mechanism so we can
revoke access to particular devices for a particular user when a session becomes
inactive. Will open a separate bug for this.

Comment 1 David Zeuthen 2007-02-25 19:24:19 UTC
The revoke() bit is tracked in bug 230006.

Comment 2 Alan Cox 2007-02-25 23:41:53 UTC
Browsing the code some initial comments:
- Consolekit doesn't support remote processes (can't read remote proc).
- Consolekit cannot handle processes which have multiple X seats open at once.
- Consolekit should pass cookies explicitly not dig unsafely in the environment
of other processes.
- Consolekit should support kerberos keys (fixes remote problem), or at least an
expansion path by putting a key type in the cookie/passed value.
- The /proc/tty parser should check newlines or it may be fooled by future upgrades.
- Cookie may not it appears be unique across multiple hosts with remote X users

Comment 3 Bug Zapper 2008-04-03 19:15:06 UTC
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 4 Bug Zapper 2008-05-07 01:13:38 UTC
This bug has been in NEEDINFO for more than 30 days since feedback was
first requested. As a result we are closing it.

If you can reproduce this bug in the future against a maintained Fedora
version please feel free to reopen it against that version.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp


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