pwd
struct passwd *pwd;
pwd = getpwnam(item->uidstr);
if (pwd)
uid = pwd->pw_uid;
struct passwd *pwd = getpwuid(geteuid());
if (pwd != NULL && pwd->pw_name != NULL && pwd->pw_name[0])
strcpy(__user, pwd->pw_name);
struct passwd *pwd = getpwuid(geteuid());
if (pwd != NULL && pwd->pw_name != NULL && pwd->pw_name[0])
strcpy(fUser, pwd->pw_name);
struct passwd *pwd;
pwd = getpwnam(login);
if (pwd == NULL)
if (strcmp(pwd->pw_name, login) != 0)
if (verify_password(pwd, getspnam(login), password))
struct passwd *pwd;
pwd = getpwent();
if (pwd && pwd->pw_shell &&
strcmp(pwd->pw_shell, "false") &&
strcmp(pwd->pw_shell, "true") &&
strcmp(pwd->pw_shell, "/bin/false") &&
strcmp(pwd->pw_shell, "/bin/true")) {
PwdItem *item = new PwdItem(pwd);
if (pwd)
PwdItem(struct passwd *pwd, uint32 level = 0,
if (pwd) {
BString name(pwd->pw_gecos);
fLogin = pwd->pw_name;
void pwd(void);
pwd();
struct passwd* pwd = getpwuid(geteuid());
shellCommand[0] = pwd != NULL ? pwd->pw_shell : "/bin/sh";
char pwd[PATH_MAX];
if (getcwd(pwd, sizeof(pwd)) == NULL)
normalizedPath = pwd;
struct passwd *pwd = getpwnam(username);
if (pwd != NULL)
fPassword = pwd->pw_passwd;
struct passwd *pwd;
pwd = getpwnam (UserNameRequested);
if (pwd == NULL)
"FILE:/tmp/krb5cc_%u", pwd->pw_uid);
chown (ccname + 5, pwd->pw_uid, -1);
struct passwd *pwd;
if (pwd = getpwnam(name))
salt = pwd->pw_passwd;
if (pwd && !strcmp(p, pwd->pw_passwd)) {
struct passwd *pwd;
if (pwd = getpwnam(name))
salt = pwd->pw_passwd;
if (pwd && !strcmp(p, pwd->pw_passwd)) {
struct passwd *pwd;
if ((pwd=getpwnam(usr))==NULL)
return (!pwd->pw_uid);
struct passwd *pwd;
(pwd = getpwnam(h)) != NULL) ||
(pwd = getpwuid(getuid())) != NULL)
h = pwd->pw_dir;
if ((pwd = getpwnam((char *)wbuf)) == NULL)
h = pwd->pw_dir;