Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!ginosko!aplcen!haven!umbc3!dipto From: dipto@umbc3.UMBC.EDU (Mr. D. Chakravarty) Newsgroups: comp.unix.i386 Subject: Re: Logging in to 386/ix via telnet over, TCP/IP Keywords: login fails, rlogin, ftp, etc. Message-ID: <2394@umbc3.UMBC.EDU> Date: 13 Oct 89 03:10:53 GMT References: <2316@uceng.UC.EDU> <430@coma.UUCP> Reply-To: dipto@umbc3.umbc.edu.UMBC.EDU (Mr. D. Chakravarty) Organization: University of Maryland, Baltimore County Lines: 29 In article <430@coma.UUCP> reiner@coma.UUCP (Reiner Petersen) writes: >In article <2316@uceng.UC.EDU> dmocsny@uceng.UC.EDU (daniel mocsny) writes: >distant calls with login: and password: prompts, but though remoteuser >types them with the diligence of the most faithful scribe, my machine >can only rasp the reply "login incorrect". Standard telnet protocol in telnetd uses a file called netlogin, written to adhere to standard Unix configuration. Logging in, or rather attempting a log in into a non-standard and/or augmented system with modified /etc/passwd file confuses the hell out of the protocol. One has to patch telnetd to make it read the actual password from /etc/shadow (and /etc/security on RT AIX) so that a graceful login is permitted. Reading an alphabet 'x' on Release 3.2 and the character '!' on selected AIX systems thoroughly screws up the Telnet protocol. Alternatively, a kludge consisting of copying over the password field from /etc/shadow and/or /etc/security to the standard place in /etc/passwd will take you around the problem. Try the second method at first. The former one requiring a patch may be non-trivial. -- dipto@umbc.bitnet ------\ /------ !uunet!umbc3!dipto dipto@umbc3.umbc.edu -------> In-real-life: <------- !nerwin!dipto@umbc3 dipto%ats.uucp@mimsy ------/ Dipto Chakravarty \------ CMSC, U.of Md, 21228