Apr 5, 2021

CentOS v.7 : List Existing User & Login History

To get User Listing.

 [root@server~]# get ent passwd

OR

[root@server~]# less /etc/passwd

OR

[root@server~]# cut -di -f1 /etc/passwd


To get Login History.

[root@server~]# last -120

OR

[root@server~]# cat /var/log/secure         *The "secure" file may have corresponding date.


1 comment:

  1. Grand Vegas Hotel and Casino - MapyRO
    Grand Vegas Hotel and Casino in Las Vegas 목포 출장안마 is located in the heart 동두천 출장마사지 of the Las Vegas Strip, a neighborhood on 당진 출장마사지 the banks 부산광역 출장안마 of the Colorado. It also has a 전라북도 출장샵 casino, a poker room, a  Rating: 3.2 · ‎10 votes

    ReplyDelete