Bug 79989 - PAM can't count users - off by one in maxlogins
PAM can't count users - off by one in maxlogins
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pam (Show other bugs)
2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-18 09:13 EST by Alan Cox
Modified: 2015-01-07 19:02 EST (History)
3 users (show)

See Also:
Fixed In Version: pam-0.77-63
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-27 03:10:07 EDT
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 Alan Cox 2002-12-18 09:13:32 EST
Description of problem:

PAM limits maxlogins is off by one

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

0.75-40

How reproducible:

Add pam_limits to login
Add a user limit

@* - maxlogins 2

Everyone can log in 3 times.
Comment 1 Roger Nunn 2003-11-10 07:21:46 EST
This is also the case with Red Hat Enterprise Linux version 3
and Red Hat Linux 9

The testing is the same, the logins were via virtual console.
Comment 4 Doncho N. Gunchev 2004-05-29 19:01:18 EDT
I had the same problem with Red Hat Linux 8.
Comment 5 Tomas Mraz 2004-09-22 04:58:52 EDT
Actually in the current devel packages it's the other way around. It
allows user to login only maxlogins-1 times.

upstream pam-0.77 fixed it over pam-0.75 but as part of grubb_leak
patch it was 'fixed' once more ;-) FC2 should actually be fine.

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