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 <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2024-01-07 17:21:59 +08:00
parent 222545746b
commit ae023d7aa6
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

2
tests/sudoers Normal file
View File

@ -0,0 +1,2 @@
Defaults requiretty
drone-scp ALL=(ALL) NOPASSWD:ALL