CompTIA Linux+ XK0-005 Practice Question
Which file should be reviewed to understand the historical logins on a Linux system, including the source IP addresses of the connecting clients?
/var/log/utmp
/var/log/wtmp
/var/log/btmp
/var/log/secure
Which file should be reviewed to understand the historical logins on a Linux system, including the source IP addresses of the connecting clients?
/var/log/utmp
/var/log/wtmp
/var/log/btmp
/var/log/secure
The /var/log/wtmp
file holds records of logins and logouts. Using the last
command can display the contents of this file, providing information about user logins, their source IP addresses, and logout times, which is why it's essential for understanding historical logins. Other files like /var/log/btmp
and /var/log/utmp
serve different purposes; /var/log/btmp
keeps track of failed login attempts, and /var/log/utmp
contains information about current logins.
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
All Information Technology Package plans include the following perks and exams.
Our pricing is simple. Full access to all certifications and exams in each package, for one price.
As many practice tests for as many topics as you want.
Use study mode non-stop, no limits.
Access to our AI assistant, Bash, trained to help you pass your exam.
Track your scores over time in study mode and report cards.
See how you improve over time, and where you need to focus.
Access our store with even bigger discounts than before.
Unlimited access to all performance questions and be prepared for the real thing.
All Information Technology Package plans include unlimited access to the following study materials.
Create an account or sign in to access our study materials.