Find out the user’s login history to the server

Below you can find out how to get the user’s login history to the server.

utmpdump /var/log/wtmp* | awk ‘$4~”userA” {print}’ > /var/tmp/userAtime

awk ‘$8>”[28/Jun/2018:16:10″ && $8<“[24/Jul/2018:16:10″‘ /var/tmp/userAtime

Originally posted 2019-07-22 01:00:32.

See also  How To Install MySQL Workbench 8 on macOS

About wahyuway

Check Also

How To Deploy Droplet on DigitalOcean With Terraform

Hello good people. In today’s blog post we will be showing you how to create …

Leave a Reply