With SELinux, what is the command that is used for changing the context of a file? (Specify the command only, with no path information or arguments) Answer: chcon chsid setfattr A. 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?"

🎲 Try a Random Question  |  Total Questions in Quiz: 415  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Exam LX0-104: CompTIA Linux+ — practice the complete quiz, review flashcards, or try a random question.


With SELinux, what is the command that is used for changing the context of a file? (Specify the command only, with no path information or arguments) Answer: chcon chsid setfattr A. 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?"