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
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
Changes in file ''/etc/pam.d/sshd'':
Changes in file '''''/etc/pam.d/sshd''''':


<syntaxhighlight lang="bash" highlight="3-8">#!/bin/sh
<syntaxhighlight lang="bash" highlight="4-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.

Aktuelle Version vom 15. Juni 2020, 07:55 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
...