Searched refs:pw_expire (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-13-stable/usr.sbin/rpc.yppasswdd/
H A Dyppasswd_private.x52 unsigned long pw_expire;/* account expiration */
H A Dyppasswdd_server.c86 pwd->pw_expire = xpwd->pw_expire;
128 yp_password.pw_expire = atol(p);
417 pw->pw_expire, pw->pw_gecos, pw->pw_dir,
/freebsd-13-stable/lib/libpam/modules/pam_unix/
H A Dpam_unix.c199 if (pwd->pw_change || pwd->pw_expire)
203 * Check pw_expire before pw_change - no point in letting the
207 if (pwd->pw_expire) {
210 if (tp.tv_sec >= pwd->pw_expire) {
213 } else if (pwd->pw_expire - tp.tv_sec < warntime &&
216 ctime(&pwd->pw_expire));
/freebsd-13-stable/usr.bin/logins/
H A Dlogins.c55 time_t pw_expire; member in struct:xpasswd
226 pwds[npwds].pw_expire = pwd->pw_expire;
322 tm = gmtime(&pwd->pw_expire);
323 strftime(ebuf, sizeof(ebuf), pwd->pw_expire ? "%F" : "0", tm);
/freebsd-13-stable/include/
H A Dpwd.h124 time_t pw_expire; /* account expiration */ member in struct:passwd
/freebsd-13-stable/lib/libc/tests/nss/
H A Dgetpw_test.c114 pwd1->pw_expire != pwd2->pw_expire ||
144 pwd->pw_dir, pwd->pw_shell, (uintmax_t)pwd->pw_expire,
216 pwd->pw_expire = (time_t)strtol(s, &ts, 10);
/freebsd-13-stable/lib/libc/gen/
H A Dpw_scan.c188 pw->pw_expire = atol(p);
H A Dgetpwent.c960 int32_t pw_change, pw_expire; local
988 SCALAR(pw_expire);
993 pwd->pw_expire = pw_expire;
1060 SCALAR(pwd->pw_expire);
/freebsd-13-stable/usr.bin/chpass/
H A Dfield.c185 if (!atot(p, &pw->pw_expire))
H A Dedit.c132 ttoa(pw->pw_expire));
/freebsd-13-stable/lib/libypclnt/
H A Dypclnt_passwd.c153 yppwd.newpw.pw_expire = pwd->pw_expire;
/freebsd-13-stable/lib/libutil/
H A Dpw_util.c389 pw1->pw_expire == pw2->pw_expire &&
405 pw->pw_class, (uintmax_t)pw->pw_change, (uintmax_t)pw->pw_expire,
/freebsd-13-stable/crypto/openssh/
H A Dsshbuf-getput-basic.c497 (r = sshbuf_put_time(buf, pwent->pw_expire)) != 0 ||
537 sshbuf_get_time(buf, &pw->pw_expire) != 0 ||
H A Dmisc.c315 copy->pw_expire = pw->pw_expire;
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_openbsd.h161 __sanitizer_time_t pw_expire; member in struct:__sanitizer::__sanitizer_passwd
H A Dsanitizer_platform_limits_freebsd.h167 __sanitizer_time_t pw_expire; member in struct:__sanitizer::__sanitizer_passwd
H A Dsanitizer_platform_limits_posix.h359 long pw_expire; member in struct:__sanitizer::__sanitizer_passwd
H A Dsanitizer_platform_limits_netbsd.h198 __sanitizer_time_t pw_expire; member in struct:__sanitizer::__sanitizer_passwd
/freebsd-13-stable/lib/libcasper/services/cap_pwd/
H A Dcap_pwd.c132 pwd->pw_expire = (time_t)nvlist_get_number(nvl, "pw_expire");
612 if (pwd_allowed_field(limits, "pw_expire")) {
613 nvlist_add_number(nvl, "pw_expire", (uint64_t)pwd->pw_expire);
615 nvlist_add_number(nvl, "pw_expire", (uint64_t)0);
/freebsd-13-stable/usr.sbin/cron/lib/
H A Dentry.c365 if (pw->pw_expire && time(NULL) >= pw->pw_expire) {
/freebsd-13-stable/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c386 SCALAR(pwd.pw_expire);
401 SCALAR(pwd.pw_expire);
/freebsd-13-stable/usr.bin/id/
H A Did.c474 (long)pw->pw_change, (long)pw->pw_expire, pw->pw_gecos,
/freebsd-13-stable/usr.sbin/pw/
H A Dpw_user.c590 if (pwd->pw_expire > (time_t)0 && (tptr = localtime(&pwd->pw_expire)) != NULL)
1393 pwd->pw_expire = cmdcnf->expire_days;
1708 if (expire_time >= 0 && pwd->pw_expire != expire_time) {
1709 pwd->pw_expire = expire_time;
/freebsd-13-stable/lib/libcasper/services/cap_pwd/tests/
H A Dpwd_test.c144 if (pwd0->pw_expire != pwd1->pw_expire)
256 fields[9] = "pw_expire";
949 if (pwd->pw_expire != 0 || (pwd->pw_fields & _PWF_EXPIRE) != 0)
952 // printf("No pw_expire\n");
1025 * pw_gecos, pw_dir, pw_shell, pw_expire
1039 fields[9] = "pw_expire";
1075 * fields: pw_class, pw_gecos, pw_dir, pw_shell, pw_expire
1084 fields[4] = "pw_expire";
1125 * fields: pw_passwd, pw_gid, pw_class, pw_dir, pw_expire
[all...]
/freebsd-13-stable/libexec/ftpd/
H A Dftpd.c1425 if (pw->pw_expire && time(NULL) >= pw->pw_expire)

Completed in 307 milliseconds

12