Bug 6794 - console.perm does not set /dev/console permissions
console.perm does not set /dev/console permissions
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: pam (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-07 00:49 EST by edc
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-18 15:43:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description edc 1999-11-07 00:49:24 EST
the supplied /etc/security/console.perms does not include
the line:

<console>  0600 /dev/console 0600 root.root

which is required to change console owenership for
users who log in without using xdm.

Otherwise programs like xconsole won't work.
Comment 1 Michael K. Johnson 2000-01-18 15:36:59 EST
The current pam_console module has
<xconsole>=:[0-9]\.[0-9] :[0-9]
and
<xconsole> 0600 /dev/console 0600 root.root
so that this only gets applied for X logins, which
is the correct behaviour.

The current pam_console also has a fix that makes xconsole be
recognized; the original pam_console only allowed you to be
in one console group at a time because the utility of subsets
had not yet been recognized when it was first created.

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