# How could I customize LightDM to load some Custom code I made?

I've written a code in C++ for a bio-metric lock which I want to add to the log in screen beside the password.

Any idea from where should I start?

-
Consider using libpam. You'll need to add account required [your-code-in-libpam-format].so to /etc/pam.d/lightdm Be warned that your biometric software must be compatible with PAM. –  hexafraction Jul 18 '12 at 17:47
a livecd it's enough to acquire a complete root access in a tipical GNU/linux distro, if you are aiming to secure your computer it's probably not a good way or in better terms, this would not worth the effort. –  user827992 Jul 18 '12 at 18:01