Searched refs:old_pw (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/usr.bin/chpass/
H A Dchpass.c82 struct passwd lpw, *old_pw, *pw; local
92 pw = old_pw = NULL;
156 (old_pw = pw_dup(pw)) == NULL)
190 old_pw = NULL;
216 pw = edit(pw_tempname(), old_pw);
224 if (pw_equal(old_pw, pw) &&
225 strcmp(old_pw->pw_passwd, pw->pw_passwd) == 0)
229 if (old_pw && !master_mode) {
231 if (strcmp(crypt(password, old_pw->pw_passwd),
232 old_pw
[all...]
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_nis.c48 struct passwd *old_pw = NULL; local
55 old_pw = GETPWNAM(user);
67 if (pw_copy(pfd, tfd, pw, old_pw) == -1) {
H A Dpwupd.c92 struct passwd *old_pw = NULL; local
102 old_pw = GETPWNAM(user);
114 if (pw_copy(pfd, tfd, pw, old_pw) == -1) {
/freebsd-11-stable/release/picobsd/tinyware/passwd/
H A Dpw_copy.c84 pw_copy(int ffd, int tfd, struct passwd *pw, struct passwd *old_pw) argument
137 if (old_pw && !pw_equal(buf, old_pw)) {
H A Dlocal_passwd.c76 pw_copy(int ffd, int tfd, struct passwd *pw, struct passwd *old_pw);
/freebsd-11-stable/lib/libutil/
H A Dpw_util.c428 pw_copy(int ffd, int tfd, const struct passwd *pw, struct passwd *old_pw) argument
437 if (old_pw == NULL && pw == NULL)
440 spw = old_pw;
537 if (old_pw && !pw_equal(fpw, old_pw)) {

Completed in 239 milliseconds