[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#664596: User seems to missing ability to login via ssh/console after some days



On Tue, Mar 20, 2012 at 10:47:40PM +0100, Andreas B. Mundt wrote:
> On Tue, Mar 20, 2012 at 10:00:43PM +0100, Petter Reinholdtsen wrote:
> > [Andreas B. Mundt]
> 
> > > Just remove the "-maxlife" option completely.  Use something like:
> > >
> > >      kadmin.local -q "add_policy -minlength 4 -minclasses 2 user"
> >
> > What is the default value when -maxlife is not used?
> > --
> 
> I use a "default" policy created by:
> 
>   kadmin.local -q "add_policy -minlength 4 -minclasses 2 default"
> 

[..]
 
> So the default seems to be:
> 
>    Password expiration date: [none]

Yes, in other words the default value seems to be 0.

So one could set it back to the default by executing

kadmin.local -q "modpol -maxlife 0secs users"

New user accounts should then have: Password expiration date: [none]


Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: