Command: ubos-admin setup-shepherd
/docs/gears/developer/understanding/setup-shepherd/
Running
To see the supported options, invoke ubos-admin setup-shepherd --help.
This command must be run as root (sudo ubos-admin setup-shepherd).
Understanding
This command makes it easier to set up a UBOS Shepherd account without using the UBOS Staff. This may be advantageous in some situations such as when running UBOS in a Linux container.
This command:
-
creates the
shepherdaccount if it does not exist yetand gives it system administration capabilities to be invoked viasudo. -
If one or more public
sshkeys are provided, either adds or replaces them on theshepherdaccount so the user can log in over the network (~shepherd/.ssh/authorized_keys).