Home
last modified time | relevance | path

Searched refs:daysleft (Results 1 – 2 of 2) sorted by relevance

/external/openssh/
Dauth-shadow.c59 int daysleft; in auth_shadow_acctexpired() local
63 daysleft = spw->sp_expire - today; in auth_shadow_acctexpired()
65 (int)spw->sp_expire, daysleft); in auth_shadow_acctexpired()
69 } else if (daysleft < 0) { in auth_shadow_acctexpired()
72 } else if (daysleft <= spw->sp_warn) { in auth_shadow_acctexpired()
73 debug3("account will expire in %d days", daysleft); in auth_shadow_acctexpired()
75 "Your account will expire in %d day%s.\n", daysleft, in auth_shadow_acctexpired()
76 daysleft == 1 ? "" : "s"); in auth_shadow_acctexpired()
94 int daysleft, disabled = 0; in auth_shadow_pwexpired() local
121 daysleft = spw->sp_lstchg + spw->sp_max - today; in auth_shadow_pwexpired()
[all …]
Dauth-passwd.c142 quad_t pwtimeleft, actimeleft, daysleft, pwwarntime, acwarntime; in warn_expiry() local
157 daysleft = pwtimeleft / DAY + 1; in warn_expiry()
160 daysleft, daysleft == 1 ? "" : "s"); in warn_expiry()
164 daysleft = actimeleft / DAY + 1; in warn_expiry()
167 daysleft, daysleft == 1 ? "" : "s"); in warn_expiry()