Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

4.3.1. User Accounts, Groups, and Password Policies

💡 First Principle: Every action on a server is performed as some identity. Proper account management—creating accounts with least privilege, organizing them into groups for manageability, and enforcing strong password policies—is the foundation of access control.

User Account Best Practices
  • Principle of Least Privilege: Accounts should have only the permissions they need to perform their function, nothing more. A service account that runs a backup job needs read access to data, not domain admin rights.
  • Named accounts: Every person should have a unique account. Shared accounts cannot be audited—you can't tell who did what.
  • Service accounts: Dedicated accounts for running services. Should have minimal permissions, long complex passwords, and ideally be restricted to specific systems.
  • Privileged accounts: Administrative accounts (domain admin, root) should be used only when needed and not for daily tasks.
User Groups

Groups aggregate users for permission management. Instead of assigning permissions to individual accounts (which doesn't scale), assign permissions to groups and add users to groups:

  • Security groups: Control access to resources
  • Distribution groups: Email distribution only (Exchange/Outlook)
Password Policies
Policy ElementPurposeCommon Requirement
Minimum lengthLonger passwords are harder to crack12+ characters for privileged accounts
ComplexityMix of character types increases entropyUppercase, lowercase, numbers, symbols
Password historyPrevents reuse of recent passwordsTypically last 24 passwords
Maximum ageForces periodic rotation90 days for standard, shorter for privileged
Lockout thresholdPrevents brute force attacksLock after 5–10 failed attempts
Lockout durationHow long lockout lasts15–30 minutes, or until admin resets

⚠️ Exam Trap: Account lockout protects against brute force but can also be used as a denial-of-service attack—an attacker who knows usernames can lock out all accounts intentionally. Balancing lockout threshold and duration requires considering both threat models.

Reflection Question: An administrator creates a single shared "backup" account used by all backup jobs across 20 servers. After a security incident, the security team cannot determine which server's backup job was used to access a restricted file share. What account management principle was violated?

Alvin Varughese
Written byAlvin Varughese
Founder18 professional certifications