Alper55 0 Newbie Poster

i have implemented a PAM module that logs user in according to login information written on NFC-Tags. i can log in via GDM or KDM with checking data on nfc tag and corresponding information on Ubuntu.

Here is my question:

how can i bypass (GDM or KDM) login screen and log user in just with detecting and checking login infromation stored on NFC-tag?

Example scenario:

When Ubuntu started, user put his tag on nfc reader and log in without any interaction with login screen.

--

Thanks in advance.