mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-27 01:55:03 -07:00
baselayout: change permission of shadow and crypttab to 600
This commit is contained in:
parent
fec1edad8c
commit
8c12c9e94f
@ -48,9 +48,12 @@ done
|
|||||||
ln -s ../man "$1/usr/local/share/man"
|
ln -s ../man "$1/usr/local/share/man"
|
||||||
|
|
||||||
# /etc skeleton files.
|
# /etc skeleton files.
|
||||||
for f in crypttab fstab host.conf hosts issue os-release \
|
for f in fstab host.conf hosts issue os-release \
|
||||||
passwd profile securetty shadow shells; do
|
passwd profile securetty shells; do
|
||||||
install -m 644 "$f" "$1/etc"
|
install -m 644 "$f" "$1/etc"
|
||||||
done
|
done
|
||||||
|
for f in crypttab shadow; do
|
||||||
|
install -m 600 "$f" "$1/etc"
|
||||||
|
done
|
||||||
|
|
||||||
ln -s /proc/self/mounts "$1/etc/mtab"
|
ln -s /proc/self/mounts "$1/etc/mtab"
|
||||||
|
Loading…
Reference in New Issue
Block a user