Host Security  «Prev 

Detecting Attacks[Different Techniques]

  1. Enter finger to see who is currently logged on to the system.
  2. The finger command shows who is currently logged in by listing their logins and names. It also shows when they logged in and if they are local or remote. If the user is remote, the name of the remote machine is also listed. This completes the Simulation.

Linux/Unix finger command

About finger
Lists information about the user.
Syntax
finger [-b] [-f] [-h] [-i] [-l] [-m] [-p] [-q] [-s] [-w] [username]

-b Suppress printing the user's home directory and shell in a long format printout.
-fSuppress printing the header that is normally printed in a non-long format printout.
-hSuppress printing of the .project file in a long format printout.
-i Force "idle" output format, which is similar to short format except that only the login name, terminal, login time, and idle time are printed.
-lForce long output format.
-mMatch arguments only on user name (not first or last name).
-pSuppress printing of the .plan file in a long format printout.
-qForce quick output format, which is similar to short format except that only the login name, terminal, and login time are printed.
-sForce short output format.
-wSuppress printing the full name in a short format printout.