Lines Matching defs:passwd
59 static struct passwd fakeuser = {
73 static int print_user(struct passwd *pwd, bool pretty, bool v7);
151 create_and_populate_homedir(struct userconf *cnf, struct passwd *pwd,
172 pw_set_passwd(struct passwd *pwd, int fd, bool precrypted, bool update)
234 perform_chgpwent(const char *name, struct passwd *pwd, char *nispasswd)
237 struct passwd *nispwd;
247 err(EX_IOERR, "passwd file update");
252 warn("User '%s' not found in NIS passwd", pwd->pw_name);
254 warn("NIS passwd update");
271 struct passwd *pwd = NULL;
327 struct passwd *pwd;
546 print_user(struct passwd * pwd, bool pretty, bool v7)
772 struct passwd *pwd = NULL;
851 struct passwd *pwd = NULL;
966 err(EX_IOERR, "passwd update");
971 warnx("WARNING: user '%s' does not exist in NIS passwd",
974 warn("WARNING: NIS passwd update");
1173 struct passwd *pwd;
1391 err(EX_IOERR, "passwd file update");
1397 warnx("User '%s' already exists in NIS passwd",
1400 warn("NIS passwd update");
1484 struct passwd *pwd;
1490 char *passwd, *class, *nispasswd;
1503 passwd = NULL;
1574 passwd = optarg;
1715 if (passwd && conf.fd == -1) {
1720 cnf->default_password = boolean_val(passwd,