summaryrefslogtreecommitdiff
path: root/modules/pam_motd/README
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_motd/README')
-rw-r--r--modules/pam_motd/README9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/pam_motd/README b/modules/pam_motd/README
index cd1e27e9..375ec809 100644
--- a/modules/pam_motd/README
+++ b/modules/pam_motd/README
@@ -24,8 +24,9 @@ Similar overriding behavior applies to the directories. Files in /etc/motd.d/
override files with the same name in /run/motd.d/ and /usr/lib/motd.d/. Files
in /run/motd.d/ override files with the same name in /usr/lib/motd.d/.
-Files the in the directories listed above are displayed in lexicographic order
-by name.
+Files in the directories listed above are displayed in lexicographic order by
+name. Moreover, the files are filtered by reading them with the credentials of
+the target user authenticating on the system.
To silence a message, a symbolic link with target /dev/null may be placed in /
etc/motd.d with the same filename as the message to be silenced. Example:
@@ -51,6 +52,10 @@ motd_dir=/path/dirname.d
colon-separated list. By default this option is set to /etc/motd.d:/run/
motd.d:/usr/lib/motd.d.
+noupdate
+
+ Don't run the scripts in /etc/update-motd.d to refresh the motd file.
+
When no options are given, the default behavior applies for both options.
Specifying either option (or both) will disable the default behavior for both
options.