Identifying the tool that triggers /etc/shadow Permission denied

SY0-701 By islever Editorial Last updated

Short answer

D A password cracker tried to read the root-only /etc/shadow password-hash file and was blocked by file permissions.

Question

A security administrator is performing an audit on a stand-alone UNIX server, and the following message is immediately displayed:
(Error 13): /etc/shadow: Permission denied.
Which of the following best describes the type of tool that is being used?
  1. Pass-the-hash monitor
  2. File integrity monitor
  3. Forensic analysis
  4. Password cracker Correct Answer

Key Takeaways

This item tests whether you identify a tool by its target file and error semantics rather than by the word audit; the trap is assuming any restricted-file read during an audit must be a file integrity monitor.

On a stand-alone UNIX server, Error 13 on /etc/shadow means an unprivileged process tried to read the password-hash file. The correct choice is D, Password cracker, because the target file and errno-13 read failure describe hash extraction, not integrity auditing.

Common mistake: Choosing B, File integrity monitor, because audits commonly use FIM on critical files like /etc/shadow. A privileged FIM reports baseline hash or permission changes rather than a raw Permission denied read failure, so errno 13 on /etc/shadow does not describe FIM behavior.

Expert Analysis

Why B looks right, and where it stops

The audit framing makes B, File integrity monitor, feel like the professional answer. A FIM tool walks a monitored file list, hashes each file or checks its metadata against a stored baseline, and compares the current state with the last known good state. /etc/shadow is exactly the kind of critical, permission-restricted file that belongs on that list, and running as an unprivileged auditor account the tool would hit Error 13: Permission denied on a file whose mode is 000 or 0400 owned by root. FIM is also the only option that fits the stated activity: an audit, not an attack. The commenter who argues that a security administrator would "have quite a few more reasons" to use a FIM than a cracker during an audit, and that you would "want to see Permission Denied if you're auditing," captures why B is the attractive choice.

The problem is that a properly configured FIM does not produce that message as a normal result. It runs privileged (root or a service account granted read access), records a hash baseline for /etc/shadow, and reports a modification or permission change — not a raw errno-13 read failure. A FIM that cannot read a monitored file is misconfigured, so the tool failing here was never doing integrity monitoring. That single point is where B stops being correct.

Why D fits every literal detail

D, Password cracker, matches all three hard facts: the target is /etc/shadow, which exists solely to hold salted password hashes; the operation is a read of that file; and the failure is insufficient privilege (EACCES, errno 13) because only root may read it. A cracker operating from an unprivileged shell produces precisely this error before it can even copy the hashes for offline attack. Option A is wrong because pass-the-hash replay operates on captured hashes during authentication, never on the file. Option C is wrong because forensic imaging uses block-level acquisition with raw read access, not a targeted file-open error. The deciding clue is the target file, not the word "audit".

Exam Strategy

Anchor on the concrete artifact named in the error, not on the scenario's job title. When a question gives an errno or path, ask what legitimately reads that path: /etc/shadow exists to hold hashes for offline cracking, so pair it with option D. Then test the story the other options tell — a FIM needs root and reports changes, pass-the-hash never opens the file, and forensics acquires blocks — and eliminate whichever option's normal operation contradicts the exact error shown.

Frequently Asked Questions

Why doesn't Error 13 on /etc/shadow indicate a file integrity monitor?

A FIM runs with sufficient privilege to read /etc/shadow and compares hashes or metadata against a baseline, reporting changes rather than a Permission denied read failure. Getting errno 13 means the process lacked access, which is the signature of an unprivileged reader such as a cracker.

What does errno 13 (EACCES) mean on a UNIX system?

Error 13 is EACCES: the kernel denied the requested file access because the calling process's permissions did not allow it. For /etc/shadow, mode 000 or 0400 owned by root means only root may open it for reading.

Why is pass-the-hash not the answer here?

Pass-the-hash replays an already-captured hash during authentication to a remote service; it never opens /etc/shadow on disk. The error in this scenario is a direct file read attempt, which rules out option A.

More SY0-701 FAQ →

Community Votes

B
54%
D
46%

54% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 29 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 29

  1. Cyberity 👍 12 Answered D
    Password crackers often attempt to access this file to obtain hashed passwords for cracking.
  2. laternak26 👍 4 Answered D
    D. Password cracker: A password cracker tool is used to attempt to recover passwords from hashed password files. In the case of UNIX-based systems, the /etc/shadow file typically stores user passwords in a hashed format. If a security administrator or attacker is trying to analyze this file, they might encounter the "Permission denied" message if they do not have sufficient privileges to access it. This suggests that the tool being used is likely attempting to crack or analyze the passwords stored in the /etc/shadow file, and it's encountering permission issues. Why not B. File integrity monitor: A file integrity monitor typically checks whether critical system files have been modified. It wouldn't be used to crack passwords or access /etc/shadow in this way, and it wouldn’t typically result in a "Permission denied" error unless there’s an attempt to modify files rather than just monitor them.
  3. c7b3ff0 👍 4 Answered B
    I don't know why so many of you think that a security administrator would use a password cracker during an audit, but I bet there are quite a few more reasons they would use a file integrity monitor during an audit. That would probably need to be given permissions to access a restricted file like /etc/shadow before they ran it, and if they didn't give them, I bet it would kick out a don't touch me error just like this. Answer is B.
  4. prabh1251 👍 4 Answered D
    (Permission Denied) happens when you try to access or modify /etc/shadow, which is a highly restricted system file that stores hashed passwords for user accounts.
  5. AndyK2 👍 4 Answered B
    Strange, Claude says it's FIM. But ChatGPT says Password Cracker. I'd go with FIM - since it makes more sense.
Show 24 more comments
  1. Foreversmall 👍 3 Answered B
    both B and D could theoretically trigger the error, the context of a security audit strongly aligns with File integrity monitor (B). FIM tools are standard components of audits to ensure file integrity, whereas password crackers are more situational and less likely to be the focus of a general audit. The error reflects a permissions issue during routine integrity checks, making B the best answer. Answer: B. File integrity monitor
  2. oreinn 👍 3 Answered B
    B. File integrity monitor The error message indicates an attempt to access the /etc/shadow file, which stores password hashes and is typically restricted. A file integrity monitor checks for unauthorized access or changes to critical system files like /etc/shadow, which aligns with the scenario described.
  3. Zeilos 👍 3 Answered D
    /etc/shadow is a sensitive system file that stores hashed passwords. The error we're seeing is a normal permission denied message, not from a monitor. For that reason, I'm eliminating A and B. I don't see how this could be a forensic analysis but etc/shadow is a common target for a password cracker.
  4. pindinga1 👍 3 Answered D
    The context based, the question says “tool” used for analysis. For my is D pssword cracker.
  5. fmeox567 👍 2 Answered D
    D. Password cracker Explanation: The message /etc/shadow: Permission denied indicates that the tool is attempting to access the /etc/shadow file, which typically contains password hashes for user accounts on a UNIX/Linux system. In a normal scenario, this file is restricted to root or privileged users to prevent unauthorized access. This kind of message is commonly seen when a password cracker is trying to access the /etc/shadow file to extract password hashes for the purpose of cracking them (typically using brute force or dictionary attacks). The "Permission denied" error indicates that the tool lacks sufficient privileges to access the file, which is a normal security measure to protect sensitive data.
  6. dbrowndiver 👍 2 Answered D
    The /etc/shadow file stores encrypted passwords and is protected with strict permissions to prevent unauthorized access. • Scenario Application: The error message (Error 13): /etc/shadow: Permission denied indicates that the tool being used attempted to access the /etc/shadow file but failed due to insufficient permissions. This behavior is consistent with a password cracker attempting to retrieve password hashes for analysis or cracking.
  7. Gman530 👍 2 Answered B
    A file integrity monitor would attempt to read the contents of etc/shadow while doing integrity checks, this may fail due to insufficient permissions. - File Integrity monitor matches the activity of an administrator performing an audit. - Password Cracking is more aligned with pentesting than auditing.
  8. Ty13 👍 2 Answered B
    B. File Integrity Monitoring The /etc/shadow file stores encrypted user passwords, and you can only access it as root. If you're checking file integrity, you're checking the permissions are still properly set and haven't been changed. You WANT to see 'Permission Denied' if you're auditing the system.
  9. 1798e2e 👍 2
    They use password crackers during audits to ensure compliance is actually being honored. it's far easier to challenge something in an ACTIVE way than it is to defensively go through each system. Not to mention that just because something says it's working means that it actually is.
  10. Eracle 👍 2 Answered B
    Why not D option: a password cracker attempts to crack passwords, not read the file directly. A password cracker typically operates on a copy of the /etc/shadow file (or extracted hashes) and would not generate a “Permission denied” error during its cracking operation.
  11. shkejo 👍 2 Answered D
    It said Permission Denied, so John or something else is used to crack password. If FIM it would said Mismatch or File Modified. DDDD
  12. DouglasD 👍 2 Answered D
    Programas de quebra de senhas frequentemente tentam acessar esse arquivo para obter senhas criptografadas para posterior quebra.
  13. prabh1251 👍 2 Answered B
    password cracker was running, it would likely try to read or copy the /etc/shadow file, rather than just check permissions.
  14. User92 👍 2 Answered D
    Password crackers often attempt to access the /etc/shadow file to retrieve hashed passwords for cracking.
  15. AZZ99 👍 2 Answered D
    Copy pasted to ChatGPT and the answer is D. Make sense to me.
  16. cyberWoof 👍 2 Answered B
    File integrity monitor
  17. TIS2478 👍 2 Answered B
    I go to B
  18. mejestique 👍 1 Answered B
    B. File integrity monitor Explanation: The "/etc/shadow: Permission denied" error suggests that the tool is trying to access the /etc/shadow file, which stores password hashes on a UNIX system and is highly restricted. A File Integrity Monitor (FIM) checks system files for unauthorized changes, access attempts, or modifications. Since the security administrator is conducting an audit, a FIM tool is likely being used to ensure that critical system files (like /etc/shadow) have not been altered.
  19. oikj 👍 1
    While FIM could theoretically generate a "permission denied" error if misconfigured, the presence of the error immediately following access attempts on /etc/shadow is more indicative of a password-cracking attempt than standard FIM activity in this context.
  20. Despho 👍 1 Answered D
    The /etc/shadow file in UNIX/Linux stores user password hashes. It is normally restricted to privileged accounts because exposing it could allow attackers to attempt offline password cracking.
  21. PromiseLive10 👍 1 Answered B
    The Answer is B due to it the /etc/shadow which indicates a file directory
  22. FrozenCarrot 👍 1 Answered B
    The /etc/shadow is a text-based password file.
  23. Burnboy 👍 1 Answered B
    B. File integrity monitor
  24. 850bc48 👍 1
    D. password cracking

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All SY0-701 Questions

Access 100 questions with complete answers and detailed explanations.

View Full SY0-701 Practice Test →

← Back to SY0-701 Study Guide