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")) != 0) in auth_shadow_acctexpired()
93 int r, daysleft, disabled = 0; in auth_shadow_pwexpired() local
120 daysleft = spw->sp_lstchg + spw->sp_max - today; in auth_shadow_pwexpired()
[all …]
Dauth-passwd.c136 quad_t pwtimeleft, actimeleft, daysleft, pwwarntime, acwarntime; in warn_expiry() local
151 daysleft = pwtimeleft / DAY + 1; in warn_expiry()
154 daysleft, daysleft == 1 ? "" : "s")) != 0) in warn_expiry()
158 daysleft = actimeleft / DAY + 1; in warn_expiry()
161 daysleft, daysleft == 1 ? "" : "s")) != 0) in warn_expiry()