User Accounts, Roles, and Two-Factor Authentication: Why Not Everyone Needs Admin

User Accounts, Roles, and Two-Factor Authentication: Why Not Everyone Needs Admin

Module 8 · Lesson 2

Most households running Home Assistant share a single admin login across every family member, phone, and wall tablet. This lesson explains why that's a habit worth breaking, and walks through setting up proper accounts, roles, and two-factor authentication.

Where users live in Home Assistant

User accounts live under Settings, then People, then Users, a separate area from the entities and devices Module 6 covered. Each user gets their own username, password, and permission level, and, critically, their own two-factor authentication setup and their own login history, letting you see exactly who accessed the system and when, something a single shared login can never give you.

The administrator account

Your original account, created during installation back in Module 5, is an administrator account, with full access to settings, integrations, add-ons, and every other user's account. Treat it the way you'd treat the keys to your actual front door, it's the single account that, if compromised, gives an attacker complete control. This is the account that most needs the strong password and two-factor authentication Lesson 3 covers in depth, and it's worth being the only administrator account in most households, rather than granting that level of access broadly.

The household member account

Create a non-administrator account for each other adult in the household, giving them full dashboard access, the ability to toggle devices and run automations, without the ability to change integrations, add-ons, or other users' accounts. This is the right balance for most partners and roommates, genuine day-to-day control without the risk of an accidental configuration change, or a compromised account, cascading into full system access.

The wall tablet account

If you run a dedicated wall-mounted tablet or kiosk dashboard, give it its own non-administrator account rather than logging in as yourself. A tablet mounted in a hallway is physically accessible to anyone in your home, guests included, and a dedicated account with limited permissions means that physical access never translates into administrator-level control over your entire system. It also means you can revoke just that one account instantly if the tablet is ever lost or replaced, without touching anyone else's login.

The emergency account

Consider creating one additional administrator account, used for nothing day to day, with its own strong password and two-factor authentication, and its credentials written down somewhere secure and physical, not just in your head or a single phone. If your primary account ever becomes inaccessible, a forgotten password, a lost two-factor device, this emergency account is your way back in without needing Home Assistant's more involved account recovery process, covered further in Lesson 7's emergency plan.

Two-factor authentication

Enable two-factor authentication from your user profile, under Settings, then your account, then Multi-factor authentication modules, using a time-based one-time code app, most authenticator apps work, scanned once as a QR code. From then on, logging in requires both your password and a fresh six-digit code from your phone, meaning a leaked password alone is no longer enough to get in, exactly the extra layer that stopped the credential-stuffing attempt in Lesson 1's real story. Enable it on every administrator account without exception, and strongly consider it for household member accounts too.

The shared family account problem

A single shared login, used by everyone in the household on every device, is convenient right up until something goes wrong: you can't tell which family member changed a setting, you can't revoke access for just one person without locking out everyone, and if that one password leaks, every device logged in with it is compromised simultaneously. Splitting into individual accounts, exactly as this lesson recommends, takes perhaps only fifteen minutes total and removes this entire category of problem permanently, for good.

Accounts for kids and guests

For kids old enough to want their own dashboard access, a non-administrator account with a simple, age-appropriate password works well, and it's genuinely useful to be able to remove or reset it independently as they grow. For guests staying temporarily, consider a dedicated guest account rather than sharing your own, and remove it once they've left, exactly the kind of stale, forgotten account Lesson 1 flagged as an inside threat genuinely worth taking seriously.

A mini scenario: auditing a real household

One reader in this course's community sat down with this lesson and found four accounts total: their own administrator account, a shared login their partner also used, an account created eighteen months earlier for a house-sitter who'd since moved away, and no account at all for the wall tablet, which had been left logged in as the original administrator the entire time. The audit took under twenty minutes: a proper account for their partner, the house-sitter's account deleted, a limited account for the tablet, and two-factor authentication finally enabled on the one account that actually needed it most.

What to save in your notebook

Add an Accounts section to the "Home Assistant Server" notebook Module 6 started, listing who has which account, whether it's an administrator or household member account, and whether two-factor authentication is enabled on it. Note the emergency account's existence too, without ever writing its actual password down there, that specific detail belongs somewhere far more secure, like a proper password manager, covered next in Lesson 3.

What we're not touching today

This lesson doesn't cover fine-grained per-entity permissions, restricting a specific account to only certain lights or locks, Home Assistant's built-in role system is intentionally simpler than that, administrator or not, and more granular control generally requires custom dashboard configuration beyond this course's scope. It also doesn't touch voice assistant accounts or third-party app logins, those are covered when relevant in later modules.

Exercise

Run the same audit from this lesson's scenario on your own household right now: list every account under Settings, then People, note who it actually belongs to, whether it's still needed, and whether two-factor authentication is on. Create or fix accounts as needed, then update your notebook with the result.

Two-factor authentication recovery codes

When you enable two-factor authentication, Home Assistant generates a set of one-time recovery codes alongside it, meant for exactly the situation where your phone with the authenticator app is lost, broken, or simply out of battery at the worst possible moment. Write these codes down somewhere physical and secure, not as a screenshot sitting in your phone's camera roll, since a lost phone would then take both your authenticator and your recovery codes with it at once. Store them alongside the emergency account credentials from earlier in this lesson, treating both as the kind of thing you genuinely hope to never need but would be glad to have during an actual lockout.

Reviewing login activity regularly

Each user account keeps a record of recent login attempts, both successful and failed, visible from that account's own profile page. Make a habit of glancing at this occasionally, particularly on your administrator account, the same habit that caught the credential-stuffing attempt in Lesson 1's real story before it went anywhere. A cluster of failed attempts you don't recognize is worth taking seriously, changing that account's password and confirming two-factor authentication is active are the right immediate responses, well before assuming the worst but also well before ignoring it entirely.

A real story: the account nobody remembered

A reader in this course's community moved apartments and, months later, while working through this lesson, found an administrator-level account still active under a former roommate's name, created together during initial setup and simply never removed after that roommate moved out. Nothing had gone wrong, the former roommate had no reason to misuse it, but the account sat there for the better part of a year as an unnecessary, unmonitored point of access to their entire smart home, invisible unless someone specifically went looking for it the way this lesson's exercise asks you to. Removing it took under a minute once found, the harder part was simply remembering to look in the first place, which is exactly why this lesson turns that lookup into a repeatable exercise rather than something you do once and forget.

Accounts across the mobile app and multiple devices

Each family member's account can be logged into the Home Assistant mobile app on their own phone independently, using the same account credentials this lesson just set up, and each device's login shows up separately in that account's session list, covered in more depth in Lesson 3. This means a single person can be logged in on both a phone and a tablet simultaneously under one account, while still keeping entirely and cleanly separate from every other household member's own individual account and its own specific permissions, exactly the separation this lesson has been building carefully toward from its very first section onward.

Renaming and organizing accounts sensibly

Give each account a clear display name rather than a generic default, "Kitchen Tablet" or "Sarah" rather than "User" or "Admin2", following the same naming clarity Module 6 established for entities and devices. This matters more than it might seem, when you're glancing at login history or deciding whose account to adjust, a clearly labeled list saves real confusion compared to a row of ambiguous, similarly-named accounts you have to click into individually just to figure out who's who.

What role separation doesn't protect against

It's worth being honest about the limits of what this lesson covers. A non-administrator account can still toggle every light, lock, and switch it has dashboard access to, role separation in Home Assistant limits configuration changes, not day-to-day device control, so it won't stop a household member account from, say, accidentally unlocking the front door through the dashboard. That's a genuinely different problem, closer to a household communication and dashboard-design issue than a security one, and it's worth keeping that distinction in mind so you don't over-rely on account roles to solve a problem they were never designed to solve in the first place.

Removing an account safely

When a household member moves out, a guest's stay ends, or a device like the wall tablet gets replaced, delete that specific account entirely from Settings, then People, rather than simply changing its password and leaving it dormant, exactly the stale-account pattern this lesson's real story warned about. Deleting an account revokes every active session tied to it immediately, on every device it was logged into, which is meaningfully more thorough than a password change alone, since a device that was already logged in would otherwise keep working right up until its session naturally expires on its own.

How this fits together with Lesson 3

This lesson deliberately stopped short of covering password strength, password managers, and long-lived access tokens in depth, those are substantial enough topics to deserve Lesson 3's full, undivided attention. What matters for now is that the account structure exists first, a strong password on a shared, poorly separated account is still a meaningful improvement over a weak one, but it's only half the picture, and Lesson 3 completes the other half.

Accounts and the notebook habit, longer term

The account audit this lesson walked you through isn't a one-time event, worth repeating roughly every few months, or any time a household member's circumstances change, a move, a new roommate, a house-sitter arrangement that's ended. Add a recurring reminder to your calendar if that's the kind of thing you'd otherwise forget, and treat it with the same light regularity as checking for smoke detector batteries, a small, occasional task that quietly prevents a much bigger problem down the line. Your notebook entry from earlier in this lesson makes each future audit faster too, since you'll be comparing against a clearly known-good baseline rather than starting the entire review from scratch every single time you sit down to do it.

Why individual accounts matter even in a single-person household

If you live alone, it's tempting to skip most of this lesson entirely, there's no family member to separate from an administrator account. But a separate wall tablet account, an emergency account, and two-factor authentication on your one real account still matter just as much, a single-person household is no less exposed to a credential-stuffing attempt or a lost phone than a larger one, and in some ways has less redundancy if that one account becomes inaccessible. The specific scenarios described throughout this lesson may apply somewhat less directly to a household of one, but its underlying habits remain genuinely universal regardless of exactly how many people actually live in your home day to day.

Key takeaways

Give each household member and each wall tablet its own account, not one shared login.

Enable two-factor authentication on every administrator account without exception.

Keep one backup administrator account, credentials stored securely and physically.

Remove stale accounts for former guests or house-sitters as soon as they're no longer needed.

With accounts properly separated across your whole household, Lesson 3 covers passwords, long-lived tokens, the mobile app, and exactly what to do the very moment a phone goes missing or gets stolen.

Finished this lesson?