Suppress "No mail" message after SSH Login: Unterschied zwischen den Versionen

Aus wiki.frank-wulf.de
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
Changes in file ''/etc/pam.d/sshd'':
Changes in file ''/etc/pam.d/sshd'':


<syntaxhighlight lang="bash" highlight="3-7">#!/bin/sh
<syntaxhighlight lang="bash" highlight="3-8">#!/bin/sh
...
...
# Print the status of the user's mailbox upon successful login.
# Print the status of the user's mailbox upon successful login.

Version vom 14. Juni 2020, 09:31 Uhr

Changes in file /etc/pam.d/sshd:

#!/bin/sh
...
# Print the status of the user's mailbox upon successful login.
#>>>2020-06-14 Frank Wulf
# Suppress "no mail" message after login
#session    optional     pam_mail.so standard noenv # [1]
session    optional     pam_mail.so quiet noenv # [1]
#<<<2020-06-14 Frank Wulf
...