Linux CLI - Users and GroupsYou want to secure a system by limiting user access. Which approach best uses user management to achieve this?ACreate separate user accounts with minimal permissions and use groups to control accessBAllow all users to share one admin account for convenienceCDisable user accounts and only use root for all tasksDRemove all users except guest to simplify managementCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand security best practicesLimiting user permissions and using groups helps control who can do what on the system.Step 2: Evaluate options for securitySharing admin accounts or using root for all tasks is risky. Removing users excessively limits functionality.Final Answer:Create separate user accounts with minimal permissions and use groups to control access -> Option AQuick Check:Least privilege + groups = secure user management [OK]Quick Trick: Use minimal permissions and groups to secure users [OK]Common Mistakes:Sharing admin accounts weakens securityUsing root for all tasks is unsafeRemoving users breaks system usability
Master "Users and Groups" in Linux CLI9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Linux CLI Quizzes File Permissions and Ownership - Numeric permission mode (755, 644) - Quiz 13medium File Permissions and Ownership - chmod (change permissions) - Quiz 12easy File and Directory Operations - mkdir (create directories) - Quiz 7medium Linux Basics and Terminal - Opening and using the terminal - Quiz 14medium Navigating the File System - Home directory (~) and shortcuts - Quiz 15hard Navigating the File System - Home directory (~) and shortcuts - Quiz 5medium Navigating the File System - Absolute vs relative paths - Quiz 9hard Users and Groups - sudo for elevated privileges - Quiz 2easy Users and Groups - su (switch user) - Quiz 10hard Users and Groups - useradd and userdel - Quiz 12easy