Question 100
In an introductory Linux course scenario, the class finds: A teacher wants several students to share access to a project folder and types the desired group name into a directory filename, expecting the group to exist. What is the principal cause of this result?
Explanation
Correct Answer
The technical basis is: A Linux group is an account database entity with a group ID, not merely a label embedded in a file or directory name. Resolve this through: Create the approved group using groupadd or a supported account tool, then assign authorized members according to policy. The expected evidence is: The new group appears in group account records and selected test members have the intended group membership.
Incorrect Answers
The /etc/passwd database commonly exposes account names and IDs while protected password hashes belong in a more restricted /etc/shadow database. “Inspect approved account metadata through standard account tools without attempting to reveal password hashes or weaken shadow permissions” would remedy that alternative situation, but it would not correct the present issue: a Linux group is an account database entity with a group ID, not merely a label embedded in a file or directory name.
“Run the supported user creation process with approved home directory and account defaults, then verify the new entry through account tools” is the supported response when creating a filesystem directory does not create a Unix user identity with a UID, account database entry and login settings. Here the decisive response is “Create the approved group using groupadd or a supported account tool, then assign authorized members according to policy”, so that different intervention does not meet the stated requirement.
The passwd utility performs an authorized password update using the system's account authentication mechanisms rather than editing identity metadata as plain text. “Use passwd or the approved administrative reset workflow to change the appropriate account credential safely” applies to that other condition. The reported evidence is a teacher wants several students to share access to a project folder and types the desired group name into a directory filename, expecting the group to exist; this alternative would address the wrong dependency.