Created
May 26, 2019 21:11
-
-
Save edonosotti/ebc9ae5a58f7b00d2486c3ab311fb32f to your computer and use it in GitHub Desktop.
Dump logins on CentOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
utmpdump /var/log/wtmp* | awk '$4~"root" {print}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment