Linux CLI - Users and GroupsAs root, which command correctly changes the password for user bob?Apasswd --user bobBpasswd -u bobCpasswd --change bobDpasswd bobCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify correct syntaxThe standard syntax to change a user's password as root is passwd username.Step 2: Review optionsOptions B, C, and D use invalid or non-existent flags for passwd.Final Answer:passwd bob -> Option DQuick Check:passwd username changes that user's password [OK]Quick Trick: Use 'passwd username' as root to change password [OK]Common Mistakes:Using incorrect or unsupported flagsTrying to use passwd without specifying userAssuming passwd needs extra options for root
Master "Users and Groups" in Linux CLI9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Linux CLI Quizzes File and Directory Operations - cp (copy files and directories) - Quiz 2easy File and Directory Operations - Why file management is daily work - Quiz 2easy File and Directory Operations - ln (hard and symbolic links) - Quiz 5medium Linux Basics and Terminal - Linux distributions overview (Ubuntu, CentOS, Fedora) - Quiz 10hard Linux Basics and Terminal - Opening and using the terminal - Quiz 5medium Linux Basics and Terminal - Terminal vs GUI - Quiz 1easy Navigating the File System - Why file system navigation is the first skill - Quiz 5medium Users and Groups - groups and group management - Quiz 14medium Viewing and Editing Files - cat (display file contents) - Quiz 14medium Viewing and Editing Files - tail -f for live log monitoring - Quiz 11easy