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

/netbsd-6-1-5-RELEASE/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c259 struct passwd pwd, *tpwd; local
417 if (getdbent(&sdb, _PW_KEYBYNAME, username, &tpwd))
421 olduid = tpwd->pw_uid;
481 rv = getdbent(&sdb, _PW_KEYBYNUM, &lineno, &tpwd);
485 } else if (rv == 1 || strcmp(username, tpwd->pw_name) != 0)
493 if (!getdbent(&sdb, _PW_KEYBYUID, &olduid, &tpwd)) {
494 if (strcmp(username, tpwd->pw_name) == 0) {
509 if (!getdbent(&sdb, _PW_KEYBYUID, &pwd.pw_uid, &tpwd))
510 if (strcmp(username, tpwd->pw_name) != 0)
932 getdbent(struct pwddb *db, int type, void *keyp, struct passwd **tpwd) argument
[all...]

Completed in 58 milliseconds