mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 08:53:41 +01:00
make /etc/motd mode 644 NOT 666
(Thank heavens I run cops every night.)
This commit is contained in:
parent
01d4912665
commit
4085cb917d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1673
@ -10,7 +10,7 @@ uname -a > $T
|
||||
echo "" >> $T
|
||||
sed '1,/^$/d' < /etc/motd >> $T
|
||||
cp $T /etc/motd
|
||||
chmod 666 /etc/motd
|
||||
chmod 644 /etc/motd
|
||||
rm -f $T
|
||||
|
||||
echo -n 'starting local daemons:'
|
||||
|
Loading…
Reference in New Issue
Block a user