diff options
author | pst <pst@FreeBSD.org> | 1994-09-30 06:38:43 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1994-09-30 06:38:43 +0000 |
commit | d66cc2a40a616874875448c7e650f32d767447aa (patch) | |
tree | 585e26d673b07c46733c8d708ea8df96a5dbba65 /libexec/rexecd | |
parent | 73f0e01abae3e00510867e1be557ca8b72c43a9b (diff) | |
download | FreeBSD-src-d66cc2a40a616874875448c7e650f32d767447aa.zip FreeBSD-src-d66cc2a40a616874875448c7e650f32d767447aa.tar.gz |
make rexecd link against skeyaccess, not authfile
Diffstat (limited to 'libexec/rexecd')
-rw-r--r-- | libexec/rexecd/rexecd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rexecd/rexecd.c b/libexec/rexecd/rexecd.c index 679f540..5feb8a7 100644 --- a/libexec/rexecd/rexecd.c +++ b/libexec/rexecd/rexecd.c @@ -115,7 +115,6 @@ doit(f, fromp) char cmdbuf[NCARGS+1], *cp, *namep; #ifdef SKEY char *skey_crypt(); - int permit_passwd = authfile(inet_ntoa(fromp->sin_addr)); char user[16], pass[100]; #else /* SKEY */ char user[16], pass[16]; @@ -176,7 +175,8 @@ doit(f, fromp) endpwent(); if (*pwd->pw_passwd != '\0') { #ifdef SKEY - namep = skey_crypt(pass, pwd->pw_passwd, pwd, permit_passwd); + namep = skey_crypt(pass, pwd->pw_passwd, pwd, + skeyaccess(user, NULL, remote)); #else /* SKEY */ namep = crypt(pass, pwd->pw_passwd); #endif /* SKEY */ |