> Source: https://docs.cyberelements.io/bastion/4.7/Usage/Reference/SystemConsole/SuperUserAccount/

# Super-user account

The **Super-User Account** module changes the password of the system console super-user, and restricts the IP addresses from which that account may sign in. It is intended for an administrator who is hardening access to the system console, or who is applying a password rotation policy to it.

The window carries two independent groups: the password may be changed without touching the addresses, and the addresses without touching the password.

---

## Changing the password

The **Change Super-User password** group carries three fields.

| Field | Description |
|---|---|
| **Old password** | Current password of the super-user. It becomes mandatory as soon as a new password is entered; while the new password is left empty, it may stay empty too. |
| **New password** | New password. Its strength is evaluated as you type (see below). |
| **Confirmation** | The new password again. The two entries must match. |

### Strength gauge

A gauge sits between the two password fields. It fills up and changes colour (from red to green) as the password gets stronger, and displays the reached level.

| Level | Meaning |
|---|---|
| **Security level: none** | No password entered. |
| **Security level: very weak** | Refused. |
| **Security level: weak** | Refused. |
| **Security level: fair** | Lowest accepted level. |
| **Security level: secured** | Strongest level. |

> **Password too weak**
>
> Below the **fair** level, saving is refused with the message *Password too weak*. The window stays open and no change is made.

> **What the gauge takes into account**
>
> The rating rewards **length** and the **variety of character types** (digits, upper case, lower case, special characters). It penalises **repeated characters** in a row, and any **resemblance to the account name**: a password that contains the name, or begins with it, loses a large part of its rating.

## Restricting the source addresses

The **Options** group carries a single field.

| Field | Description |
|---|---|
| **Authorized IP addresses** | Comma-separated list of the addresses allowed to open a super-user session. Leaving it empty places no restriction. |

An example line is displayed under the field, showing the three accepted forms (a single address, a CIDR prefix and a subnet mask):

```
1
```

The list currently in force is loaded when the window opens, so the field always shows the state actually applied.

> **Check the address seen by the server**
>
> The address that is checked is the one the server observes. Behind a NAT, a proxy or a load balancer, that address is not the one of the administrator's workstation. Entering the wrong one **locks the super-user out of the system console**.

## Saving

**Validate** applies both groups at once, **Cancel** closes the window without saving. If a field is missing or malformed, a *Save Error* message reports an incorrect entry and the window stays open.

> **Changing only the addresses**
>
> To update the address list alone, leave the three password fields empty: the change is accepted and only the addresses are saved.

Once the change is accepted, the module closes.
