Lines Matching defs:user
103 static char user[NMAX + 1];
229 if (chkauthattr(AUTHNAME_SHUTDOWN, user) != 1) {
231 "authorizations to shutdown this machine.\n"), user);
276 * Does the user have permission to use this command?
278 if (chkauthattr(AUTHNAME_SUSPEND, user) != 1) {
280 "authorizations to suspend this machine.\n"), user);
499 * Determine home directory of the user.
504 "entry for user.\n"));
524 * If Xsession can not access user's home directory, it creates the
528 * by the user. Hopefully, that is the valid Xauthority file for
558 * 2. by a user entered command.
560 * b. the command can be entered by a user logged in on a dumb
589 * these to print proper error messages and possibly get user
673 * Check initally if the user has the authorizations to
679 (void) strncpy(user, pw->pw_name, NMAX);
798 * Reauthenticate the user on return from suspend.
816 if (user[0] == '\0')
819 if ((err = pam_start("sys-suspend", user, &pam_conv,