guix/gnu/system
Rutherther 94f9177cf8
install: Show different motd in headless console.
motd is shown by the pam module, it doesn't support changing what motd gets
displayed easily. The only way to control it is by read permissions on
individual motd files, making files unreadable by the user logging in.

So instead of that, make a custom script that prints different motd,
checking if a temporary file exists. An environment variable would be better
suited for this purpose, but those aren't passed through by PAM.

* gnu/system/install.scm
(%installation-login-pam-service): New variable. Modified login pam service.
(%installation-console-login): New variable. Wrapper around login to create a
file for PAM rule.
(%installation-services): Use new login pam service and wrapper.

Change-Id: I5e05e604b3106390181190559ade62ca5e2db216
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-14 09:17:34 +01:00
..
examples vm-image.tmpl: Remove current-guix url override. 2025-12-22 23:00:45 +01:00
images images: Add rock-4c-plus support. 2025-09-18 23:28:19 +02:00
accounts.scm Update Giacomo's email address. 2025-12-03 14:38:09 +09:00
file-systems.scm file-systems: Support the 'remount' mount flag. 2025-11-06 23:29:46 +01:00
hurd.scm gnu: nss-certs: Relocate to (gnu packages nss). 2025-08-17 22:34:42 +02:00
image.scm image: operating-system-for-image: Bring back root-fs placeholder. 2026-01-04 12:46:55 +01:00
install.scm install: Show different motd in headless console. 2026-01-14 09:17:34 +01:00
keyboard.scm
linux-container.scm system: Reinstate lock-mounts work around for system containers. 2025-12-16 09:32:07 +01:00
linux-initrd.scm linux-initrd: Support more virtio modules in initrd. 2025-12-22 23:00:42 +01:00
locale.scm locale: Upgrade ‘%default-locale-libcs’. 2025-07-18 20:17:51 +02:00
mapped-devices.scm mapped-devices/luks: Support extra options. 2025-10-06 10:21:16 +02:00
nss.scm nss: Allow selecting IP protocol for mDNS lookups. 2025-10-13 14:48:27 +02:00
pam.scm
privilege.scm
setuid.scm
shadow.scm Update Giacomo's email address. 2025-12-03 14:38:09 +09:00
uuid.scm
vm.scm vm: Let ‘%immutable-store’ through. 2025-10-01 10:45:09 +02:00