This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 86324 - pam_krb5 minimum_uid doesn't work
pam_krb5 minimum_uid doesn't work
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: pam_krb5 (Show other bugs)
7.3
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-19 15:14 EST by Daniel Wittenberg
Modified: 2007-04-18 12:52 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-19 19:57:19 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 Daniel Wittenberg 2003-03-19 15:14:36 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823
Netscape/7.0

Description of problem:
# grep pam_krb /etc/pam.d/system-auth

auth	    sufficient	  /lib/security/pam_krb5.so minimum_uid=15 use_first_pass
password    required      /lib/security/pam_krb5.so use_authtok minimum_uid=15
session	    sufficient	  /lib/security/pam_krb5.so minimum_uid=15

Then when I try to login via ssh as root:

pam_krb5: authenticate error: Clients credentials have been revoked (-1765328366)
pam_krb5: authentication fails for `root'
Failed password for root from x.x.x.x port 48196 ssh2

If minimum_uid doesn't try the UID, then how does it know the credentials have
been revoked?  I have disabled all 'standard' accounts like root 

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

How reproducible:
Always

Steps to Reproduce:
1.set the minimum_uid and try to login
2.
3.
    

Expected Results:  pam_krb5 ignores that user and drops to next module

Additional info:
Comment 1 Wayne Buttles 2003-05-09 12:11:44 EDT
I also have reproduced this problem.  It allows logins for default accounts 
like rpm if someone with AD rights feels like creating one.
Comment 2 Wayne Buttles 2003-05-09 12:24:14 EDT
Nevermind.  I figured out that it belongs in [appdefaults] / pam = 
in /etc/krb5.conf and seems to work fine there.

Shouldn't it be a RedHat default?  And shouldn't it be 100 and not 15?  The rpm 
user is wide open at uid 37.

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