Bird
0
0

To automate user creation with specific permissions, which combination is best practice?

hard📝 Application Q9 of 15
Linux CLI - Users and Groups
To automate user creation with specific permissions, which combination is best practice?
ACreate user and disable all permissions
BCreate user and share the root password with them
CCreate user without groups and no password
DCreate user, assign to groups, set password, and configure sudoers file
Step-by-Step Solution
Solution:
  1. Step 1: Create user and assign groups

    Groups define what resources the user can access.
  2. Step 2: Set a secure password and configure sudoers

    Passwords protect accounts; sudoers file controls admin rights.
  3. Final Answer:

    Create user, assign to groups, set password, and configure sudoers file -> Option D
  4. Quick Check:

    Proper user setup = A [OK]
Quick Trick: Assign groups and configure sudoers for automation [OK]
Common Mistakes:
  • Sharing root password
  • Creating users without passwords
  • Disabling all permissions unnecessarily

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes