Home
last modified time | relevance | path

Searched refs:sp_lstchg (Results 1 – 19 of 19) sorted by relevance

/titanic_50/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c126 (shpwd->sp_lstchg != 0) && in check_for_login_inactivity()
127 (shpwd->sp_lstchg != -1) && in check_for_login_inactivity()
128 ((shpwd->sp_lstchg + shpwd->sp_inact) < DAY_NOW)) { in check_for_login_inactivity()
165 ((time_t)shpwd->sp_lstchg > now) ||
166 ((now >= (time_t)(shpwd->sp_lstchg +
203 if (shpwd->sp_lstchg == 0) in perform_passwd_aging_check()
211 if (now < (time_t)(shpwd->sp_lstchg + shpwd->sp_max)) in perform_passwd_aging_check()
219 if (idledays > 0 && (now < (time_t)(shpwd->sp_lstchg + idledays))) in perform_passwd_aging_check()
252 (now + shpwd.sp_warn) >= (time_t)(shpwd.sp_lstchg + shpwd.sp_max)) { in warn_user_passwd_will_expire()
253 days = (time_t)(shpwd.sp_lstchg + shpwd.sp_max) - now; in warn_user_passwd_will_expire()
[all …]
/titanic_50/usr/src/lib/libc/port/gen/
H A Dputspent.c48 if (p->sp_lstchg >= 0) in putspent()
49 (void) fprintf(f, "%d:", p->sp_lstchg); in putspent()
H A Dgetspent_r.c215 shadow->sp_lstchg = -1; in str2spwd()
243 if (!getfield(&p, limit, 0, &shadow->sp_lstchg)) in str2spwd()
/titanic_50/usr/src/cmd/pwconv/
H A Dpwconv.c269 sp->sp_lstchg = when * 7; in main()
283 sp->sp_lstchg = DAY_NOW; in main()
324 sp->sp_lstchg = DAY_NOW; in main()
341 sp->sp_lstchg = sp->sp_min = sp->sp_max = -1; in main()
355 sp->sp_lstchg = when * 7; in main()
/titanic_50/usr/src/lib/passwdutil/
H A Dfiles_attr.c575 w->data.val_i = spw->sp_lstchg; in files_getattr()
735 spw->sp_lstchg = DAY_NOW_32; in files_update()
757 spw->sp_lstchg = DAY_NOW_32; in files_update()
766 spw->sp_lstchg = DAY_NOW_32; in files_update()
774 spw->sp_lstchg = DAY_NOW_32; in files_update()
777 spw->sp_lstchg = 0; in files_update()
780 spw->sp_lstchg = p->data.val_i; in files_update()
820 spw->sp_lstchg == -1) { in files_update()
821 spw->sp_lstchg = DAY_NOW_32; in files_update()
H A Dldap_attr.c340 w->data.val_i = spw->sp_lstchg; in ldap_getattr()
639 spw->sp_lstchg = DAY_NOW_32; in ldap_update()
722 spw->sp_lstchg = DAY_NOW_32; in ldap_update()
749 spw->sp_lstchg = DAY_NOW_32; in ldap_update()
762 spw->sp_lstchg = DAY_NOW_32; in ldap_update()
824 spw->sp_lstchg == -1) { in ldap_update()
829 spw->sp_lstchg = DAY_NOW_32; in ldap_update()
H A Dswitch_utils.c548 shadow->sp_lstchg = -1;
576 if (!getfield(&p, limit, 0, &shadow->sp_lstchg))
H A Dnss_attr.c282 w->data.val_i = spw->sp_lstchg; in nss_getattr()
/titanic_50/usr/src/lib/nsswitch/compat/common/
H A Dgetspent.c162 (sp->sp_lstchg >= 0 && printnum(0, sp->sp_lstchg),
/titanic_50/usr/src/head/
H A Dshadow.h64 int sp_lstchg; /* password lastchanged date */ member
/titanic_50/usr/src/cmd/ssh/sshd/
H A Dauth.c106 (int)spw->sp_lstchg, (int)spw->sp_max); in allowed_user()
117 if (spw->sp_lstchg == 0) { in allowed_user()
124 today > spw->sp_lstchg + spw->sp_max) { in allowed_user()
/titanic_50/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c681 if (now < shadow->sp_lstchg + shadow->sp_min) { in modify_ent()
691 shadow->sp_lstchg = now; in modify_ent()
1230 sp->sp_lstchg = atoi(temp); in decode_shadow_entry()
1304 sp->sp_lstchg, COLON_CHAR, in write_shadow_info()
/titanic_50/usr/src/lib/nsswitch/nis/common/
H A Dgetspent.c83 spwd->sp_lstchg = -1;
/titanic_50/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c582 if (now < ospwd.sp_lstchg + ospwd.sp_min) { in changepasswd()
590 ospwd.sp_lstchg = now; in changepasswd()
/titanic_50/usr/src/cmd/passmgmt/
H A Dpassmgmt.c346 shadow_st.sp_lstchg = -1; /* no lastchanged date */ in main()
1636 sprintf(ctp, "%d", ssp->sp_lstchg) + in ck_s_sz()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1348 && spwd->sp_lstchg >= 0
1349 && now >= spwd->sp_lstchg + spwd->sp_max)) {
/titanic_50/usr/src/cmd/logins/
H A Dlogins.c720 pwchg = psp->sp_lstchg; in applypasswd()
/titanic_50/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c3330 data.sp_lstchg = ascii_to_int(ecol[2].ec_value.ec_value_val); in genent_shadow()
3331 if (data.sp_lstchg < -1) { in genent_shadow()
3338 data.sp_lstchg = -1; in genent_shadow()
/titanic_50/usr/src/lib/libsldap/common/
H A Dns_writes.c1838 if (ptr->sp_lstchg >= 0) { in __s_cvt_shadow()
1839 (void) sprintf(ibuf, "%d", ptr->sp_lstchg); in __s_cvt_shadow()