

What it is for
System → Shell opens a real terminal of the appliance in the browser, with no SSH client. It is handy for diagnostic commands, for the argos command (see Argos from the shell) and for what the console does not cover.
Which account it runs as
- For root, the shell is root’s.
- For another console account, the shell runs as that account, with its permissions; a line above the terminal reminds you of it (“This shell runs as the local user “lwhite”, with that user’s permissions.”). For administration commands use
sudo(the console accounts are in the sudo group). - For a Citadel remote session, which has no local account, the shell is root’s.
If the account has no login shell (it is not in /etc/passwd, or its shell is nologin) the terminal does not open and the page says so. The accounts created from System → Users have /bin/bash.
Limits and closing
- At most 4 open shells per account: opening a fifth closes the oldest.
- Reloading the page reattaches the same shell, with its last lines (up to 256 KiB).
- A shell with nobody attached closes after 60 seconds; a browser tab that gives no sign of life for 75 seconds is considered closed.
- The shell closes with the console session: the console checks the session again every 15 seconds, and a logout, an expired session, an account disabled or removed from the sudo group, or a client that moves into a zone that asks for the second factor close the terminal.
- When the shell ends, the terminal writes “— session ended —”.
A restart of the console (for example an Argos upgrade) closes the terminal like an SSH session that drops, but does not kill what you launched in the background with nohup: the shell runs outside the console’s service. Every opening and closing is written to the journal with the account.
Warning The Shell is full access to the appliance: a wrong command as root can interrupt the network or the firewall, and it has no 60-second confirmation window like the console. Never use
nft flush ruleset: it would also delete the tables of other services. For operations on the firewall prefer the console or theargoscommand, which have the same protections.
For the technician The shell is
runuser -l <account>in a PTY, inside a systemd scope of its own (argos-shell-<id>.scope). Theargoscommand does not expose the Shell: it is a shell already.