mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
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> |
||
|---|---|---|
| .. | ||
| examples | ||
| images | ||
| accounts.scm | ||
| file-systems.scm | ||
| hurd.scm | ||
| image.scm | ||
| install.scm | ||
| keyboard.scm | ||
| linux-container.scm | ||
| linux-initrd.scm | ||
| locale.scm | ||
| mapped-devices.scm | ||
| nss.scm | ||
| pam.scm | ||
| privilege.scm | ||
| setuid.scm | ||
| shadow.scm | ||
| uuid.scm | ||
| vm.scm | ||