From ae023d7aa69dbed837ae54bbee0673364918e53d Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 7 Jan 2024 17:21:59 +0800 Subject: [PATCH] chore: update sudoers file for improved security and permissions management - Add `requiretty` to the `Defaults` in sudoers - Allow `drone-scp` to run commands without password prompt Signed-off-by: Bo-Yi Wu --- tests/sudoers | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/sudoers diff --git a/tests/sudoers b/tests/sudoers new file mode 100644 index 0000000..f842580 --- /dev/null +++ b/tests/sudoers @@ -0,0 +1,2 @@ +Defaults requiretty +drone-scp ALL=(ALL) NOPASSWD:ALL