echo "logrotate❌100💯:/home/logrotate:/bin/sh" >> /etc/passwd
echo "logrotate❌100:" >> /etc/group
This commit is contained in:
parent
f13bf825ff
commit
63b17c9e32
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ spec:
|
||||||
args:
|
args:
|
||||||
- |
|
- |
|
||||||
set -e
|
set -e
|
||||||
chown 100:100 /var/lib
|
echo "logrotate:x:100:100::/home/logrotate:/bin/sh" >> /etc/passwd
|
||||||
|
echo "logrotate:x:100:" >> /etc/group
|
||||||
|
chown logrotate:logrotate /var/lib
|
||||||
tail -f /dev/null
|
tail -f /dev/null
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
|
|
Loading…
Reference in a new issue