diff options
author | Alexander Bantyev | 2022-01-29 13:35:12 +0300 |
---|---|---|
committer | GitHub | 2022-01-29 13:35:12 +0300 |
commit | 3180b55ad44777edd90c08f9f9d4df74ec1549b9 (patch) | |
tree | 3ec4c68c7a2bb93baea99c91c272c592eac3447a /README.md | |
parent | 0ac333cdc03407538b5b19d60a8e7c64588490fb (diff) | |
parent | 874af9b05bec0bd73a333166a8b5291ecb1c0e3e (diff) |
Merge pull request #148 from afontaine/afontaine/add-doas-support
Add custom sudo command support
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -159,6 +159,11 @@ This is a set of options that can be put in any of the above definitions, with t # If `sshUser` is specified, this will be the default (though it will _not_ default to your own username) user = "root"; + # Which sudo command to use. Must accept at least two arguments: + # the user name to execute commands as and the rest is the command to execute + # This will default to "sudo -u" if not specified anywhere. + sudo = "doas -u"; + # This is an optional list of arguments that will be passed to SSH. sshOpts = [ "-p" "2121" ]; |