Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!ihnp4.ucsd.edu!swrinde!cs.utexas.edu!not-for-mail From: wcp@lpds.sublink.org (Walter C. Pelissero) Newsgroups: comp.os.386bsd.bugs Subject: login on serial port Followup-To: comp.os.386bsd.bugs Date: 20 Feb 1995 17:47:54 -0600 Organization: Sweet home under white clouds Lines: 19 Sender: nobody@cs.utexas.edu Message-ID: <WCP.95Feb20220307@lpds.lpds.com> NNTP-Posting-Host: news.cs.utexas.edu I'm trying to hook a getty on a serial device of my FreeBSD 2.0 box, but login doesn't work properly. The symptoms: - when getty spanws the login process I have to terminate the password with a \n (\r doesn't work any more) - when I enter the correct password (with \n) login tells me that the password is incorrect - if I rlogin/telnet all goes well I tried to put some fprintf in login.c but all I discovered is: - for some weird reason the icrnl flag is reset - the crypt() function fails without any reason (the password is absolutely correct and the pwd structure hold the right password entry) Any hint? -- P4 32 8 @A ^@@A ^@@Ax^@@A ^@DA"^@D]%xJe&H1\236\331\306