Searched refs:old_pw (Results 1 - 4 of 4) sorted by relevance
/freebsd-13-stable/usr.bin/chpass/ |
H A D | chpass.c | 84 struct passwd lpw, *old_pw, *pw; local 94 pw = old_pw = NULL; 158 (old_pw = pw_dup(pw)) == NULL) 192 old_pw = NULL; 218 pw = edit(pw_tempname(), old_pw); 226 if (pw_equal(old_pw, pw) && 227 strcmp(old_pw->pw_passwd, pw->pw_passwd) == 0) 231 if (old_pw && !master_mode) { 233 cryptpw = crypt(password, old_pw->pw_passwd); 234 if (cryptpw == NULL || strcmp(cryptpw, old_pw [all...] |
/freebsd-13-stable/usr.sbin/pw/ |
H A D | pw_nis.c | 48 struct passwd *old_pw = NULL; local 55 old_pw = GETPWNAM(user); 67 if (pw_copy(pfd, tfd, pw, old_pw) == -1) {
|
H A D | pwupd.c | 92 struct passwd *old_pw = NULL; local 102 old_pw = GETPWNAM(user); 114 if (pw_copy(pfd, tfd, pw, old_pw) == -1) {
|
/freebsd-13-stable/lib/libutil/ |
H A D | pw_util.c | 429 pw_copy(int ffd, int tfd, const struct passwd *pw, struct passwd *old_pw) argument 438 if (old_pw == NULL && pw == NULL) 441 spw = old_pw; 538 if (old_pw && !pw_equal(fpw, old_pw)) {
|
Completed in 117 milliseconds