Rebuilding #agetty in #Lua  β€¦

  • βœ… Showing /etc/issue works
  • βœ… Showing /etc/issue.d/*.issue files works
  • βœ… Variables replacement for both works
  • βœ… Asking for username works
  • βœ… Asking for password (with hiden input) works

Is it a whole mess built-in Lua functions, #luaposix calls, crude gsub() replacements, and some io.popen() trickery and missing everything even remotely being related to any authentication mechanisms? ABSOLUTELY YES! πŸ™ƒ

#Linux #JustProgrammerThings #WeekendProject