Lines Matching defs:pwd
39 #include <pwd.h>
224 struct passwd *pwd;
234 while ((pwd = getpwent())) {
235 if (pwd->pw_uid < minuid)
238 if (strlen(pwd->pw_name) + FORMAT_LEN > sizeof(buf) - 1)
240 strcpy(buf, pwd->pw_name);
344 struct passwd *pwd = NULL;
352 pwd = (flags & OPT_ISROOT) ? getpwnam(argv[optind]) : getpwuid(uid);
353 if (pwd)
354 return update_passwd(path, pwd->pw_name, flags);