Remote access

Manage accounts and permissions

Give each person their own account on the device running Fricle Host. Start with the access they need for the task, then adjust it as needed. In Manage connections, open the local device’s Accounts section. If prompted, authenticate with an administrator account.

Add an account

Browser

Settings › Manage connections › Accounts

Open Settings.

  1. Select Add account.

  2. Under Account, fill in Name, ID, Password, and Confirm password. The person connecting enters the ID in the Account ID field when connecting.

  3. Open Permissions. Pick a Permission level, then review each checked permission. Select Add to create the account.

The New account editor with the sample account filled in.

① Name · ② ID · ③ Password · ④ Confirm password · ⑤ Permissions · ⑥ Add

CLI

Create an account on the device receiving connections. Give the connecting person the account ID you chose.

sh
frc account create alice --label Alice --as docs-demo

Enter the administrator password and then the new account password when prompted. To supply both without prompts, add --password-stdin and pass them on separate lines to standard input in that order.

Choose exactly what the account can do

Browser

Settings › Manage connections › Accounts

  • Files lets you allow Read, Write, and Delete separately. Give someone Read to view or open files.

  • Terminal lets you allow View, Type, and Launch programs separately. Commands accepted by the terminal can reach outside the account’s file folders.

  • Screen lets you allow View and Control separately. The operating system on the remote device can also require screen and input permissions.

  • Manage includes administrative access to Accounts, Remote access settings, and Devices. Enable only the administrative controls this account needs.

The device’s Remote permissions in Remote access set the maximum access for regular accounts. If an account has a permission selected and still cannot use it, check both settings.

CLI

Choose the view-only preset or grant permissions such as files.read and screen.view by code.

sh
frc account permit alice --preset view-only --as docs-demo
frc account permit alice --grant files.read,screen.view --as docs-demo
frc account list

Enter the administrator password when prompted.

Limit access to particular folders

Browser

Settings › Manage connections › Accounts

  1. Select the account in Accounts. Open Permissions → Files, then select Change next to File folder scope.

  2. Under Scope, select Allow files only in chosen folders. Enter an absolute folder path on the device running Fricle Host, or use Choose folder. Use Add folder for more than one folder.

  3. Set Read and Write for each folder. To allow access only to the listed folders, leave both boxes in Outside the rules clear. Check the File folder scope summary after editing.

The file folder scope in an account’s Permissions section.

① Scope · ② Outside the rules · ③ Folder path · ④ Add folder

CLI

Use absolute paths on the device running Fricle Host. This example allows reading and writing in Projects, and reading in Docs. Access outside those folders is blocked.

sh
frc account scope alice --folders --folder /home/alice/Projects=rw --folder /home/alice/Docs=r --outside none --as docs-demo
frc account scope alice

Enter the administrator password when prompted.

Turn off an account or end one session

Browser

Settings › Manage connections › Accounts

  • To prevent the account from signing in, select it in Accounts and open Danger zone, and turn off Enabled. Use the same switch to enable it again. Fricle protects your own account and the last manager from being turned off.

  • To end just one sign-in, open Sign-in sessions in that account and select Sign out beside the session. Use Active connections to find a live connection on this device.

The account status and sign-in sessions for a test account.

① Sign-in sessions · ② Sign out · ③ Enabled

CLI

To prevent new sign-ins, disable the account.

sh
frc account disable alice --as docs-demo

Enter the administrator password when prompted.

To end just one sign-in, list the sessions. Replace the example session ID with the session you want to end.

sh
frc account sessions alice
frc account logout alice a1b2c3d4e5f6 --as docs-demo

To enable the account again, run frc account enable alice --as docs-demo.