summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Chevalier <perso@denischevalier.fr>2026-08-06 14:19:39 +0200
committerDenis Chevalier <perso@denischevalier.fr>2026-08-06 14:19:39 +0200
commit219f8c6f5ea2bd481f4fa2e57a396d45eff3de52 (patch)
tree80f71b54059b05ec126d4dd0e1855d1a0012f517
parentbf8e6f5cd139d39eecc4fd489b52582b90186066 (diff)
downloadpostinstall-219f8c6f5ea2bd481f4fa2e57a396d45eff3de52.tar.gz
postinstall-219f8c6f5ea2bd481f4fa2e57a396d45eff3de52.tar.bz2
postinstall-219f8c6f5ea2bd481f4fa2e57a396d45eff3de52.zip
fix some boot errors
-rw-r--r--all3
-rwxr-xr-xetc.bash6
-rw-r--r--etc/pam.d/greetd9
3 files changed, 18 insertions, 0 deletions
diff --git a/all b/all
index deb639b..5b7d27e 100644
--- a/all
+++ b/all
@@ -44,6 +44,7 @@ python-systemd
reflector
ripgrep
rsync
+rtkit
shotwell
smartmontools
snap-pac
@@ -61,3 +62,5 @@ typst-lsp-bin
typstfmt
unzip
usbutils
+wireless-regdb
+xorg-xrdb
diff --git a/etc.bash b/etc.bash
index 1477d17..fda089f 100755
--- a/etc.bash
+++ b/etc.bash
@@ -6,6 +6,7 @@ sudo cp -v ./etc/kernel/cmdline /etc/kernel/
sudo cp -v ./etc/modprobe.d/blacklist-security.conf /etc/modprobe.d/
sudo cp -v ./etc/pam.d/system-local-login /etc/pam.d/
sudo cp -v ./etc/pam.d/system-login /etc/pam.d/
+sudo cp -v ./etc/pam.d/greetd /etc/pam.d/
sudo cp -v ./etc/login.defs /etc/
sudo cp -v ./etc/updatedb.conf /etc/
sudo cp -v ./etc/sudoers.d/00-hardening /etc/sudoers.d/
@@ -44,3 +45,8 @@ sudo cp -v ./etc/systemd/system/fail2ban.service.d/override.conf /etc/systemd/sy
echo "==> Applying cups.service hardening..."
sudo cp -v ./etc/systemd/system/cups.service.d/override.conf /etc/systemd/system/cups.service.d/
+
+# cups
+sudo mkdir -p /var/log/cups
+sudo chown -R root:lp /var/log/cups
+sudo chmod 755 /var/log/cups
diff --git a/etc/pam.d/greetd b/etc/pam.d/greetd
new file mode 100644
index 0000000..148de0b
--- /dev/null
+++ b/etc/pam.d/greetd
@@ -0,0 +1,9 @@
+#%PAM-1.0
+
+auth required pam_securetty.so
+auth requisite pam_nologin.so
+auth include system-local-login
+auth optional pam_gnome_keyring.so
+account include system-local-login
+session include system-local-login
+session optional pam_gnome_keyring.so auto_start