Lines Matching refs:locuser

40  *	locuser\0
414 static char locuser[USERNAME_LEN + 1];
654 "failed", hostname, remuser, locuser, cmdbuf);
666 remuser, locuser, cmdbuf); /* BSM */
676 if (client && krb5_kuserok(bsd_context, client, locuser)) {
681 kremuser, remuser, hostname, locuser);
685 getstr(netf, locuser, sizeof (locuser), "locuser");
690 syslog(LOG_NOTICE, "rshd: locuser = %s, remuser = %s, cmdbuf = %s",
691 locuser, remuser, cmdbuf);
698 if ((err = pam_start("krsh", locuser, NULL, &pamh))
707 if ((err = pam_start("rsh", locuser, NULL, &pamh))
725 pwd = getpwnam(locuser);
726 shpwd = getspnam(locuser);
731 hostname, locuser);
734 remuser, locuser, cmdbuf); /* BSM */
745 if (strlen(locuser) != 0) {
749 krb5_data.principal = locuser;
766 hostname, remuser, locuser, cmdbuf);
789 remuser, locuser, cmdbuf);
794 "%s from %s.", locuser, hostname);
810 hostname, remuser, locuser, cmdbuf); /* BSM */
821 locuser, cmdbuf); /* BSM */
826 hostname, remuser, locuser, cmdbuf);
836 hostname, remuser, locuser, cmdbuf);
853 remuser, locuser, cmdbuf); /* BSM */
858 remuser, locuser, cmdbuf); /* BSM */
863 remuser, locuser, cmdbuf); /* BSM */
868 remuser, locuser, cmdbuf); /* BSM */
1063 (void) audit_rshd_success(hostname, remuser, locuser, cmdbuf); /* BSM */
1075 if (strlen(locuser) == 0) {
1080 if (initgroups(locuser, pwd->pw_gid) == -1) {
1105 kremuser, remuser, hostname, locuser);
1481 getstr(netf, locuser, sizeof (locuser), "locuser");
1483 getstr(netf, remuser, sizeof (locuser), "remuser");
1486 getstr(netf, locuser, sizeof (locuser), "locuser");
1508 getstr(netf, remuser, sizeof (locuser), "remuser");
1527 int chksumsize = strlen(cmdbuf) + strlen(locuser) + 32;
1547 if (strlcat(chksumbuf, locuser,
1549 syslog(LOG_ERR, "locuser too long.");
1683 creds, ticket, locuser,