When I tried to rlogin into Fedora 18, login on Fedora 18 hung. Replace rlogin from util-linux-2.21.2-3.fc17.x86_64 fixes the problem.
It is caused by 2e7035646eb85851171cc2e989bfa858a4f00cd4 is the first bad commit commit 2e7035646eb85851171cc2e989bfa858a4f00cd4 Author: Karel Zak <kzak> Date: Thu Jul 12 16:33:52 2012 +0200 login: close tty before vhangup() Let's close all tty file descriptors before vhangup() call. References: https://lkml.org/lkml/2012/6/5/145 Signed-off-by: Karel Zak <kzak> :040000 040000 bb1aadd64c6eca4c79689c4a8d574fbbf8bec97d 799d7b20e24e9d0a430c71b3f1810c0b19db39dc M login-utils
It also breaks telnet server.
*** This bug has been marked as a duplicate of bug 904182 ***