Re: agetty reorders characters in login prompt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 27 Mar 2017 15:08:04 +0200, Karel Zak wrote:
> On Fri, Mar 17, 2017 at 01:10:55PM +0100, Karel Zak wrote:
> > Maybe it would be better to remember already read bytes within
> > agetty rather than use TIOCSTI.
>  
>  Implemented, please test:
> 
>   git clone
> git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git cd
> util-linux ./autogen.sh
>   ./configure
>   make agetty
> 
>   sudo cp /sbin/agetty /sbin/agetty.org
>   sudo cp agetty /sbin/agetty
> 
>  .. you will probably need to stop already running agetty(s) before
>  the sudo commands, and start after cp(1). (for example "systemctl
>  stop/stop getty@tty*" on Fedora).

Thanks. I tested master and it works now. The echoed user name is
correct in the automated tests and my manual tests and the login was
always successful.

Michael

>  Thanks!
> 
>     Karel
> 
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux