Patch to fix mgetty 1.1.9 login support for Solaris 2.5.1 (fwd)
Gert Doering (gert@greenie.muc.de)
Tue, 7 Oct 1997 08:51:49 +0200
Hi mgetty-list,
can someone out there verify this? This is the first report I got about
this, and I *think* I remember some succcess report on Solaris systems
without changes needed...
(Sounds like a parity problem, but I can't imagine that /bin/login
should be so daft and touch the tty settings concerning parity).
John: please make sure that you use 8N1 (no parity!) on the *CALLING*
end as well. This could very well be the cause for the problem.
gert
----- Forwarded message from John Wehle -----
*From jwlab.feith.com!john Tue Oct 7 05:21:27 1997
Date: Mon, 6 Oct 1997 23:18:01 -0400
From: john@jwlab.feith.com (John Wehle)
Message-Id: <199710070318.XAA07434@jwlab.FEITH.COM>
To: gert@greenie.muc.de
Subject: Patch to fix mgetty 1.1.9 login support for Solaris 2.5.1
Content-Type: text
The following change was needed in order to succesfully login to
a Sun SPARCstation 2 running Solaris 2.5.1 with a Zyxel 2864.
Without the patch the system always rejects the entered password
with a message indicating that the password was incorrect.
-- john
----------------------8<----------------------------8<--------------------
*** tio.c.ORIGINAL Sun Aug 17 09:36:42 1997
--- tio.c Thu Oct 2 19:01:17 1997
***************
*** 406,411 ****
--- 406,412 ----
t->c_iflag &= ~ICRNL;
t->c_oflag &= ~ONLCR;
}
+ t->c_iflag |= ISTRIP;
#else /* BSD_SGTTY (tested only on NeXT yet, but should work) */
if ( perform_mapping )
{
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------
----- End of forwarded message from John Wehle -----
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-3545980 gert.doering@physik.tu-muenchen.de
.