diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-06-20 10:45:56 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-12-03 14:48:41 +1100 |
commit | 07f6db7fc29a93fae3213af18371cccb17e0276a (patch) | |
tree | e6306f75ae6cb0e863d9c096d0a7a56140657634 /ui/ncurses/Makefile.am | |
parent | 9011b958364f2af965a33681e7375f079ba75d02 (diff) | |
download | talos-petitboot-07f6db7fc29a93fae3213af18371cccb17e0276a.tar.gz talos-petitboot-07f6db7fc29a93fae3213af18371cccb17e0276a.zip |
ui/ncurses: Add nc-auth and authenticate when required.
When the user tries to perform actions that require authentication a new
subscreen 'nc-auth' is launched which accepts a password and will send
an authentication request before performing the action.
This also adds a button in nc-config which launches an nc-auth screen
allowing the user to set or change the system password.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses/Makefile.am')
-rw-r--r-- | ui/ncurses/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/ncurses/Makefile.am b/ui/ncurses/Makefile.am index b791b9d..cd525df 100644 --- a/ui/ncurses/Makefile.am +++ b/ui/ncurses/Makefile.am @@ -57,7 +57,9 @@ ui_ncurses_libpbnc_la_SOURCES = \ ui/ncurses/nc-plugin.c \ ui/ncurses/nc-plugin.h \ ui/ncurses/nc-plugin-help.c \ - ui/ncurses/nc-plugin-menu-help.c + ui/ncurses/nc-plugin-menu-help.c \ + ui/ncurses/nc-auth.c \ + ui/ncurses/nc-auth.h sbin_PROGRAMS += ui/ncurses/petitboot-nc |