20+ practice questions focused on Security And File Permissions — one of the most tested topics on the LPI Linux Essentials (010-160, v1.6) (010-160) exam. Each question includes a detailed explanation so you learn why the right answer is correct.
Start Security And File Permissions PracticeA user reports they cannot execute a script named 'deploy.sh' even though the file permissions are set to 644. What must you change to enable execution for the owner?
Explanation: Permissions 644 give the owner read and write (6) but no execute, so the script cannot run. To enable execution for the owner while keeping read/write, you need 7 (rwx) for the owner, giving 744 — read and execute for group and others.
Which TWO of the following files are essential for basic user and group management?
Explanation: /etc/passwd (option D) is essential because it stores the basic user account database, mapping usernames to UIDs, primary GIDs, home directories, and login shells, which is fundamental to user management. /etc/group (option B) is equally essential because it defines group entries, mapping group names to GIDs and listing their member users, which is required for group management. Together these two files provide the core identity and membership data used by tools like useradd, usermod, groupadd, and groupmod. The other options do not belong: /etc/hosts (A) is for static hostname-to-IP resolution, /etc/fstab (C) defines filesystem mount configuration, and /etc/shadow (E) stores password hashes and aging data—important for authentication but not part of the basic user/group identity database.
Which command would you use to change the expiration date of a user's password?
Explanation: chage (change age) is the dedicated tool for viewing and modifying password-aging parameters, including expiration dates, minimum/maximum days between changes, and warning periods. Running 'chage -E 2025-12-31 user' sets the account expiration, and 'chage -l user' lists current aging settings.
Which TWO of the following characterize the 'root' user in Linux?
Explanation: Option A is correct because the root user bypasses the normal discretionary access control checks on files and directories — the kernel grants root (UID 0) access regardless of the read/write/execute permission bits, so file permissions cannot restrict it. Option B is correct because the superuser account is defined by having UID 0 in /etc/passwd; the kernel identifies root by this numeric UID, not by the account name. Option C is wrong because root can be locked (e.g., with 'passwd -l root' or by prefixing the password hash in /etc/shadow with '!' or '*'), which blocks password-based logins. Option D is wrong because root's login shell is configurable in /etc/passwd and can be /bin/sh, /bin/zsh, /sbin/nologin, or anything else. Option E is wrong because root's group membership is defined by its primary GID (typically 0/root) and supplementary groups in /etc/group, and it is not inherently a member of the 'users' group.
A junior administrator runs `ls -l /srv/payroll` and sees the permissions string `drwxrwx---` with owner `hr` and group `finance`. A member of the group `audit` needs read access to files inside this directory, and you must accomplish this without altering the permissions of any files already inside. Which approach meets the requirement?
Explanation: Directory group permissions are evaluated against the accessing account's group memberships, so bringing the audit user into the finance group gives them exactly the rwx access the group already holds on /srv/payroll. Because supplementary groups are assigned at session start, the user must obtain a new login session. No existing file's permission bits or ACLs are modified, which is what the constraint demands.
+15 more Security And File Permissions questions available
Practice all Security And File Permissions questions1. Baseline your knowledge
Start with 10 questions to gauge your current understanding of Security And File Permissions. This tells you whether you need a concept refresher or just practice.
2. Review every explanation
For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.
3. Focus on exam traps
Security And File Permissions questions on the 010-160 frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.
4. Reach 80% consistently
Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.
The exact number varies per candidate. Security And File Permissions is tested as part of the LPI Linux Essentials (010-160, v1.6) (010-160) blueprint. Practicing with targeted Security And File Permissions questions ensures you can handle any format or difficulty that appears.
Yes. Courseiva provides free 010-160 practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.
Difficulty is subjective, but Security And File Permissions is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.
Launch a full Security And File Permissions practice session with instant scoring and detailed explanations.
Start Security And File Permissions Practice →