README (598B)
1 tuilogin 2 ======== 3 a simple ncurses /bin/login 4 5 Requirements: 6 ------------ 7 - libc 8 - libncurses 9 - libform 10 - bmake/make 11 12 Installation 13 ------------ 14 run `[b]make install` 15 16 Basic outline of tuilogin: 17 ----------------------------- 18 TODO: ensure program is run with root 19 initialize ncurses 20 set up a login form with libform 21 write '\n' to file descriptor 3 for readiness notification 22 get the username and password as strings from the user 23 safely close ncurses 24 check their validity and error appropriately 25 switch to the user and group 26 set some of the environment appropriately 27 exec() into the user's shell