commit 92f73a6858a7fd710f8fbcaa31739b81f22deecd parent 8d95c986a212c6bdc5fad3c401325b2236448176 Author: mrgrouse <bdmfegys@duck.com> Date: Fri, 17 Jul 2026 00:31:50 -0400 README: fix title, description, requirements and install instructions, add basic outline of the program Diffstat:
| M | README | | | 29 | ++++++++++++++++++++++------- |
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/README b/README @@ -1,15 +1,30 @@ -tpl - tui PAM login -=================== -tpl is a simple ncurses /bin/login that works with PAM +tuilogin +======== +a simple ncurses /bin/login -Requirements +Requirements: ------------ -libform + - libc + - libncurses + - libform + - bmake/make Installation ------------ -TODO +run `[b]make install` -Running tpl +Running tuilogin ----------- TODO + +Basic outline of tuilogin: +----------------------------- +TODO: ensure program is run with root +initialize ncurses +set up a login form with libform +write '\n' to file descriptor 3 for readiness notification +get the username and password as strings from the user +safely close ncurses +TODO: check their validity and error appropriately +TODO: switch to the user and group +TODO: execve() into the user's shell