Lines Matching refs:pwd
13 #include <pwd.h>
28 PwdItem(struct passwd *pwd, uint32 level = 0,
32 if (pwd) {
33 BString name(pwd->pw_gecos);
35 fLogin = pwd->pw_name;
242 struct passwd *pwd;
246 pwd = getpwent();
248 if (pwd && pwd->pw_shell &&
249 strcmp(pwd->pw_shell, "false") &&
250 strcmp(pwd->pw_shell, "true") &&
251 strcmp(pwd->pw_shell, "/bin/false") &&
252 strcmp(pwd->pw_shell, "/bin/true")) {
254 PwdItem *item = new PwdItem(pwd);
257 if (pwd)