On Sat, 26 Feb 2022 09:22:57 +0100, zeneca <
pas...@ailleur.fr>
wrote:
Configure apache to use basic authentication using .htpasswd
https://httpd.apache.org/docs/current/howto/auth.html
or any similar method.
Write a script that can run a a service, pseudocode:
1- wait for a trigger, e.g. user pressing a button,
indicating [s]he wants to login
2- generate a password, e.g. using openssl rand ....
3- generate a .htpasswd file using htpasswd -b ....
https://httpd.apache.org/docs/current/programs/htpasswd.html
4- display the password on the display (off topic here)
5- back to step 1
configure systemd to start that script as a service (off topic
here).
Good luck, enjoy
--
Regards,
Kees Nuyt