/titanic_50/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 126 (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 D | putspent.c | 48 if (p->sp_lstchg >= 0) in putspent() 49 (void) fprintf(f, "%d:", p->sp_lstchg); in putspent()
|
H A D | getspent_r.c | 215 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 D | pwconv.c | 269 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 D | files_attr.c | 575 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 D | ldap_attr.c | 340 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 D | switch_utils.c | 548 shadow->sp_lstchg = -1; 576 if (!getfield(&p, limit, 0, &shadow->sp_lstchg))
|
H A D | nss_attr.c | 282 w->data.val_i = spw->sp_lstchg; in nss_getattr()
|
/titanic_50/usr/src/lib/nsswitch/compat/common/ |
H A D | getspent.c | 162 (sp->sp_lstchg >= 0 && printnum(0, sp->sp_lstchg),
|
/titanic_50/usr/src/head/ |
H A D | shadow.h | 64 int sp_lstchg; /* password lastchanged date */ member
|
/titanic_50/usr/src/cmd/ssh/sshd/ |
H A D | auth.c | 106 (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 D | shim_changepasswd.c | 681 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 D | getspent.c | 83 spwd->sp_lstchg = -1;
|
/titanic_50/usr/src/cmd/ypcmd/yppasswd/ |
H A D | changepasswd.c | 582 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 D | passmgmt.c | 346 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 D | auth.c | 1348 && spwd->sp_lstchg >= 0 1349 && now >= spwd->sp_lstchg + spwd->sp_max)) {
|
/titanic_50/usr/src/cmd/logins/ |
H A D | logins.c | 720 pwchg = psp->sp_lstchg; in applypasswd()
|
/titanic_50/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 3330 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 D | ns_writes.c | 1838 if (ptr->sp_lstchg >= 0) { in __s_cvt_shadow() 1839 (void) sprintf(ibuf, "%d", ptr->sp_lstchg); in __s_cvt_shadow()
|