Host connector: what a target host needs
- An unprivileged account (
archie) whoseauthorized_keysholds the public half of the machine credential the connector is accepted with. df,du,find,sortandhead(GNU coreutils and findutils).- For lookups to see files the account can't read, run
install.shas root. It installs two helpers under/usr/local/libexec/archieand a sudo rule allowing exactly those, and then set"helpers": trueon the host in the connector'shostssetting. The helpers only read, check every argument, and run fixed commands: sudo can't safely allowduorfindthemselves, sincefindcan delete and execute. - The host's public key, as
ssh-keyscanprints it, in thehostssetting.