You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Now we are nearly finished. Go ahead and delete your current `/etc/motd` file wi
25
25
```rm /etc/motd```
26
26
27
27
If you now login to your system via ssh it should work just fine. If it does not, you might need to check your `/etc/ssh/sshd_config` server config. You must use PAM for this to work `UsePAM yes`. Also make sure to set `PrintMotd no`.
28
-
Lastly you need to check if your `/etc/pam.d/sshd` config file contains the following content:
28
+
Lastly you need to check if your `/etc/pam.d/sshd`(for ssh logins) and `/etc/pam.d/login` (local terminal logins) config file contains the following content:
29
29
30
30
```
31
31
# Print the message of the day upon successful login.
0 commit comments