I have a security requirement that directs me to show and acknowledge last successful login, last unsuccessful login, and number of unsuccessful logins since last successful login. I have pam_lastlog configured as a session control in system-auth. When I login, it does indeed show what I need it to show in the gdm greeter just before starting the session.
I wanted to make a script automation to login in a website then count the login if successful or unsuccessful, is there a script in linux to do that kind of count? the script is just to count if the login is successful or not, provided with the list of usernames and passwords, and if not successful login with that usernames and passwords, then will count as Unsuccessful (Unique Credentials).