How to create a login screen replacement for Ubuntu

I am interested in writing an alternative login screen for Ubuntu that will provide the user with a puzzle and not a password. I am looking for some tips on how to do this. I am a programmer by profession with many years of experience, but I am not familiar with Linux software enough to know how to start this particular project. Thanks!

+7
source share
2 answers

Perhaps you could do this as an authentication module for PAM (Linux Pluggable Authentication Modules). PAM is configured in the configuration files in the /etc/pam.d file. Each file in this directory defines a PAM service, indicating a set of PAM modules and how they should work together. You can write a new authentication module and replace the current authentication module in those services where you want to use the new login scheme.

+1
source

The โ€œbestโ€ way to do this is to create a PAM module. Here's how features like fingerprint identification are implemented. This will allow you to keep the same login screen with all the features, such as accessibility options, etc.

The โ€œeasiestโ€ way to do this is to modify an existing display manager. Ubuntu uses GDM (Gnome Display Manager) by default, but itโ€™s rather complicated. SLiM is a simple display manager that you can probably change without much difficulty.

0
source

All Articles