VM User Management
A VM user is an account that exists inside a running virtual machine. A VM user is not a tiCrypt user. The two systems share names and can refer to the same person, but they are separate hierarchies with separate permissions, and neither inherits from the other.
Why VM users are separate from tiCrypt users
They are different trust domains. The main system governs accounts, teams, projects, and Vault encryption. A virtual machine governs the operating system, its drives, and the live sessions on it. A system administrator can activate accounts and configure hardware but cannot open a VM terminal or read its drives; a VM Owner has full authority over their machine but cannot promote users or change system settings. Access to a VM is granted by its Owner and is never inherited from an administrative role.
This is what makes the compliance claim provable. In regulated environments administrators must be able to demonstrate that they cannot reach research data. A single unified permission system would make that impossible to show. Splitting the hierarchies means the proof is structural rather than a matter of policy.
VM users persist on the home drive. The VM user database lives on the first attached drive, so roles and permissions survive restarts and travel with the drive if it is attached to another configuration as its home drive. Attaching it as an additional drive does not import the database.
Co-owner is the role that grants drive access. Managers can manage users without holding drive keys; co-owners hold the keys. Grant co-ownership only to people you intend to give the data to.
Before you begin
- The VM is running and you are its Owner, or a Co-owner or Manager with the relevant permission.
- To add users or run Sync user permissions from the Users section, you also need the system permission Share VMs with other users. The Manager role on the VM is not enough on its own.
- You cannot modify the VM Owner, and you cannot grant permissions that you do not hold yourself.
View the Users of a Virtual Machine
Location: Virtual Machines > VMs > select the virtual machine > VM Settings and Details > Users
The following table describes the columns of the Users table.
| Column | Description |
|---|---|
| Name | The tiCrypt user. Click the name to open the VM user's detail page. |
| VM Username | The account name of the user inside the VM operating system. |
| Role | User, Manager, Co-owner, or Owner. |
| User profile | The profile whose role and permissions match the user's, or Custom when none matches. |
| Groups | The VM groups the user belongs to. |
| Added | When the user was added to the VM. |
| Last updated | When the user's role or permissions last changed. |
A row is highlighted as a warning when the user's role on the VM does not match how tiCrypt has authorized them to connect, and as an error when tiCrypt has not authorized the user to connect at all. Sync user permissions and Re-authorize user(s) repair both cases.
Managers, Co-owners, and the Owner can select users and use these additional actions from Open full menu:
- Re-authorize user(s): Revokes and grants again each selected user's tiCrypt authorization to connect to the VM, with their current role. The task is named Re-authorize followed by the number of users.
- Repair user home(s): Asks the VM to repair the home directory of each selected user. The task is named Repair home of followed by the number of users.
VM user detail page
Click a user's name to open their detail page. It shows the following cards:
- Basic info: The user's tiCrypt account, their account name inside the VM, and when they were added.
- Profile info: The matching profile, or Custom followed by the number of permissions, the role, and when the profile was last modified.
- Permissions: Each VM permission the user holds, with its description, or "This user has no permissions".
- Access directories and Groups: The access directories and VM groups the user belongs to. These cards appear when you are a Manager or higher, or when you view your own page, and you hold the Access Directories or Groups permission.
On another user's page (not the Owner's), Managers, Co-owners, and the Owner can use Edit role/permissions and Remove from VM. They work the same way as Edit user access and Remove user access in the table.
Add Users to a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to add users to.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Users section in the left panel.
- Next, click the Add users button in the top-right panel.
- In the pop-up, enter the user names to add, their profile, and their role in the VM.
- For custom users, tick or untick permissions in the VM.
- Click the Add button. Its label names what you selected, for example Add 2 users.
tiCrypt registers each user on the VM with the chosen role and permissions, authorizes them to connect, and shows the task Add followed by the user name or the number of users.
The following table describes the fields of the Add users to vm-name prompt.
| Field | Description |
|---|---|
| Add Users, Teams, Groups | The users, teams, and tiCrypt groups to add. You can pick from the users and teams you can access and from all tiCrypt groups. People already on the VM are not offered. Teams and groups are expanded to their members when you click Add. |
| Profile | Custom (the default) or one of the VM's profiles. Choosing a profile applies its role and permissions and hides Role and Permissions. |
| Role | Co-owner, Manager, or User. If you are the VM Owner, no role is preselected and you must choose one. If you are not the VM Owner, the role is set to User and the prompt shows "Only the owner of a VM (owner-name in this case) can designate managers and co-owners." |
| Permissions | All permissions start ticked. Permissions you do not hold yourself are unticked and cannot be ticked. Unticking Files also unticks and disables VM to Vault transfer and Vault to VM transfer. With Co-owner selected, every permission is on and the prompt shows "Co-owners automatically have all permissions enabled." |
If the VM is tagged with a project, the picker marks each user who has no active membership in that project with "No active membership in this VM's project". When the teams or groups you select include such users, a warning gives their number and states that they will be added but cannot access the VM until they join the project. You can still add them.
Add Teams to a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to add teams to.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Users section in the left panel.
- Next, click the Add users button in the top-right panel.
- In the pop-up, enter the team names to add, their profile, and their role in the VM.
- For custom teams, tick or untick permissions in the VM.
- Click the Add button. Its label names what you selected, for example Add 2 users.
- This adds all team members of the selected team(s) to the virtual machine.
Add Groups to a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to add groups to.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Users section in the left panel.
- Next, click the Add users button in the top-right panel.
- In the pop-up, enter the group names to add, their profile, and their role in the VM.
- For custom groups, tick or untick permissions in the VM.
- Click the Add button. Its label names what you selected, for example Add 2 users.
This adds all group members of the selected group(s) to the virtual machine.
You can add a combination of users, teams and groups to the VM simultaneously.
Add Users, Teams and Groups as Managers to a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to add managers to.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Users section in the left panel.
- Next, click the Add users button in the top-right panel.
- In the pop-up, enter the user, team and group names to add and their profiles.
- Set their role to Manager.
- For custom users, teams and groups tick or untick permissions in the VM.
- Click the Add button. Its label names what you selected, for example Add 2 users.
- Adding a team or group as manager adds all users within the team or group as managers in the VM.
- Only the owner of a VM can designate managers and co-owners.
Add Users, Teams and Groups as Co-owners to a Virtual Machine
bulk-action
Method One
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to add co-owners to.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Users section in the left panel.
- Next, click the Add users button in the top-right panel.
- In the pop-up, enter the user, team and group names to add and their profiles.
- Set their role to Co-owner.
- For custom users, teams and groups tick or untick permissions in the VM.
- Click the Add button. Its label names what you selected, for example Add 2 users.
Method Two
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Virtual Machines section on the top left panel.
- In the left panel, click the menu next to the virtual machine to add co-owners to.
- Select Add Co-owners (Add co-owners when the VM is stopped).
- In the Edit who has access to
configuration-nameprompt, enter the user names to add as co-owners to the virtual machine. - Click Update followed by the configuration name.
Updating the co-owner list also syncs user access on the running VM, so no separate sync is needed.
- You cannot add co-owners to a VM you do not own but that was shared with you. You must own or co-own the VM to add other co-owners with Method Two. With Method One, only the VM owner can designate co-owners.
- You may need to enter your password to perform this operation.
- The prompt does not list you. Other owners appear as chips, and removing a chip removes that user from the co-owners, the creator of the configuration included.
While the configuration is starting or running, the prompt shows one of these notices:
- VM not started by you: "This VM config is currently starting or running. However, the VM was not started by you so you will not be able to register managers on it."
- Missing drive permissions: "You do not have the permissions necessary to share" the configuration's drives "with any new owners (you need permission to share and add drive keys)."
- Otherwise: "Share VM config to automatically share associated drives. Users can restart and mount shared drives in other VMs. Use caution when sharing."
What adding a co-owner does
- Configuration owners: The user is added to the owners of the VM configuration, so they receive the Co-owner role every time the VM starts. With Method One this happens only when the VM has a configuration; on a VM without one, the Co-owner role adds a Manager with every permission.
- Drive keys: tiCrypt shares the key of each drive in the configuration with the new co-owner, read-write or read-only as the configuration attaches the drive. It shares only keys you hold yourself, so a drive you have no key for is not shared. With Method Two, such a drive is named in an error that starts with "Failed to share", followed by the reason: "you do not have a key for it", or "it is shared with you read-only, so you cannot share it read-write". A drive that was never formatted has no key yet; its key is shared with the co-owners when the drive is first formatted.
Adding co-owner(s) can grant them access to the VM's associated drives, and co-owners can restart the VM and mount those drives in other VMs. Whether each co-owner actually receives a drive key depends on the keys and the Share drives permission of the person adding them.
Remove Users from a Virtual Machine
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to remove users from.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Users section in the left panel.
- Next, select the user to remove.
- Click the Open full menu button in the top right panel.
- Then, select Remove user access.
- In the pop-up, click Remove followed by the user name to proceed.
The user loses access to the VM immediately. The task Remove followed by the user name, or the number of users, runs on the VM.
Removed VM users lose access to the VM, but their home directory and group memberships are not deleted.
Removing a co-owner. When the selection includes a co-owner, tiCrypt also removes them from the owners of the VM configuration, so they no longer receive the Co-owner role when the VM starts. If you own some of the configuration's drives, hold the Unshare drives permission, and the co-owner holds keys to those drives, the prompt adds the option Also remove their keys to followed by the number of drives of this configuration. It is ticked by default; untick it to leave their drive keys in place.
You cannot remove the VM Owner. Edit user access and Remove user access are not offered when the selection includes the Owner.
Edit Roles in a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to edit management roles.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Users section in the left panel.
- Next, select the user(s) to manage.
- Click the Open full menu button in the top right panel.
- Then, select Edit user access.
- In the Update permissions of prompt, set the Profile to Custom, then select the role: Co-owner, Manager, or User.
- Click Save.
tiCrypt shows "Updated user", or "No changes made" if nothing changed.
- The prompt is prefilled from the first selected user. Profiles are listed as the role, a colon, and the profile name, for example Manager : Analysts.
- Choosing the Co-owner role, or a Co-owner profile, adds the user to the owners of the VM configuration. Switching a co-owner to another role removes them from the configuration owners.
- The Owner's permissions cannot be changed: "You cannot change the owner permissions".
Edit Permissions in a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to manage user permissions.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Users section in the left panel.
- Next, select the user(s) to manage.
- Click the Open full menu button in the top right panel.
- Then, select Edit user access.
- In the pop-up, with the Profile set to Custom, tick or untick VM user(s) permissions.
- Click Save.
tiCrypt shows "Updated user", or "No changes made" if nothing changed.
On a VM that is part of a constellation, the Manager and Co-owner permission lists also include Manage VPN ("Allows manager to manage VPN") and VM Orchestrator ("Allows the management of the constellation"). See VM Roles and Permissions.
Sync User Access in a Virtual Machine
Two actions carry the label Sync user permissions, and they do different things. The one in the Users section, described here, reconciles the VM's user list with tiCrypt. The one in the VM's menu re-applies access directory permissions on the drives and does not add or remove users; see Advanced Operations.
Location: Virtual Machines > VMs > select the virtual machine > VM Settings and Details > Users
- Click Sync user permissions in the top right panel.
The task Sync user access for followed by the VM name runs. It removes VM users whose tiCrypt accounts have been deleted, revokes the authorization of users whose role on the VM does not match how tiCrypt authorized them, authorizes users who are missing an authorization, and registers co-owners listed in the VM configuration who are not yet on the VM as Managers. Authorizing managers is done only when you are the VM Owner. Your own access is never changed.
This action is offered to Managers and higher who also hold the system permission Share VMs with other users.
Access User Profiles in a Virtual Machine
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to access user profiles.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Profiles section in the left panel.
- Only Managers, Co-owners, and the Owner of a VM can open VM Settings and Details, where the Profiles section is. Only the VM Owner can edit or remove Manager and Co-owner profiles in the table; any Manager can edit or remove User profiles.
- The Profiles section appears only when the VM's controller provides the settings service. It is not controlled by a permission: if it is missing, the VM's controller does not offer that service, and granting permissions does not make it appear.
- Click a profile to open its detail page, which offers Edit Profile and Remove from VM. Edit Profile is offered for a Co-owner profile only to the VM Owner.
Add User Profiles in a Virtual Machine
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to add user profiles.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Profiles section in the left panel.
- Click the Add new profile button in the top right panel.
- In the pop-up, enter the profile name.
- Select the role and permissions.
- Click Create Profile.
The profile appears in the Profiles section and can be chosen in the Profile field when you add or edit users.
- The pinned Add profile action also opens this prompt. It is offered to Managers and higher who hold the system permission Share VMs with other users.
- The Profile Name can be up to 32 characters, cannot contain any of
/\|":*?<>{}, and must differ from the VM's other profile names ("Conflicts with another profile name"). - Two profiles cannot share the same role and permissions. If they would, the prompt shows "Profile with same role/permissions already exists." and Create Profile stays inactive.
Import User Profiles from the Same or Other Virtual Machines
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to import user profiles.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Profiles section in the left panel.
- Click the Add new profile button in the top right panel.
- In the pop-up, tick Import profile from same or other VM.
- Next, select the profile in the Existing Profiles field and enter a new profile name.
- Alter permissions for the new profile.
- Click Create Profile.
Existing Profiles lists the profiles of the VMs you have running, grouped by VM. Selecting one fills in the form; the new profile is created on the current VM only.
Apply Virtual Machine User Profile to User(s)
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to edit management roles.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Users section in the left panel.
- Next, select the user(s) to manage.
- Click the Open full menu button in the top right panel.
- Then, select Edit user access.
- In the prompt, select the user(s) VM profile at the top.
- Click Save.
Edit User Profiles in a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to edit user profiles.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Profiles section in the left panel.
- Click the Edit permissions button in the top right panel.
- Next, tick or untick permissions of the VM user profiles.
- Finally, click Save in the top right corner.
The profile definitions are updated. Users who already have these profiles keep their current permissions.
- You can edit multiple VM profiles in bulk at the same time. The table has one row per profile and the columns Name, Role, Count, one column per permission, and Actions.
- Co-owner profile rows cannot be edited, because co-owners always have every permission.
- Two profiles of the same role cannot end up with the same permissions. A duplicate row turns red, its tooltip names the other profile ("Duplicate
roleprofile permissions as:profile-name"), and Save stays inactive until you resolve it. - Save changes only the profile definitions. To push a change to the users who have a profile, edit that single profile instead, as described below.
Edit a Single User Profile and Its Users
Location: Virtual Machines > VMs > select the virtual machine > VM Settings and Details > Profiles
- Click the Edit button next to the profile.
- In the Update
roleprofileprofile-nameprompt, change the Profile Name or the permissions. The role of a profile cannot be changed. - Under Changes to existing users, leave Apply changes to all users with this profile ticked (the default) to apply the new permissions to the users listed below it, or untick it to change only the profile.
- Click Save.
The profile is updated. If Apply changes to all users with this profile was ticked, the task Update followed by the number of users runs and applies the new permissions to those users, except the VM Owner and you. If nothing changed, tiCrypt shows "No changes made".
Delete User Profiles in a Virtual Machine
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to edit user profiles.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Profiles section in the left panel.
- Click the Remove button next to the user profile you want to delete.
- In the pop-up, click Remove followed by the profile name to proceed.
Bulk Email Users from a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the menu next to the virtual machine to bulk email.
- Select Bulk email.
- In the pop-up, click Copy to copy the VM users' emails or click Download to download them.
- Once done, click Close.
The Prefer contact email? checkbox is ticked by default and lists each user's contact email where one is set. Untick it to list each user's login email instead.