A replacement for /bin/login which provides a friendly TUI greeter.
Go to file
~keith e655e950fc
0.1 release
2022-05-20 17:51:25 +00:00
build-aux Initial commit 2022-05-18 17:16:35 +00:00
m4 Initial commit 2022-05-18 17:16:35 +00:00
po 0.1 release 2022-05-20 17:51:25 +00:00
.gitignore commit message 2022-05-19 17:20:34 +00:00
Makefile.am Initial commit 2022-05-18 17:16:35 +00:00
README.md 0.1 release 2022-05-20 17:51:25 +00:00
config.dummy.h Initial commit 2022-05-18 17:16:35 +00:00
configure.ac Initial commit 2022-05-18 17:16:35 +00:00
gettext.h Initial commit 2022-05-18 17:16:35 +00:00
hlogin.c it works! 2022-05-20 05:31:14 +00:00
stamp-h1 Initial commit 2022-05-18 17:16:35 +00:00
ui.c it works! 2022-05-20 05:31:14 +00:00
ui.h it works! 2022-05-20 05:31:14 +00:00

README.md

hlogin

A replacement for /bin/login which provides a friendly TUI greeter.

DISCLAIMER: While I'm reasonably sure this program is secure, I can't guarantee that for certain. Use it at your own risk.

TODO

  • Respect /etc/login.defs
  • UTF-8 support
  • Appearance customization

Install

hlogin depends on ncursesw, panel, and pam. It also requires GNU Autotools and pkg-config.

Generate autotools files:

aclocal
autoheader
automake
autoconf

Configure, build, and install:

./configure --prefix="/usr"
make
sudo make install

To use hlogin with agetty, add the options -n -l /usr/bin/hlogin to it in your inittab, like so:

c1:12345:respawn:/sbin/agetty -n -l /usr/bin/hlogin 38400 tty1 linux