> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/settings/managing-users-and-user-rights.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Managing users and user rights

This section explains how to create a user group, and how to manage users and user rights in the Lina Administration Console.

## Users view

The Users view lets you view, create, modify, or delete local users, LDAP users, or LDAP groups.

A local or LDAP user or group can be:

* A standard user.
* A tenant administrator.
* A superadmin user. You can create multiple superadmin users.

In the Users view, you can:

* Access the user groups list. Click **User groups** to display the user groups list. You may or may not be able to modify user group information, depending on the rights assigned to your group.
* Create, delete, or duplicate a user.
* Refresh the user list.
* Export one or more agents in CSV or HTML format. By default, if no user is selected, all users are exported.

**To open the Users view**

1. Open the Lina Administration Console.
2. Select **Server > Users.**

## Configuring local users and user groups

This section describes how to manage local users and user groups.

### Creating and configuring a user group

A user group specifies a number of rights applicable to your user group. These rights can include: access to specific sections of the Lina Administration Console (View right), and create, modify, or delete rights.

The list of existing and default user groups is displayed. By default, the user groups list contains an administrator user group and a default user group. These user groups cannot be changed.

In the user groups list, you can:

* Delete or duplicate a user group.
* Refresh the user groups list.
* Export one or more user groups in CSV or HTML format. By default, the list of all user groups is exported.
* Copy a user group to a tenant by selecting the user group then clicking the globe icon above the user groups list.

**To create a user group**

1. Open the Lina Administration Console with administrator rights.
2. Select **Server > Users**.
3. Click the **User groups** button next to the filters. The user groups list is displayed.
4. Select a tenant at the top of the page.
5. Click the ![](https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-b7f8336a9f811d677b8da5f66694b4518c992ed2%2Fimage%20\(102\).png?alt=media) button.
6. Enter the group name.
7. (Optional) Add a comment.
8. Click the toggle buttons to select the permissions you want to assign to the new group. These permissions apply to the server and to Lina agents. The **View** permission may be required to assign create, modify, and delete permissions. A user permission is green when enabled and gray when disabled.

   If you want to select or deselect all permissions in one click, use the buttons above the user permissions list.
9. Click **Create**.

To modify a user group, click the user group name, edit the group, then save your changes.

### Creating and assigning rights to a local user

When the Atempo Lina server is installed, a local superadministrator is created by default with the following identity:

* Username: <kbd>superadmin</kbd>.
* Password: <kbd>superadmin</kbd>.

It is strongly recommended to change the superadmin user's password as soon as possible. To reset an existing user's password, go to step 9 of the following procedure.

**To add a user**

1. Log in to the Lina Administration Console with administrator privileges.
2. Select **Server > Users**.
3. Select a tenant at the top of the page. To create a standard user or an administrator, select a specific tenant. To create a superadmin user, select **All tenants.**
4. In the **Users** view, click the ![](https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-b7f8336a9f811d677b8da5f66694b4518c992ed2%2Fimage%20\(102\).png?alt=media) button. The user settings interface is displayed.
5. Enter the local username. You can change the username after it is created.
6. (Optional) Add a comment.
7. (Optional) Select **Local user** as the user type.
8. (Optional) Enable or disable the user. By default, users are enabled. A disabled user cannot log in to the Lina Administration Console.
9. Enter a password for the local user. Once a user is created, the password field is replaced with an option. To reset the user's password, drag the **Change password** toggle, then enter a new password.
10. (Optional) Enter an email address. The email address can also be changed on the Lina Agent. For more details, see [<mark style="color:blue;">Providing an email address to identify the agent.</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/restore/web-restore.md#providing-an-email-address-to-identify-the-agent)
11. (Optional) Select a user group to assign rights to a user. If no group is selected, any new user is added to the Default User Group. See [Creating and configuring a user group](#creating-and-configuring-a-user-group) for more details.
12. Click **Create**. If you want to change a local user's information, click the username in the user list, then edit the user's details and click Save

> **To add a user with superadmin priviledges :**\
> The procedure is identical to the one above but you must be in the All tenants view to access the superadministrator user group.

## Integrating Lina with LDAP

These sections describe:

* How to configure LDAP to access the Lina Administration Console.
* How to define LDAP groups to assign rights to members of those groups.

### About LDAP groups

When you declare an LDAP group to assign rights to its members, the group name consists of hierarchical levels separated by a dot, starting with the lowest level up to the highest level (<mark style="color:blue;">Image 13</mark>).

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-e5136cd04aef77dfe52682a3665f6632b52576e6%2Fgroupe.gif?alt=media" alt=""><figcaption><p><strong>Image 13:</strong> In this example, the group name to declare is adeadmin2. ALN.Groups.16 - R&#x26;D ALN@AD.fr</p></figcaption></figure>

The LDAP group used to grant access to users must not be a primary group. Users in such a group will be denied access.

### Creating an LDAP configuration in the Lina Administration Console

To access the Lina Administration Console, you can use LDAP. To do this, you must configure LDAP in the Lina Administration Console.

The Lina Administration Console is compatible with Active Directory or OpenLDAP. LDAP configurations established with other services or protocols cannot be configured on your server.

The Atempo Deduplication Engine supports LDAP v3 only.

1. Select a tenant at the top of the page:
   1. **All tenants** if you want to create a global configuration.
   2. A specific tenant if you want to create a local configuration.
2. In the Lina Administration Console, select **Settings > Preferences.**
3. Click the **LDAP** tab.
4. Enter the name of your LDAP server, for example <kbd>\<domain>.\<name>.fr</kbd>.
5. Specify a port number to use. The default port used for an unencrypted connection or STARTTLS encryption is 389.
6. Specify the security protocol to use (LDAPS, for example).
7. Click **Check LDAP configuration.** All your LDAP settings are displayed once your LDAP configuration has been verified. You may have additional steps to perform, depending on the LDAP configuration used on your server.
8. (Active Directory only) Your LDAP configuration has been applied and is ready to use. You can change your LDAP base domain name or your LDAP credentials. If you do not have the LDAP base domain name, select the default value. In this case, the default value used is the value of the LDAP root attribute <kbd>defaultNamingContext</kbd> or, if it is not set, the LDAP root itself. The LDAP base domain name is the location of users in the LDAP tree (<kbd>e.g., dc=domain,dc=fr.</kbd>). The search base is the top-level directory for your LDAP users and can be an organization, group, or domain name of an external directory. It is not always the root of the directory itself.
9. (OpenLDAP only) Enter your LDAP username and password, then click **Apply LDAP configuration.** If you are creating a global LDAP configuration and want to prevent an administrator from creating a local configuration, select the **Force tenants to inherit this global configuration** option. Access to your LDAP configuration is automatically verified after your configuration is applied. You can use the **Test** button to check your LDAP access without changing your LDAP configuration, verify your credentials, or check whether you have the rights needed to find users or groups.
10. (Optional) If your LDAP base does not use the expected default values for LDAP attributes, indicate the values that should be used:
    1. Click **Show advanced settings.** The available attributes are the user's identifier, email, and group.
    2. Enter the appropriate value for one or more attribute(s). You can reset these values by clicking the button above the attributes.
11. Click **Apply LDAP configuration.**

### Assigning rights to LDAP users and groups

If you use an LDAP user directory, you must assign rights to your LDAP users to allow them to log in to the Lina Administration Console.

#### **Creating LDAP users and groups**

Rights can only be assigned to new LDAP users.

**To assign rights to LDAP users and groups**

1. Log in to the Lina Administration Console with administrator privileges.
2. Select **Server > Users.**
3. Select a tenant at the top of the page. You can add a user to all tenants or to a specific tenant.
4. In the **Users** view, click the ![](https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-9a63b7564f1f1f87ba16a52b166f0d38f75eb3b5%2Fimage%20\(67\).png?alt=media) button. The user settings interface appears on the right.
5. Enter the LDAP username. You can change the username after it is created. For an LDAP user, the username must be in the format: <kbd>user\@domain</kbd>.
6. (Optional) Add a comment.
7. Select the user type (LDAP user or LDAP group). If no LDAP is configured on your server, you may see a reminder. To configure LDAP, simply click the **Resolve** button below the reminder.
8. If you want to **browse LDAP**:
   1. Enable the **Browse LDAP** option.
   2. Enter the ID and password of a user authorized to connect to the LDAP server to retrieve the group list. If needed, enter a filter that will be applied to group names to reduce the length of the group list.
   3. Click the **Get LDAP Users** button for an LDAP user, or **Get LDAP Groups** for an LDAP group.
9. (Optional) Enable or disable the user. By default, users are enabled. A disabled user cannot log in to the Lina Administration Console.
10. (Optional) Provide an email address for the user. The email address can also be changed on the Lina Agent. For more information, see the [Lina User Documentation.](https://documentation.atempo.com/lina-7.4/lina-7.4-en/readme.md)
11. (Optional) Select a user group to assign rights to a user. If no group is selected, any new user is added to the **Default User Group**. See [<mark style="color:blue;">Creating and configuring a user group</mark>](#creating-and-configuring-a-user-group) for more details.
12. Click **Create**.

    If you want to change information for an LDAP user or group, click the username or LDAP group in the user list, then edit the user's details and click **Save**.

#### Assigning rights to LDAP groups in command mode

1. On the machine hosting the Atempo Deduplication Engine, launch the <kbd>ade\_admin</kbd> command-line interface:

* **Windows** Select **Start > Programs > Atempo Deduplication Engine > Administration.**
* **macOS/Linux** Run the command <kbd>./ade\_admin.</kbd>

2. Enter the password of the <kbd>admin</kbd> user.
3. Run the command <kbd>add\_ldap\_group "\<group\_name>"</kbd>.

> **Example**: <kbd>user add\_ldap\_group "adeadmin2. ALN.Groups.16 - R\&D <ALN@AD.fr>"</kbd>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/settings/managing-users-and-user-rights.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
