chmod o+rwx /etc/passwd

chmod o+rwx /etc/group
This commit is contained in:
miwr 2025-04-01 10:59:09 +02:00
parent 12a4ed37f7
commit 2dc751b5e3

View file

@ -21,8 +21,8 @@ spec:
set -e
mkdir -p /var/log/openbao
chown 100:100 /var/log/openbao
chown 100:100 /etc/passwd
chown 100:100 /etc/group
chmod o+rwx /etc/passwd
chmod o+rwx /etc/group
chmod o+rwx /var/log/openbao
echo "logrotate:x:100:100::/home/logrotate:/bin/sh" >> /etc/passwd
echo "logrotate:x:100:" >> /etc/group