Skip to main content

Policies

A policy decides who may connect to which account on which endpoint, and what happens when they try. Without a matching policy, sessions are refused.

Open Policies in the PAM sidebar.

The Policies List​

ColumnWhat it shows
NameThe policy's name
GatewayThe gateway the policy applies to
WhoThe users it covers
HostsThe endpoints it covers
AccountsThe local accounts it covers
ActionRequire approval, Deny or Allow without approval
StatusActive or Suspended
Last modifiedWhen it was last changed

Each row's ⋮ menu offers:

ActionEffect
EditChange the policy
Suspend / ResumeStop the policy for now, or start it again
DeleteRemove the policy
warning

Suspend and Delete take effect at once. They revoke access from live sessions too.

Create a Policy​

Click New policy. The form has five parts.

1. Who Can Connect​

Add users by email, or turn on Everyone in the organisation.

note

Groups are not available yet.

2. Where​

FieldWhat to choose
GatewayThe gateway users connect through
HostsOne or more onboarded endpoints behind that gateway
AccountsThe local accounts users may log in as. Type a name and press Enter

root, authnull-svc and nobody cannot be chosen.

3. Sudo​

None, Full sudo or Specific commands, with a time limit. See Sudo in Policies.

4. Action​

ActionEffect
Require approvalThe default. The user approves a push from your MFA provider before the session starts
DenyThe session is refused
Allow without approvalThe session starts without a push. Administrators only
note

Deny always wins. If a Deny policy matches a session, it is refused even when another policy allows it.

5. Name​

Give the policy a name, then save it.

After You Save​

The Connect button appears in Targets → Endpoints only for users a policy grants an account on that endpoint. See Connect through a gateway.

Every attempt, approved or not, is listed in Access Logs.