Information Technology Reference
In-Depth Information
Question 3
What is the /var/adm/loginlog file used to log?
A.
Logins
B.
Logouts
C.
Failed logins
D.
Successful logins
E.
All logins and logouts
The correct answer is C. The last command is used to determine logins
(answers A and D), logouts (answer B), and both logins and logouts (answer
E). In addition, the who command can be used to identify users currently
logged onto the system.
Question 4
To restrict logging in directly as root to the system console, which file needs to
be modified?
A.
/dev/console
B.
/etc/passwd
C.
/etc/default/login
D.
/etc/default/su
The correct answer is C. Answer A is the pathname for the console. Answer
B is the password file, and answer D is the file that controls the behavior of
the su command.
Question 5
Which command shows all the users who are currently logged into the system?
[Select all that apply.]
A.
who
B.
last
C.
whodo
D.
id
The correct answers are A, B, and C. Answer D shows the real and effective
UID, GID, and groups for a specified user account.
Search WWH ::




Custom Search