[37459] in Kerberos

home help back first fref pref prev next nref lref last post

RE: How to expire passwords for Kerberos user accounts

daemon@ATHENA.MIT.EDU (Ramaiah, Vanna G.)
Mon Mar 28 17:17:37 2016

From: "Ramaiah, Vanna G." <ramaiah@musc.edu>
To: Greg Hudson <ghudson@mit.edu>, "kerberos@mit.edu" <kerberos@mit.edu>
Date: Mon, 28 Mar 2016 21:17:18 +0000
Message-ID: <AE3FEB1BD25D22479E9F293EBBF869B9F656A076@exg-mb11b.clinlan.local>
In-Reply-To: <56F99E36.1090106@mit.edu>
Content-Language: en-US
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

Got it. For the new users, do I have to run  "kadmin: modprinc -expire "180 days" newprinc" or will the pwexpire field be set when the account is created?


-----Original Message-----
From: Greg Hudson [mailto:ghudson@mit.edu] 
Sent: Monday, March 28, 2016 5:12 PM
To: Ramaiah, Vanna G.; kerberos@mit.edu
Subject: Re: How to expire passwords for Kerberos user accounts



On 03/28/2016 05:08 PM, Ramaiah, Vanna G. wrote:
> For existing accounts, I can run  "kadmin: modprinc -policy userpolicy oldprinc"
> Why do I have to run this command "kadmin: modprinc -expire "180 days" oldprinc", if the policy is already applied?

The KDC only pays attention to the pwexpire field on the principal entries; it doesn't look at the policy.  The policy is applied by kadmind (or kadmin.local) when passwords are changed, and sets the pwexpire field on the principals.



________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post