Lines Matching defs:cmdbuf
412 static char cmdbuf[NCARGS+1];
654 "failed", hostname, remuser, locuser, cmdbuf);
666 remuser, locuser, cmdbuf); /* BSM */
686 getstr(netf, cmdbuf, sizeof (cmdbuf), "command");
690 syslog(LOG_NOTICE, "rshd: locuser = %s, remuser = %s, cmdbuf = %s",
691 locuser, remuser, cmdbuf);
734 remuser, locuser, cmdbuf); /* BSM */
766 hostname, remuser, locuser, cmdbuf);
789 remuser, locuser, cmdbuf);
810 hostname, remuser, locuser, cmdbuf); /* BSM */
821 locuser, cmdbuf); /* BSM */
826 hostname, remuser, locuser, cmdbuf);
836 hostname, remuser, locuser, cmdbuf);
843 " as ROOT", 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 */
1258 if (strncmp(cmdbuf, RDIST_PROG_NAME, strlen(RDIST_PROG_NAME)) == 0) {
1260 (void) strncpy(cmdbuf + 5, "bin", 3);
1265 syslog(LOG_NOTICE, "rshd: cmdbuf = %s", cmdbuf);
1268 ((char *)cmdbuf + 3));
1271 if (do_encrypt && (strncmp(cmdbuf, "-x ", 3) == 0)) {
1272 (void) execle(pwd->pw_shell, cp, "-c", (char *)cmdbuf + 3,
1275 (void) execle(pwd->pw_shell, cp, "-c", cmdbuf, NULL,
1482 getstr(netf, cmdbuf, sizeof (cmdbuf), "command");
1487 getstr(netf, cmdbuf, sizeof (cmdbuf), "command");
1527 int chksumsize = strlen(cmdbuf) + strlen(locuser) + 32;
1541 if (strlcat(chksumbuf, cmdbuf,
1580 if ((strncmp(cmdbuf, "-x ", 3) == 0)) {