Lines Matching defs:user
477 * user or root or if writeable by anyone but the owner, quit.
569 char *user, *p;
607 user = p;
612 user = p;
646 switch(*user) {
648 if (!*(user+1)) { /* '+' matches all users */
652 if (*(user+1) == '@') /* match a user by netgroup */
653 userok = innetgr(user+2, NULL, ruser, ypdomain);
654 else /* match a user by direct specification */
655 userok = !(strcmp(ruser, user+1));
658 if (hostok) { /* check for user field rejections */
659 if (!*(user+1))
661 if (*(user+1) == '@') {
662 if (innetgr(user+2, NULL,
666 if (!strcmp(ruser, user+1))
671 default: /* no rejections: try to match the user */
673 userok = !(strcmp(ruser,*user ? user : luser));