FLOPPIX Home | FAQ | Download | Labs | ToC | Back |  Next 

Who's on Floppix


Notes:

who:  The who command shows everyone who is currently logged in.

finger:  The finger command displays data about users on the system. To view information about a specific user, enter the command:  finger <username>

last:  On a Linux system, a record of every login session is saved. To view this information, use the last command.

lastb:  The lastb command shows all of the invalid login attempts.

ps:  The ps command shows the processes that are running.


Exercises:

  1. Finger alterego and answer the following questions.
    1. is alterego logged in? _________________________
       
    2. when was the last time alterego logged in? _________________________
       
    3. does alterego have mail waiting? _________________________
       
    4. when was the last time alterego read mail? _________________________
       
    5. does alterego have a plan? _________________________
       
  2. What data does finger return about your own account? _______________________
     
  3. Use finger to determine if there is a user called superego? _____
     
  4. Create some data for the last command to display.
  5. Enter the command: last
    How many logins were recorded? _____
     
  6. Enter the command: lastb
    How many login attempts were recorded? _____
     
  7. Setup the system so alterego and floopy are doing something.
  8. On virtual console 1, enter the command: ps aux
    What are alterego and floopy doing?  _________________________
     
  9. Is lpd (the line printer daemon) running? _____


Questions & Answers:

  1. What command will show you who is currently logged in?
     
    Answer:  who
     
  2. What command will show you all of the failed login attempts?
     
    Answer:  lastb
     
  3. What command will show you all of the processes currently running?
     
    Answer:  ps aux
     
  4. What command will show you the last time alterego read mail?
     
    Answer:  finger alterego

Copyright © L. M. MacEwan
FLOPPIX Home | FAQ | Download | Labs | ToC | Back |  Next