Bird
0
0

Which user can change the password of another user using the passwd command?

easy📝 Conceptual Q2 of 15
Linux CLI - Users and Groups
Which user can change the password of another user using the passwd command?
AAny user can change any password
BOnly the root user or users with sudo privileges
COnly the user themselves
DNo one can change another user's password
Step-by-Step Solution
Solution:
  1. Step 1: Identify who can change other users' passwords

    Only the root user or users with sudo privileges can change passwords for other users.
  2. Step 2: Understand normal user limitations

    Normal users can only change their own passwords, not others'.
  3. Final Answer:

    Only the root user or users with sudo privileges -> Option B
  4. Quick Check:

    Permission to change others' passwords = Root or sudo [OK]
Quick Trick: Root or sudo needed to change others' passwords [OK]
Common Mistakes:
  • Assuming any user can change others' passwords
  • Thinking normal users can change others' passwords
  • Believing no one can change others' passwords

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes