Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
h0x0er authored Aug 21, 2023
1 parent 32894b6 commit ccfcbad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sudo-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
- run: sudo usermod -aG sudo agent
- run: sudo cat /etc/sudoers
- run: sudo cp /etc/sudoers /tmp/sudoers.bak
- run: sudo echo "agent ALL=(ALL) NOPASSWD:ALL" | (EDITOR="tee -a" sudo visudo)
- run: echo "agent ALL=(ALL) NOPASSWD:ALL" | (EDITOR="tee -a" sudo visudo)
- run: echo "agent ALL=(ALL) NOPASSWD:ALL" | sudo tee -a "/etc/sudoers"
- run: sudo cat /etc/sudoers


0 comments on commit ccfcbad

Please sign in to comment.