Searched refs:ruser (Results 1 - 10 of 10) sorted by relevance

/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Diruserok.c90 const char *ruser)
178 userok = innetgr(user+2, NULL, (char *)ruser,
181 userok = !(strcmp(ruser, user+1));
189 (char *)ruser, ypdomain))
192 if (!strcmp(ruser, user+1))
199 userok = !(strcmp(ruser,*user ? user : luser));
218 iruserok(unsigned raddr, int superuser, const char *ruser, const char *luser) argument
232 if (__ivaliduser(hostf, raddr, luser, ruser) == 0) {
89 __ivaliduser(FILE *hostf, unsigned raddr, const char *luser, const char *ruser) argument
/freebsd-10-stable/etc/pam.d/
H A Dsu10 auth requisite pam_group.so no_warn group=wheel root_only fail_safe ruser
/freebsd-10-stable/lib/libpam/modules/pam_rhosts/
H A Dpam_rhosts.c58 const void *ruser, *rhost; local
71 err = pam_get_item(pamh, PAM_RUSER, &ruser);
80 err = ruserok(rhost, superuser, ruser, user);
/freebsd-10-stable/lib/libpam/modules/pam_group/
H A Dpam_group.c61 const void *ruser; local
75 remote = openpam_get_option(pamh, "ruser") ? 1 : 0;
78 "the luser and ruser options are mutually exclusive");
85 "neither luser nor ruser specified, assuming ruser");
87 if (pam_get_item(pamh, PAM_RUSER, &ruser) != PAM_SUCCESS ||
88 ruser == NULL || (pwd = getpwnam(ruser)) == NULL)
/freebsd-10-stable/lib/libc/net/
H A Drcmd.c383 ruserok(rhost, superuser, ruser, luser)
384 const char *rhost, *ruser, *luser;
398 if (iruserok_sa(r->ai_addr, r->ai_addrlen, superuser, ruser,
418 iruserok(raddr, superuser, ruser, luser)
421 const char *ruser, *luser;
430 ruser, luser);
439 iruserok_sa(ra, rlen, superuser, ruser, luser)
443 const char *ruser, *luser;
465 if (__ivaliduser_sa(hostf, raddr, rlen, luser, ruser) == 0) {
523 __ivaliduser(hostf, raddr, luser, ruser)
[all...]
/freebsd-10-stable/libexec/rshd/
H A Drshd.c55 * ruser\0
194 char *cmdbuf, luser[16], ruser[16]; local
303 getstr(ruser, sizeof(ruser), "ruser");
315 if ((pam_err = pam_set_item(pamh, PAM_RUSER, ruser)) != PAM_SUCCESS ||
333 ruser, rhost, luser, pam_strerror(pamh, pam_err), cmdbuf);
342 ruser, rhost, luser, cmdbuf);
357 ruser, rhost, luser, cmdbuf);
371 ruser, rhos
[all...]
/freebsd-10-stable/contrib/openpam/bin/pamtest/
H A Dpamtest.c274 "[-dkMPsv] [-H rhost] [-h host] [-t tty] [-U ruser] [-u user]");
319 const char *ruser = NULL; local
366 opt_str_once(opt, &ruser, optarg);
400 if (ruser == NULL)
401 ruser = user;
420 (pame = pt_set_item(PAM_RUSER, ruser)) != PAM_SUCCESS ||
/freebsd-10-stable/lib/libpam/modules/pam_ksu/
H A Dpam_ksu.c58 const void *ruser; local
67 pamret = pam_get_item(pamh, PAM_RUSER, &ruser);
70 PAM_LOG("Got ruser: %s", (const char *)ruser);
78 rv = get_su_principal(context, user, ruser, &su_principal_name, &su_principal);
176 * the ruser parameter.
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_iter.c302 nvlist_t *luser, *ruser; local
306 ruser = zfs_get_user_props(r);
310 rvalid = (nvlist_lookup_nvlist(ruser,
/freebsd-10-stable/crypto/openssh/
H A Dreadconf.c563 const char *ruser; local
572 ruser = options->user == NULL ? pw->pw_name : options->user;
631 criteria = xstrdup(ruser);
632 r = match_pattern_list(ruser, arg, 0) == 1;
654 "r", ruser,

Completed in 144 milliseconds