Skip to content

Commit

Permalink
chore: update sudoers file for improved security and permissions mana…
Browse files Browse the repository at this point in the history
…gement

- 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>
  • Loading branch information
appleboy committed Jan 7, 2024
1 parent 2225457 commit ae023d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/sudoers
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Defaults requiretty
drone-scp ALL=(ALL) NOPASSWD:ALL

0 comments on commit ae023d7

Please sign in to comment.