Skip to content

Commit

Permalink
docs: update information on /etc/pam.d/login
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Dec 1, 2024
1 parent 29e8e8f commit ca2b043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Now we are nearly finished. Go ahead and delete your current `/etc/motd` file wi
```rm /etc/motd```

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`.
Lastly you need to check if your `/etc/pam.d/sshd` config file contains the following content:
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:

```
# Print the message of the day upon successful login.
Expand Down

0 comments on commit ca2b043

Please sign in to comment.