chmod o+rwx /etc/passwd
chmod o+rwx /etc/group
This commit is contained in:
parent
12a4ed37f7
commit
2dc751b5e3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue