Users

The console has no users of its own: it uses the appliance’s Unix accounts and checks them with PAM, like a login on the local console. Those who can enter…

The list of usersThe list of users
The list of users

Who can enter the console

The console has no users of its own: it uses the appliance’s Unix accounts and checks them with PAM, like a login on the local console. Those who can enter are:

  • root;
  • the members of the sudo group who have a usable password.

No other account of the appliance can enter, even with the right password. Whoever enters the console has the same powers as root: the console runs as root, and an account in the sudo group can do everything with sudo anyway. That is why the two rights are not granted separately.

Group membership and the account’s state are read again at every request, not only at login: an account that is disabled, deleted or removed from the group also loses its open sessions within a few seconds. A session lasts at most 8 hours.

The same accounts are valid for SSH, which however never asks for the second factor (see below).

The list

System → Users lists root and the accounts with a uid from 1000 to 60000, that is those created by an operator; the accounts of the system services do not appear. For each account the list shows “Account name”, “Full name”, “uid” and three status columns:

  • “console”: “Enabled” if the account is among those that can enter the console (root and the sudo group);
  • “2FA”: “Enabled” if it has enabled two-factor authentication;
  • “State”: “Enabled”, or “disabled” (the account is disabled) or “no password” (the account has no password, so nobody can use it).

In the figure, the example company’s appliance: root, lwhite (Laura White) and pblack (Paul Black) enabled, Laura and Paul with “2FA”; jgreen (Jack Green) is still in the sudo group (“console” “Enabled”) but is “disabled”, so he does not get into the console.

The list’s bar holds the search (by name, full name or uid), “Reload” and, on the right, “Add user” (+ icon). Selecting an account opens its detail, titled “Users / name”, with “Delete user” (bin icon) on the right.

Creating an account

  1. Press “Add user”. The detail opens as “Users / New user”.
  2. Type the “Account name”: it starts with a lowercase letter or _, then lowercase letters, digits, - and _, at most 32 characters. It cannot be changed later: the home directory, files and cron jobs are tied to the name.
  3. Type the “Full name” (optional; no colons, commas, tabs or line breaks).
  4. Type the “Password” and repeat it in “Repeat password”.
  5. Press “Create user”.

Every account created here is an administrator: it joins the sudo group, and therefore the console, and has /bin/bash as its shell. The page creates no accounts without console access, and a save never changes the group or the shell of an existing account.

Changing, disabling, deleting

In the detail of an existing account the name cannot be edited; the “Account” line shows the uid and the home directory. You can change:

  • “Full name”;
  • the password: type it in the two fields; leave them empty to keep the current one. A new password does not re-enable a disabled account: the switch does;
  • “Account disabled”: on, the password is locked and the account expired, so no login, no console and no SSH, not even with an SSH key. The account and its files remain. Switching it off re-enables the account; if the account has no password, you must give it one in the same save.

When you change something, “Restore” appears, which brings the form back to the saved values; “Save user” saves. Changes take effect at once, without “Apply”.

“Delete user” asks for confirmation: its home directory, its local mailbox and its second factor go with the account, and every session it has open on the console ends. An account created later under the same name starts without a second factor.

Password rules

A new password must have:

  • at least 8 characters;
  • at least one uppercase and one lowercase letter;
  • at least one symbol among @ # * + _ = | ? ^ $ % & ( ) - [ ] { } < > ! , . :;
  • nothing other than letters, digits and those symbols: no spaces, accented letters, / or quotation marks.

Digits are allowed but not required. A valid example: Example-2026!.

The password never travels on a program’s command line: it is given to chpasswd on its input, so that no other user of the appliance can read it in the process list.

The checks that protect you

The page refuses a save that would leave the appliance with nobody able to get in, or that would lock you out:

Message When
“This is the last account that can sign in to the console: the appliance would lock everyone out” You are disabling or deleting the only remaining account that can get in (console access, not disabled, with a password).
“You cannot disable the account you are signed in with” The “Account disabled” switch is locked on your own account.
“You cannot delete the account you are signed in with” The bin button is disabled on your own account.
“A user or group with this name already exists” The name is already used on the appliance.
“The two passwords differ” The two password fields are different.
“This account has no password: set one to enable it” You are re-enabling an account without a password.
“This account no longer exists” Another session deleted it in the meantime.

The last-administrator check is made at the moment of writing, not on the data the page had loaded: two operators saving at the same time cannot each remove one of the last two administrators.

Root and the system accounts

root is a system account: it belongs to the distribution, and only its password is managed here (the page says so with “A system account is the distribution’s: only its password is managed here”). It cannot be disabled or deleted from this page.

Warning root’s password is valid outside the console too: on the appliance’s local console and, on an appliance installed from the ISO, over SSH as well. If you change it, make sure you have written it down somewhere safe before closing the session.

Two-factor authentication

The second-factor panel in a user's detailThe second-factor panel in a user's detail
The second-factor panel in a user's detail

Besides the password, the console can ask for the six-digit code of an authenticator app (TOTP): Atlas Caveau (EDON Atlas’s password manager, which also generates TOTP codes), Google Authenticator, Microsoft Authenticator, FreeOTP, 1Password or any compatible app. It applies only to the console: SSH does not ask for it.

Where it is asked for is decided by System → Management access, zone by zone; the wan zone always asks for it (see Management access below). An account that has no factor and comes from a zone that asks for one is refused as if the password were wrong: the factor is not enabled at login, otherwise whoever knows the password could register their own phone on it.

The Two-factor authentication panel is at the bottom of every account’s detail. At the top it shows “on” or “off” and the line “Asked at the console login from: …” with the zones that ask for it.

Enabling it for your account

Only the account itself can enable its own factor, once signed in: whoever holds the secret holds the factor, and an administrator who scanned a colleague’s QR code would have the colleague’s factor.

  1. Sign in to the console with your account from a zone that does not ask for the code (usually the lan).
  2. Open System → Users and select your account.
  3. In the Two-factor authentication panel press “Enable”. If the sign-in is older than 15 minutes, “Confirm it is you” opens first (see The confirmation of the last 15 minutes).
  4. Scan the QR code with the app. If the app cannot scan, type the “Secret” by hand (TOTP, SHA-1, 6 digits, 30 seconds): it is shown only once and does not come back when you reload the page.
  5. Type in “Code from the app” the six digits the app shows and press “Confirm”.

The factor holds only after the first correct code. If the enrolment stays open for more than 10 minutes, or gets five wrong codes, it has to start over (“Too much time went by: start the enrollment again”). A refused code says “Wrong code: check the app’s clock, then try the next code”: the phone’s time must be right. Each code works only once.

For a newly created account that has to sign in from a zone that asks for the code, enable the factor first, signing in from a zone that does not ask for it.

Tip If no reachable zone is free of the code, you can enable it through an SSH tunnel to the console’s local port: ssh -L 3000:127.0.0.1:3000 root@argos.johnsmith.test, then open http://127.0.0.1:3000 in the browser. A request that comes from the appliance itself never asks for the code.

Replacing the app

With the factor enabled, on your own account the button becomes “Replace the app”: it starts a new enrolment, and the current one stays valid until the new one is confirmed.

Removing the factor (lost phone)

“Remove” removes the factor, after a confirmation (and, with a sign-in older than 15 minutes, “Confirm it is you”). Any console account can remove another’s: it is the reset for a lost phone. From then on the account signs in with the password alone from the zones that do not ask for the code, and from those that ask for it the account is refused until it enables the factor again.

You cannot remove your own factor while you are connected from a zone that asks for it: “You are connected from a zone that asks for a code: removing yours would refuse your next login from here. Remove it from a zone that does not ask, or with argos-mfa-reset.”

From a shell: argos-mfa-reset

If no administrator can get into the console, the factor is removed from a shell on the appliance (SSH or local console), as root; from the console itself, with System → Shell and sudo:

argos-mfa-reset --list     # the accounts that have a second factor or passkeys
argos-mfa-reset lwhite   # removes lwhite's second factor and passkeys

It takes effect at once, even with the console running. The complete procedure is in the scenario Personal administrators and two factors and in Recovering access.

For the technician The secrets are in /etc/edon/passwd.pam (0600), edon-core’s per-user archive, under mfa.otp: an account enabled here is enabled for every EDON component that reads that file. The file is not part of the restore from Atlas. Each account’s last spent step is in /var/lib/argos/totp-steps.json: a code already used stays used after a restart of the console too.

Passkeys

The Passkeys block in the detail of your own accountThe Passkeys block in the detail of your own account
The Passkeys block in the detail of your own account

A passkey signs you in to the console without a password: the device that keeps it (the phone, the laptop, a security key, or the password manager that syncs it) asks for the fingerprint, the face or the PIN. It counts as the second factor too, so it also gets in from the zones that ask for the code. Signing in with password and code stays as before.

The Passkeys block is in the detail of every account, under the second factor. Each row says:

  • Name: the one you chose, and “synced” when the provider copies it to your other devices;
  • Provider: who keeps it (Google Password Manager, iCloud Keychain, Windows Hello, 1Password…);
  • Console: the name it is for. With the console opened by another name, “(another name)” appears: from there that passkey does not sign in;
  • Created and Last used.

Adding one

Only the account itself adds a passkey, from its own browser: the passkey is born in the device of whoever will use it.

  1. Open the console by its name (https://argos.johnsmith.test/), not by its address, over HTTPS with a certificate the device trusts.
  2. In System → Users choose your account and press the “+” of the Passkeys block.
  3. Give it a name if you like (empty, it takes the provider’s) and press “Create”.
  4. Confirm with the device’s fingerprint, face or PIN.
The Add passkey dialogThe Add passkey dialog
The Add passkey dialog

With the console opened by address, or in a browser that cannot, the “+” is off and the block says why. An account has at most 20 passkeys.

The confirmation of the last 15 minutes

Adding, renaming or removing a passkey, and enabling, replacing or removing the app’s code, asks that you proved who you are in the last 15 minutes: a session left open is not enough to add a passkey or a code of one’s own. If the sign-in is older, “Confirm it is you” opens:

The confirmation before changing passkeysThe confirmation before changing passkeys
The confirmation before changing passkeys
  • with one of your passkeys (“Use a passkey”);
  • with the authenticator app’s code, if the account has one;
  • with the password, only if the account has neither the code nor a passkey for this name.

Once confirmed, the operation goes on by itself. A sign-in with the code or a passkey already counts as the confirmation for the next 15 minutes.

If you lost the app and the account has no passkey for this name, the code is the only way to confirm, and “Confirm it is you” says how to get back in: another administrator removes the code on System → Users, or you yourself, from System → Shell, type sudo argos-mfa-reset <your account> (sudo asks for your password). It removes the account’s code and passkeys; enroll the code again after signing in.

Renaming and removing

A click on the row opens the passkey’s dialog: there you rename it, and “Remove passkey” deletes it after a confirmation. Another account’s passkeys can be removed (a lost device), not added or renamed: their dialog offers “Remove passkey” only. A removed passkey no longer signs in, and the browser that kept it stops offering it.

Deleting an account removes its passkeys too, and argos-mfa-reset removes them together with the second factor.

For the technician Passkeys are in /etc/edon/argos.passkeys.json (0600), with edon-core’s per-account archive (edon-core/aaa/host-factors). The file is not part of the restore from Atlas: passkeys belong to people’s devices, not to the appliance. An unreadable file reads as “no passkey” (password and code still sign in) and is never rewritten.

LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer