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:
-
Finger alterego and answer the following questions.
-
is alterego logged in? _________________________
-
when was the last time alterego logged in? _________________________
-
does alterego have mail waiting? _________________________
-
when was the last time alterego read mail? _________________________
-
does alterego have a plan? _________________________
-
What data does finger return about your own account?
_______________________
-
Use finger to determine if there is a user called superego? _____
-
Create some data for the last command to display.
-
Login and logout a few times as yourself, alterego and floopy.
-
Make a few mistakes logging in.
-
Enter the command: last
How many logins were recorded? _____
-
Enter the command: lastb
How many login attempts were recorded? _____
-
Setup the system so alterego and floopy are doing something.
-
Logon as alterego on virtual console 2 and startup vi .
-
Logon as floopy on virtual console 3.
-
On virtual console 1, enter the command: ps aux
What are alterego and floopy doing? _________________________
-
Is lpd (the line printer daemon) running? _____
Questions & Answers:
-
What command will show you who is currently logged in?
Answer: who
-
What command will show you all of the failed login attempts?
Answer: lastb
-
What command will show you all of the processes currently running?
Answer: ps aux
-
What command will show you the last time alterego read mail?
Answer: finger alterego
Copyright © L.
M. MacEwan