mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-09 04:01:33 -05:00
Create limits.d (and sanitise directory creation a tad)
Signed-off-by: funk-on-code <113871227+funk-on-code@users.noreply.github.com>
This commit is contained in:
parent
a68405a23a
commit
f0d50359de
@ -462,8 +462,9 @@ mkdir -p /mnt/etc/systemd/system/sshd.service.d/
|
|||||||
unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | tee /mnt/etc/systemd/system/sshd.service.d/override.conf > /dev/null
|
unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | tee /mnt/etc/systemd/system/sshd.service.d/override.conf > /dev/null
|
||||||
|
|
||||||
## Disable coredump
|
## Disable coredump
|
||||||
|
[ ! -d "/mnt/etc/security/limits.d" ]; mkdir -p /mnt/etc/security/limits.d
|
||||||
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf | tee /mnt/etc/security/limits.d/30-disable-coredump.conf > /dev/null
|
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf | tee /mnt/etc/security/limits.d/30-disable-coredump.conf > /dev/null
|
||||||
mkdir -p /mnt/etc/systemd/coredump.conf.d
|
[ ! -d "/mnt/etc/systemd/coredump.conf.d" ]; mkdir -p /mnt/etc/systemd/coredump.conf.d
|
||||||
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/coredump.conf.d/disable.conf | tee /mnt/etc/systemd/coredump.conf.d/disable.conf > /dev/null
|
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/coredump.conf.d/disable.conf | tee /mnt/etc/systemd/coredump.conf.d/disable.conf > /dev/null
|
||||||
|
|
||||||
# Disable XWayland
|
# Disable XWayland
|
||||||
|
Loading…
Reference in New Issue
Block a user