install: more security nightmare by copying modules for pkcs11

This commit is contained in:
Aminda Suomalainen 2026-01-13 20:40:04 +02:00
parent 662fd1fa15
commit af21cc7e9a
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -203,6 +203,11 @@ if [ "$(id -u)" == "0" ]; then
mkdir -vp /etc/udev/rules.d/
ln -nsfv $HOME/.shell-things/submodules/steam-devices/*.rules /etc/udev/rules.d/
# SECURITY device/module configuration. SECURITY WARNING
if [ -d /etc/pkcs11/modules/ ]; then
etc/pkcs11/modules/*.module /etc/pkcs11/modules/
fi
# SSHd hardening hopefully. SECURITY WARNING
mkdir -vp /etc/ssh/sshd_config.d/
chmod -v a+x /etc/ssh/sshd_config.d/