Box Users
Give people Linux logins on a box, each confined by a sandbox spec. Run these commands on the box as root. Before you add a login, prepare the person's public SSH key and a sandbox file. You reach a box yourself with Local Link's own SSH key, which Box Key prints.
Add a User
lnk box user add creates the user's home and limits their SSH key to
entering the sandbox. Shells, remote commands, and file transfers all run
in that sandbox. Its command policy must permit /bin/bash. Adding the same
user again replaces their key and sandbox.
sudo lnk box user add alice --public-key alice.pub --sandbox dev.tomlList Users
lnk box user list shows the users that Local Link manages on this machine.
It refuses inside a box here. A box here has a folder, not a separate
machine's system users.
sudo lnk box user listRemove a User
lnk box user remove removes the login and its SSH access. The home folder
stays unless you pass --delete-folder, so copy any files you need first.
A folder that stays becomes root's alone, because the next user you add may
get the removed user's ID.
sudo lnk box user remove alice