need a bash script, capable to generate the following dynamic information:
Last failed login: Sun Feb 21 11:22:28 CET 2017 from 192.168.x.x on ssh:notty
There were 128 failed login attempts since the last successful login.
Last login: Sun Feb 21 10:58:07 2017 from 192.168.x.x
and here were 100 failed login attempts since your last successful login.
Your last login from Sun Feb 21 12:38:02 2017 from 192.168.x.x
:
1. Printing Last failed login
2. It must count number of unsuccessful log-in attempts from last successful log in of any user
3. Printing last successful login in to the ssh (no mater which user)
4. It must count unsuccessful log-in attempts from last successful log in of current user
3. It must count number of unsuccessful log-in attempts from last successful log in of current user
Budget is 15 USD
Dear Sir.I sincerely hope for your success.
I can do your task perfectly.
NOW I am ready to work with you.
please see my profile.
I have a lot of experience in performing tasks on freelancer.com.
I wish you further success.
thanks.