koyo
koyo
is a cli tool that lets you run commands as another user. It is similar to doas
or sudo
.
See the Guide for more.
Overview
Configuration example
koyo
searches for rules defined in /etc/koyo.toml
, configured in the TOML
format.
# Rules for a policy named "default"
[policy.default]
# allow performing actions as any user
targets = { all = true }
# allow running any command
commands = { all = true }
# session will need to be recreated
# if unused for 10 minutes
expire = 10
[groups]
# use policy "default" for all users in the wheel group
wheel = "default"
License
koyo
is licensed under the MIT license.