diff options
| author | Brian S. Dean <bsd@FreeBSD.org> | 2000-07-05 17:47:17 +0000 |
|---|---|---|
| committer | Brian S. Dean <bsd@FreeBSD.org> | 2000-07-05 17:47:17 +0000 |
| commit | f2b5eea7aa2ab181fa5454c1b057036ec6e39ecf (patch) | |
| tree | e44b6155cf672678cffc80cafdc2049e6e28cb18 /libexec | |
| parent | 09d308a8280b3cdf180f0f52b85bbf50418fff9e (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rshd/rshd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index 666182b00a25..374d1374c39a 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -399,9 +399,8 @@ doit(fromp) if (errorstr || (pwd->pw_expire && time(NULL) >= pwd->pw_expire) || - (pwd->pw_passwd != 0 && *pwd->pw_passwd != '\0' && - iruserok_sa(fromp, fromp->su_len, pwd->pw_uid == 0, - remuser, locuser) < 0)) { + iruserok_sa(fromp, fromp->su_len, pwd->pw_uid == 0, + remuser, locuser) < 0) { if (__rcmd_errstr) syslog(LOG_INFO|LOG_AUTH, "%s@%s as %s: permission denied (%s). cmd='%.80s'", |
