Skip to content

Commit ca2b043

Browse files
committed
docs: update information on /etc/pam.d/login
1 parent 29e8e8f commit ca2b043

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Now we are nearly finished. Go ahead and delete your current `/etc/motd` file wi
2525
```rm /etc/motd```
2626

2727
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:
2929

3030
```
3131
# Print the message of the day upon successful login.

0 commit comments

Comments
 (0)