login-validator: Save shadow file by IP

This commit is contained in:
nemunaire 2022-02-26 22:21:31 +01:00
commit 26c162f319
6 changed files with 82 additions and 23 deletions

View file

@ -20,7 +20,7 @@ menu title Welcome {{ .username }} to the EPITA ADvanced LINux administration co
LABEL challenge
MENU LABEL ^Enter Challenge
KERNEL ../bzImage
INITRD ../s/{{ .initrd }}.img
INITRD ../s/{{ .initrd }}/challenge-initrd.img
APPEND console=tty0 adlin.login={{ .username }} adlin.key={{ .pkey }} adlin.ip={{ .ip }} quiet
text help
You are currently identified as {{ .username }}.