mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-26 01:25:01 -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"
|
||||
|
||||
# /etc skeleton files.
|
||||
for f in crypttab fstab host.conf hosts issue os-release \
|
||||
passwd profile securetty shadow shells; do
|
||||
for f in fstab host.conf hosts issue os-release \
|
||||
passwd profile securetty shells; do
|
||||
install -m 644 "$f" "$1/etc"
|
||||
done
|
||||
for f in crypttab shadow; do
|
||||
install -m 600 "$f" "$1/etc"
|
||||
done
|
||||
|
||||
ln -s /proc/self/mounts "$1/etc/mtab"
|
||||
|
Loading…
Reference in New Issue
Block a user