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 and configure R on CentOS 8

About wahyuway

Check Also

How to install and configure Anaconda on CentOS 7

How to install and configure Anaconda on CentOS 7

Anaconda is the most popular machine learning and data science tool used in large scale …

Leave a Reply