A replacement for /bin/login which provides a friendly TUI greeter.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
~keith e655e950fc
0.1 release
4 months ago
build-aux Initial commit 4 months ago
m4 Initial commit 4 months ago
po 0.1 release 4 months ago
.gitignore commit message 4 months ago
Makefile.am Initial commit 4 months ago
README.md 0.1 release 4 months ago
config.dummy.h Initial commit 4 months ago
configure.ac Initial commit 4 months ago
gettext.h Initial commit 4 months ago
hlogin.c it works! 4 months ago
stamp-h1 Initial commit 4 months ago
ui.c it works! 4 months ago
ui.h it works! 4 months ago

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