Linux_FoundationLinux_Foundation
LFCS · Question #388
LFCS Question #388: Real Exam Question with Answer & Explanation
Sign in or unlock LFCS to reveal the answer and full explanation for question #388. The question stem and answer options stay visible for context.
Submitted by certguy· Apr 18, 2026Operation of Running Systems
Question
An unprivileged user issued a command which produced the following log message: avc: denied { getattr } for pid=984 exe=/usr/bin/vim path=/etc/shadow dev=03:01 ino=134343 scontext=hugh:user_r:user_t tcontext=system_u:object_r:shadow_t tclass=file What does the message mean?
Options
- AUser hugh was not running in a security context that permitted reading the file.
- BUser hugh only needs to switch to the object_r role in order to edit /etc/shadow.
- CThe security context for hugh is misconfigured and needs access to read any system file.
- DUser hugh was not running in a security context that permitted writing to the file.
Unlock LFCS to see the answer
You've previewed enough free LFCS questions. Unlock LFCS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#SELinux#Access Control#AVC message#Security Context