Home | History | Annotate | Download | only in pwd_mkdb

Lines Matching defs:username

204 opendb(struct pwddb *db, const char *dbname, const char *username,
212 if (username != NULL) {
235 if (username != NULL) {
258 char *username;
270 username = NULL;
306 username = optarg;
330 if (username != NULL)
331 if (username[0] == '+' || username[0] == '-')
351 if (username == NULL)
380 opendb(&idb, _PATH_MP_DB, username, req_version,
387 opendb(&sdb, _PATH_SMP_DB, username, req_version, flags, PERM_SECURE);
408 if (username != NULL) {
415 if (getdbent(&sdb, _PW_KEYBYNAME, username, &tpwd))
444 if (username == NULL) {
466 } else if (strcmp(username, pwd.pw_name) != 0)
471 username);
483 } else if (rv == 1 || strcmp(username, tpwd->pw_name) != 0)
489 * same username.
492 if (strcmp(username, tpwd->pw_name) == 0) {
504 * the username doesn't match then be sure not to overwrite
508 if (strcmp(username, tpwd->pw_name) != 0)
536 if (username == NULL) {
546 mkpw_warning("user `%s' not found in password file", username);