Lines Matching refs:pwd
23 #include <pwd.h>144 const struct passwd *pwd;159 pwd = getpwnam (user);160 if (pwd == NULL)166 uid = pwd->pw_uid;170 pwd = getpwuid (uid);171 if (pwd == NULL)182 int n = xgetgroups (pwd->pw_name, pwd->pw_gid, &gids);185 quote (pwd->pw_name));195 primary_gid = pwd->pw_gid;