Lines Matching defs:pwd
41 #include <pwd.h>
58 login_check_expire(FILE *back, struct passwd *pwd, char *class, int lastchance)
71 if (auth_setpwd(as, pwd) < 0) {
73 " errormsg Unable to set pwd entry in auth session\n");
85 class = pwd->pw_class;
126 npwd = pw_dup(pwd);
128 p = pwd_update(npwd, pwd);
156 ctime(&pwd->pw_change));
163 pwd_update(const struct passwd *pwd, const struct passwd *opwd)
182 pw_copy(pfd, tfd, pwd, opwd);
183 if (pw_mkdb(pwd->pw_name, 0) == -1) {