Lines Matching defs:user
36 #include <sys/user.h>
69 " [-u user] [-t tty] [-c cmd] [-SIGNAL] [cmd]...\n");
180 char *user = NULL;
257 user = optarg;
274 if (user == NULL && tty == NULL && cmd == NULL && ac == 0)
276 if (user == NULL && tty == NULL && cmd == NULL && !jflag && ac == 0)
295 if (user) {
296 uid = strtol(user, &ep, 10);
297 if (*user == '\0' || *ep != '\0') { /* was it a number? */
298 pw = getpwnam(user);
300 errx(1, "user %s does not exist", user);
310 user = pw->pw_name;
326 if (user) {
449 if (user) {