Skip to content

Commit ae023d7

Browse files
committed
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>
1 parent 2225457 commit ae023d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/sudoers

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Defaults requiretty
2+
drone-scp ALL=(ALL) NOPASSWD:ALL

0 commit comments

Comments
 (0)