Linux & windows query who logs on to your server

Linux uses the built-in tracking tool last command

Some of them are transferred from the source script house, which is recommended to browse in detail

  1. Last shows from/ var /The log / wtmp file creates all logged in (and logged out) users. This file is binary and cannot be browsed by text editors such as VI, Joe or other software. This is very useful because the user (or root) cannot modify the file as they would like.   
  3. Last will give the user name, TTY, IP address (if the user is remotely connected), date time and the time the user has logged in.   
  1. You just type last in the console. Here's an example:   
  3.      last   


Enter the control panel - management tools - Event Viewer - Security - tool column view - Filter - event ID fill in any value to view the remote control login computer, user name and other information

fabulous ( seven )

This paper is written by Ji Changxin Creation, article address:
use Knowledge sharing signature 4.0 International license agreement. Except for the reprint / source, they are all original or translated by our website. Please sign before reprinting. The last editing time is: May 6, 2018 at 12:24 PM

Hot articles


1 comment, 0 visitor, 0 Blogger



I am a human?

Please wait three seconds after submitting to avoid unsuccessful submission and repetition