# The default user and templates

Every connection group has a user named `default`. Nobody logs in as `default`: it is the place where the settings that hold for everybody are kept. A user who has no value of their own for a setting, and inherits it from nobody else, takes the value of `default`. See [Inheritance](Users-Inheritance.md).

## The default user

Open `default` in the [User Manager](Users.md) like any other user. What you set there is what a new user starts with, and what every existing user has who did not override it.

| Good on `default` | Why |
|---|---|
| session and idle times, speed limits | the same for everybody unless somebody needs more |
| the password rules, in [Admin](Users-Admin.md) | one policy for all |
| what the web interface looks like, in [WebInterface](Users-WebInterface.md) | one look for all |
| the events that shall run for everybody, in [Events](Users-Events.md) | such as a mail to you at every upload |

| Not on `default` | Why |
|---|---|
| folders in **User's Stuff** | everybody would get them. Give folders to the users, or to a template for a team. |
| administrator rights | everybody would have them |

A change on `default` reaches every user at their next login, with no further step, because the users do not hold a copy: they look the value up.

> [!WARNING]
> Be slow with changes on `default`. One wrong tick there is wrong for every user at once. Look at one ordinary user afterwards, with **Hide defaults** off, to see what they now get.

## Templates

A template is an ordinary user that others inherit from. There is nothing special about it but the way you use it.

1. Make a user, such as `partner_template`.
2. Set on it what all partners share: their limits, their events, the folders they all see.
3. Make it impossible to log in with it: give it a long random password that nobody keeps, or untick **Account Enabled**.
4. On each partner, set the template in **Manage Inheritance**. For many at once, select them, open **Manage Inheritance** and save.

A user can inherit from several templates. The order counts: the upper one wins where two have a value for the same setting.

## What a user's file holds

Only what is the user's own. A user who was just made holds a name, a password, and little else: everything else is looked up. That is why a user can be very small on disk and still have a hundred settings on the screen.

## Changes of the default user

Whether `default` may be changed and deleted through the User Manager and through imports is a setting of the server, `allow_default_user_updates`, which is on unless it was turned off.
