Bug 80874 - RFE: [PATCH] pam_console local-once-passwd
Summary: RFE: [PATCH] pam_console local-once-passwd
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pam
Version: 8.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Jay Turner
Depends On:
TreeView+ depends on / blocked
Reported: 2003-01-01 16:48 UTC by Jan Kratochvil
Modified: 2015-01-08 00:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2003-07-20 06:33:49 UTC

Attachments (Terms of Use)
Implements 'johanka' option for pam_console (7.52 KB, patch)
2003-01-01 16:52 UTC, Jan Kratochvil
no flags Details | Diff

Description Jan Kratochvil 2003-01-01 16:48:13 UTC
Description of enhancement:
Everything is restricted on local physical access only:

If user 'foo' is already logged on local console it should not be required to
enter the password to login for 'foo' on another local console - the original
console is alrady accessible for any fraud anyway.

Leaving console with any user running "exec top s" will be no longer safe with
this feature in effect - it should NEVER be default!

Steps for The Show:
1. /etc/pam.d/system-auth line before pam_unix.so:
    auth sufficient /lib/security/$ISA/pam_console.so johanka
2. Login on local console as user 'foo' - enter password.
3. Login on local console as user 'foo' - no password required.
4. Login on local console as user 'bar' - enter password.

Comment 1 Jan Kratochvil 2003-01-01 16:52:30 UTC
Created attachment 89036 [details]
Implements 'johanka' option for pam_console

Implements option 'johanka' for pam_console.

Modifies 'session' handling to track /var/run/console/$username file even for
the user 'root'.

AFAIK the patch should have no sideeffects as long as 'johanka' option is not

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