From e761e0fc48cb95792ae555dfd028971732ccc161 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Thu, 7 Jan 2016 20:07:53 -0600 Subject: [PATCH] Use correct path for login on GNO. --- telnetd/pathnames.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/telnetd/pathnames.h b/telnetd/pathnames.h index ed8ee88..dff99eb 100644 --- a/telnetd/pathnames.h +++ b/telnetd/pathnames.h @@ -39,7 +39,11 @@ # include # ifndef _PATH_LOGIN -# define _PATH_LOGIN "/usr/bin/login" +# ifdef __GNO__ +# define _PATH_LOGIN "/usr/sbin/login" +# else +# define _PATH_LOGIN "/usr/bin/login" +# endif # endif #else