Lines Matching refs:suser
556 char *bp, *host, *src, *suser, *thost, *tuser, *arg; in toremote() local
595 suser = argv[i]; in toremote()
596 if (*suser == '\0') in toremote()
597 suser = pwd->pw_name; in toremote()
598 else if (!okname(suser)) in toremote()
602 suser = NULL; in toremote()
605 if (do_cmd(host, suser, bp, &remin, &remout) < 0) in toremote()
634 suser = argv[i]; in toremote()
635 if (*suser == '\0') in toremote()
636 suser = pwd->pw_name; in toremote()
637 else if (!okname(suser)) in toremote()
640 addargs(&alist, "%s", suser); in toremote()
673 char *bp, *host, *src, *suser; in tolocal() local
700 suser = NULL; in tolocal()
703 suser = argv[i]; in tolocal()
704 if (*suser == '\0') in tolocal()
705 suser = pwd->pw_name; in tolocal()
709 if (do_cmd(host, suser, bp, &remin, &remout) < 0) { in tolocal()