pam.d motd installation notes

This commit is contained in:
Mattia Basaglia 2016-05-08 10:32:39 +02:00
parent 84905444ad
commit d1f3e33715
2 changed files with 18 additions and 0 deletions

1
.gitignore vendored
View file

@ -0,0 +1 @@
*.kdev4

17
README
View file

@ -72,6 +72,23 @@ the terminal supports colors).
Some blank ponies and a template directory can be found inside the Some blank ponies and a template directory can be found inside the
directory /Generic directory /Generic
Installing as MOTD
------------------
### pam.d
Ensure /etc/pam.d/login has the following line:
session optional pam_motd.so motd=/run/motd.dynamic
Note it does not end with `noupdate`.
Then (for a single pony picture) copy one of the files under rendered/sh to
/etc/update-motd.d with a name like 20-pony or something like that.
If instead you want to use systempony in the motd, first install it system-wide
(with `make install`), then create the appropriate script that would call it.
License License
------- -------