hlogin/README.md

36 lines
751 B
Markdown
Raw Permalink Normal View History

2022-05-18 17:16:35 +00:00
# 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.
2022-05-19 17:20:34 +00:00
## TODO
- [ ] Respect `/etc/login.defs`
2022-05-20 17:51:25 +00:00
- [ ] UTF-8 support
2022-05-19 17:20:34 +00:00
- [ ] Appearance customization
2022-05-20 17:51:25 +00:00
## Install
hlogin depends on ncursesw, panel, and pam. It also requires GNU Autotools and pkg-config.
Generate autotools files:
``` sh
aclocal
autoheader
automake
autoconf
```
Configure, build, and install:
``` sh
./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:
``` sh
c1:12345:respawn:/sbin/agetty -n -l /usr/bin/hlogin 38400 tty1 linux
```