This tutorial shows you how to add a local user and grant him/her password-based root access on a target host.
- How to add users (Step 2)
- How to add roles (Step 3)
- How to map users to roles (Step 4)
- How to employ roles to grant access to target hosts (Steps 5-8)
- How to connect to target hosts (Steps 9-11)
- Login to PrivX as superuser.
- Add a new local user via Settings -> Users -> Add User.
The added user is shown in the users list.
- Add a new role via Settings -> Roles -> Add Role.
- Our local example user ttester is mapped to role Root for ttester via his username with the corresponding search string (cn=ttester). Please note Matching users: 1 on top right.
The added role is shown in the roles list.
- On Settings -> Hosts, click menu icon -> Edit on the host you want to allow connecting to.
- Click Add Service to add the necessary services on the target host. In this example we will add type SSH and check the SSH - Trust on first use option.
- Click Add Account to map the role Root for ttester onto the root account of this target host. Please note that you will need to know the root account password to complete this step.
Click Save to save changes to services and accounts.
On Connections, click the address of the desired target host to initiate connection.
User ttester is granted root access on the target host. The root account password needs not be given to gain access, it all happens thanks to PrivX magic!