Artica Wiki

Artica Meta: Change the Manager and root passwords of your nodes

Set the Manager password, the root password and the company name of many Artica nodes at once with a credentials scenario, and close their setup wizard.

Back to Artica Meta

Every new appliance leaves the factory with the same Manager password, the same root password and a setup wizard waiting for someone to click through it.
On ten branch offices, that is ten consoles to open, twenty passwords to type and ten chances to forget one.
A credentials scenario does it from Artica Meta in one step.
You type the new passwords once, pick the nodes or the groups, and every node receives them a few seconds later.
Meta then forgets the passwords.

What a credentials scenario does

A credentials scenario holds up to three values:

Each value is optional, but the scenario needs at least one of them.
On each target node, the scenario writes the values it holds and closes the setup wizard.
A node receives the scenario only once.
When every target node has it, Artica Meta disables the scenario and erases the stored passwords.

Benefits

Use cases

New branch appliances

Appliances are installed from the same image and enrolled in Meta.
Target the "Branch offices" group.
Every member receives the passwords and the company name, including the appliances that join the group later.

Password rotation

An administrator leaves the team, or your security policy asks for a new password every year.
Create a scenario with the new passwords and apply it to the whole fleet.

Managed service providers

You take over the appliances of a new customer.
Set the passwords you will manage and the customer's company name on all its nodes at once.
With Tenants, each customer only sees its own scenarios.

Audit findings

An audit flags default credentials on some appliances.
Target only those nodes and check their result in the State window.

Before you start

Create the scenario

Open Artica Meta service > Scenarios in the left menu.
Click New credentials scenario.

The Scenarios page with the New credentials scenario button

Fill in the form:

Field What to enter
Name A name that tells your team what the scenario is for.
Description Optional.
Manager account password The new password of the Manager account. Leave it empty to leave the Manager password alone.
Root password The new password of the root account. Leave it empty to leave the root password alone.
Company The company name recorded on each node. Leave it empty to keep the current one.

The credentials scenario editor

Click Apply.
Artica Meta checks the values before it stores anything.
A password that is too short is refused with a clear message, and nothing is saved.

A password shorter than 8 characters is refused

The new scenario appears on the page as an active card.
It lists the parts it will apply and has no target yet.

The new scenario, active and without target

Choose the targets

Click Targets on the card.
The window lists your groups first, then every node.

Switch on the groups and the nodes you want, then click Apply.

Choosing the target nodes

Artica Meta sends the scenario to the targets as soon as you save them.
You do not need to click anything else.
A credentials scenario does not take the place of the feature scenario of a group: a group can have both.

What happens on each node

The node checks every value before it writes any of them.
It then applies them in this order:

  1. The root password, written as a hash.
    The clear password never reaches the node.
  2. The Manager password.
    The node writes it and reads it back to make sure it is in place.
    OpenLDAP, the proxy and the system user directory are reloaded in the background.
  3. The company name, stored with the setup wizard settings.
    The other wizard settings are kept.
  4. The setup wizard is marked as done and removed.

The node never returns a password in its answer or writes one in a log.
It records the change in its security audit trail (system.meta.credentials).

From then on, the Manager signs in to the node's web console with the new password, and SSH sessions as root use the new root password.

Follow the result

The card shows a progress bar and the number of nodes that are up to date.
Click State to see the result of each node: its status, the parts applied, and the time of the last report.

The result of each node

A node that failed (offline, agent too old, refused value) is retried automatically every 30 minutes.
Meta does not send the scenario again to a node that is up to date, unless you ask for it.

When every target node is up to date, Artica Meta disables the scenario by itself.
The card shows Applied everywhere, disabled and the passwords are erased from Meta.

The scenario disabled after every node received it

Manage an existing scenario

Action Effect
Apply now Sends the scenario again to all its targets, including the nodes that already have it. Use it to bring back a node whose password was changed by hand.
Edit Changes the name, the description, the passwords or the company. An empty password field keeps the stored password. A checkbox removes a stored password. A new password or company name sends the scenario again to every target.
Targets Adds or removes groups and nodes. Removing a target does not undo anything on the node.
Disable (menu ⋮) Stops sending the scenario. The stored passwords are kept, and Apply now is refused until you enable it again.
Enable (menu ⋮) Starts sending again. After an automatic disable, the passwords were erased: type them again in Edit first.
Delete (menu ⋮) Removes the scenario. Nothing changes on the nodes.

Troubleshooting

Symptom Cause and fix
"the password is shorter than 8 characters" Choose a password of 8 to 128 characters.
A node stays failed with unsupported The Debian agent or Artica on that node is too old. Upgrade the agent to 1.2.26 or later, then upgrade Artica on the node. The next 30-minute pass retries it.
A node stays waiting The node is offline or not reachable from Meta. Check its status in the node list.
Apply now is greyed out The scenario is disabled or has no target. Enable it, or choose targets.
You need to use the scenario again after it disabled itself Open Edit, type the passwords again, then Enable it.