Lines Matching defs:user_name
205 static char user_name[NMAX];
461 if ((pam_rc = pam_start(progname, user_name, &pam_conv, &pamh))
518 if ((pwd = getpwnam(user_name)) == NULL) {
523 user_name);
546 if (logins_disabled(user_name) == TRUE) {
736 (void) strncat(log_entry[trys], user_name, LNAME_SIZE);
744 if ((pwd = getpwnam(user_name)) != NULL) {
749 NMAX, user_name);
753 ttyn, NMAX, user_name);
942 /* get the user_name from the pam handle */
948 SCPYL(user_name, user);
949 check_for_dueling_unix(user_name);
951 if (((pwd = getpwnam(user_name)) == NULL) &&
1139 logins_disabled(char *user_name)
1143 if (!EQN("root", user_name) &&
1413 SCPYL(user_name, optarg);
1502 SCPYL(user_name, *envp++);
1505 SCPYL(user_name, argv[optind]);
1506 (void) SCPYL(inputline, user_name);
1511 SCPYL(lusername, user_name);
1626 SCPYL(user_name, lusername);
1861 if ((pwd = getpwnam(user_name)) != NULL) {
1867 user_name);
1872 ttyn, NMAX, user_name);
1922 if ((user_name[0] == '\0') ||
1923 (initgroups(user_name, pwd->pw_gid) == -1)) {