summaryrefslogtreecommitdiffstats
path: root/libexec/rshd/rshd.c
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-07-18 21:04:19 +0000
committerwosch <wosch@FreeBSD.org>1997-07-18 21:04:19 +0000
commit6c57ae296c86a1387b2a8bf05ccd6e17dfb792b2 (patch)
tree9ec5786efbf6f61e7201a2a81c3753f9da34efbb /libexec/rshd/rshd.c
parentecd0abeac821275ea4abe5bc5cb9588170ce2dfd (diff)
downloadFreeBSD-src-6c57ae296c86a1387b2a8bf05ccd6e17dfb792b2.zip
FreeBSD-src-6c57ae296c86a1387b2a8bf05ccd6e17dfb792b2.tar.gz
Rshd print to much information if a user does not exists.
Diffstat (limited to 'libexec/rshd/rshd.c')
-rw-r--r--libexec/rshd/rshd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c
index a4080b6..dbb1351 100644
--- a/libexec/rshd/rshd.c
+++ b/libexec/rshd/rshd.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: rshd.c,v 1.16 1997/04/23 03:06:47 davidn Exp $
+ * $Id: rshd.c,v 1.17 1997/05/10 19:02:03 davidn Exp $
*/
#ifndef lint
@@ -480,7 +480,7 @@ doit(fromp)
syslog(LOG_INFO|LOG_AUTH,
"Kerberos rsh denied to %s.%s@%s",
kdata->pname, kdata->pinst, kdata->prealm);
- error("Permission denied.\n");
+ error("Login incorrect.\n");
exit(1);
}
}
@@ -503,7 +503,7 @@ doit(fromp)
remuser, hostname, locuser, cmdbuf);
fail:
if (errorstr == NULL)
- errorstr = "Permission denied.\n";
+ errorstr = "Login incorrect.\n";
error(errorstr, errorhost);
exit(1);
}
@@ -524,7 +524,7 @@ fail:
"%s@%s as %s: permission denied (%s). cmd='%.80s'",
remuser, hostname, locuser, __rcmd_errstr,
cmdbuf);
- error("Permission denied.\n");
+ error("Login incorrect.\n");
exit(1);
}
if (!auth_timeok(lc, time(NULL))) {
OpenPOWER on IntegriCloud