User and group accounts
Lesson 1 of 3 in objective 107. Administrative tasks, part of LPIC-1 Exam 102-500.
- Objective
- 107. Administrative tasks
- Share of the exam
- 20% (the whole objective)
- Questions in this lesson
- 11
- Signed for by a person
- 0
Partly checked. None of the 11 questions here has been read against the cited source by a person. 11 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.
Questions in this lesson
- The account alice already belongs to the supplementary groups audio and video. You must additionally put her in the group developers while keeping her existing memberships. Which command does that? machine-checked
- A departing employee's account bob must be deleted together with his home directory and mail spool. Which command does all of that in one step? machine-checked
- You want every newly created account to start with a company-standard .bashrc already in its home directory. Where do you place that file? machine-checked
- On a host whose accounts come partly from local files and partly from a directory service, `grep alice /etc/passwd` returns nothing even though `id alice` works. Which command shows alice's account entry the way the system itself resolves it? machine-checked
- Policy says passwords must be changed at least every 90 days, and the account carol must comply. Which command sets that maximum password age? machine-checked
- A line in /etc/group reads `developers:x:1500:alice,bob`. What does the final field contain? machine-checked
- Select the THREE statements that correctly describe /etc/shadow on a typical Linux system. machine-checked
- You must lock the password of the account bob so that he cannot authenticate with it, while leaving the account and its files in place. Select the TWO commands that achieve exactly that. machine-checked
- Using usermod, change the login shell of the existing account bob to /bin/zsh. Type the complete command (assume you are already root). machine-checked
- Create a new group named developers with the specific numeric GID 1500. Type the complete command. machine-checked
- As root, display the password aging information (last change, expiry, minimum and maximum age, warning period) for the account alice in readable form. Type the complete command. machine-checked
Drill this lesson
A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.
Practise User and group accounts
The rest of objective 107
- User and group accounts — you are here
- Scheduling jobs to run unattended
- Locales, character encodings and time zones