Skip to content

Commit 6aeee8b

Browse files
committed
fix(bench): chage -M -1 root in cloud-init to prevent PAM password expiry on SSH
1 parent 990bb29 commit 6aeee8b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/bench-sweep.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ jobs:
101101
mkdir -p /root/.ssh && chmod 700 /root/.ssh
102102
echo "${BENCH_SSH_PUBLIC_KEY}" >> /root/.ssh/authorized_keys
103103
chmod 600 /root/.ssh/authorized_keys
104+
chage -M -1 root
104105
useradd -m -s /bin/bash github
105106
usermod -aG docker github
106107
echo "${GH_TOKEN}" | docker login ghcr.io -u nikolay-e --password-stdin

0 commit comments

Comments
 (0)