Lines Matching refs:pw
3965 struct passwd pw;
4033 memset(&pw, 0, sizeof(pw));
4867 if (x_getpwuid(screen->uid, &pw)) {
4868 login_name = x_getlogin(screen->uid, &pw);
4982 if (tslot > 0 && OkPasswd(&pw) && !resource.utmpInhibit &&
5086 if (geteuid() == 0 && OkPasswd(&pw)) {
5087 if (initgroups(login_name, pw.pw_gid)) {
5148 if (OkPasswd(&pw)) { /* SVR4 doesn't provide these */
5150 xtermSetenv("HOME", pw.pw_dir);
5152 xtermSetenv("SHELL", pw.pw_shell);
5231 } else if ((!OkPasswd(&pw) && !x_getpwuid(screen->uid, &pw))
5232 || *(shell_path = x_strdup(pw.pw_shell)) == 0) {
5302 if (xw->misc.login_shell && OkPasswd(&pw) && added_utmp_entry)