List of questions
Related questions
Question 324 - XK0-005 discussion
A Linux administrator is configuring a log collector agent to monitor logs in /var/log/collector. The agent is reporting that it cannot write to the directory. The agent runs as the logger user account. The administrator runs a few commands and reviews the following output:
makefile
Output 1:
drwxr-xr-x. 1 root root 0 Oct 20:13 collector
Output 2:
file: /var/log/collector
owner: root
group: root
user::rwx
group::r-x
mask::rwx
other::r-x
Output 3:
uid=1010(logger) gid=1010(monitor) groups=1010(monitor)
Which of the following is the best way to resolve the issue?
A.
setfacl -Rm u:logger /var/log/collector
B.
usermod -aG root logger
C.
chmod 644 /var/log/collector
D.
chown -R logger /var/log
Your answer:
0 comments
Sorted by
Leave a comment first