Lines Matching refs:username
114 char *username;
122 username = NULL;
155 username = optarg;
165 if (argc != 1 || (username && (*username == '+' || *username == '-')))
215 warnx("%s: username too long", pwd.pw_name);
224 if (username) {
260 len = strlen(username);
262 /* Only check that username fits in buffer */
263 memmove(buf + 1, username, MIN(len, sizeof(buf) - 1));
282 if (!strcmp(data.data, username))
345 if (username == NULL) {
383 (!username || (strcmp(username, pwd.pw_name) == 0))) {
784 "usage: pwd_mkdb [-BCiLNp] [-d directory] [-s cachesize] [-u username] file\n");