EGR054 - Grant Has No User
Uploading...Agent error code #EGR054 indicates that a grant reached an egress knoc without a Knocknoc user behind it. Egress allowlisting admits a person's local account, so a grant that names only an address gives the agent nothing to admit.
Common causes include:
Steps to Resolve
Grant the User Instead
Assign the person to the knoc, or to a group that has it, and have them request access themselves. Their grant carries their username, which the knoc's mapping turns into their account.
Use an Exempt Account for Break-Glass Access
For emergency access that does not depend on Knocknoc, exempt a break-glass account:
meta skuid breakglass accept
On pf, name it when enabling egress allowlisting: doas knocker enable egress --exempt breakglass
On Windows, add the account, or a group it is in, as an exception on the knoc's rule: its Properties > Local principals > Exceptions. Exempt a person through a group, since the agent manages exceptions that name a person's account
An exempt account is never fenced, so it reaches every egress knoc's destinations.