tech-userlevel archive

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

Re: master.passwd(5) questions



On Thu, Jan 14, 2021 at 04:41:18PM +0100, Hauke Fath wrote:
> Hi,
> 
> I am looking at augmenting the linux-style 'shadow' map generation in
> /var/yp/Makefile.yp.
> 
> In this context:
> 
> (1) The 'change' field in master.passwd can either be empty[*] (no passwd
> aging), hold a maximum passwd age, or hold '-1', forcing the user to set a
> new password during their next login[**].
> 
> If set to '-1', who changes this value after a password update, and to what
> value?
> 
> (2) master.passwd(5) says
> 
> "If either of the change or expire fields are set, the system will remind
> the user of the impending change or expiry if they login within a
> configurable period (defaulting to 14 days) before the event."
> 
> Where is this 'configurable period' being set? I guess the man page should
> say?
> 
> Cheerio,
> Hauke
>

Take a look at login.conf(5) specifically passwordtime and password-warn
and see if thats what you're looking for.

Edgar
> 
> * What about the value '0'?
> ** How does that work with the various X11 display managers, btw?
> 
> -- 
>      The ASCII Ribbon Campaign                    Hauke Fath
> ()     No HTML/RTF in email	        Institut f??r Nachrichtentechnik
> /\     No Word docs in email                     TU Darmstadt
>      Respect for open standards              Ruf +49-6151-16-21344
> 


Home | Main Index | Thread Index | Old Index