forked from ungleich-public/cdist
fix permissions for /var/empty
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
parent
cc144d9e8f
commit
edf01900f3
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ cp /lib/libnss* "$dir/lib"
|
||||||
|
|
||||||
# Required by sshd
|
# Required by sshd
|
||||||
mkdir -p "$dir/var/empty"
|
mkdir -p "$dir/var/empty"
|
||||||
|
chmod 0700 "$dir/var/empty"
|
||||||
|
|
||||||
#cat << eof > "$dir/etc/shadow"
|
#cat << eof > "$dir/etc/shadow"
|
||||||
#root:x:0:0:root:/root:/bin/bash
|
#root:x:0:0:root:/root:/bin/bash
|
||||||
|
|
Loading…
Reference in a new issue