Workbook 3 User and Groups : Chapter 3: Examining User Information Flashcards
What does the id command output?
determine a user’s membership information [20]
What commands can be used to determine who is logged in?
users: - Print a simple list of who is currently logged in.
who: - provides detailed information about who is currently logged on
w: - give more detail who is online
What does the finger command do?
to see not only if that user is logged on, but if
they have read their mail, what time they last logged in, and other information as well. [22]
In the who output, what is the USER field
The username of the logged on user.
In the who output TTY of the logged on user.
The terminal that the user logged in from
In the who output FROM of the logged on user
If the user is logged in over the network, the hostname that the user connected from.
In the who output LOGIN@ of the logged on user
The time that the user started the session.
In the who output IDLE of the logged on user
How much time has expired since the terminal has seen interaction.
In the who output JCPU of the logged on user
The amount of CPU time consumed by all currently running processes associated with
the terminal session.
In the who output PCPU of the logged on user
The amount of CPU time consumed by only the current process only, as named in the
“WHAT” field.
In the who output WHAT of the logged on user
The user’s currently running process.