Skip to content

Commit 64672bb

Browse files
authored
Typo Fixes
1 parent 86f206e commit 64672bb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

TrueNAS-25.04.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,16 @@ unpriv(){
2525
}
2626

2727
# Compliance
28-
systemctl mask debug-shell.service
28+
sudo systemctl mask debug-shell.service
2929

3030
# Setting umask to 077
3131
umask 077
3232
sudo sed -i 's/^UMASK.*/UMASK 077/g' /etc/login.defs
3333
sudo sed -i 's/^HOME_MODE/#HOME_MODE/g' /etc/login.defs
34-
sudo sed -i 's/umask 022/umask 077/g' /etc/bashrc
3534

3635
# Setup NTS
3736
unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/refs/heads/main/etc/chrony/conf.d/10-custom.conf | tee /etc/chrony/conf.d/10-custom.conf > /dev/null
38-
chmod 644 /etc/chrony.conf
37+
chmod 644 /etc/chrony/conf.d/10-custom.conf
3938
systemctl restart chronyd
4039

4140
# Harden SSH

0 commit comments

Comments
 (0)