[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: keine motd auf einem wheezy-System



Am Sonntag, den 18.08.2013, 09:36 +0200 schrieb Marc Haber:
> On Sun, 18 Aug 2013 03:10:59 +0200, Sascha Reißner
> <reiszner@novaplan.at> wrote:
> >Am Freitag, den 16.08.2013, 21:47 +0200 schrieb Marc Haber:
> >> Die PAM-Konfiguration auf beiden Systemen in /etc/pam.d ist
> >> ausweislich sha1-Prüfsummen identisch.
> >
> >PAM regelt nur die Authendifizierung und hat damit nichts zutun.
> 
> |$ grep -i motd /etc/pam.d/*
> |/etc/pam.d/login:# (Replaces the `MOTD_FILE' option in login.defs)
> |/etc/pam.d/login:# This includes a dynamically generated part from /run/motd.dynamic
> |/etc/pam.d/login:# and a static (admin-editable) part from /etc/motd.
> |/etc/pam.d/login:session    optional   pam_motd.so  motd=/run/motd.dynamic
> |/etc/pam.d/login:session    optional   pam_motd.so
> |/etc/pam.d/sshd:# This includes a dynamically generated part from /run/motd.dynamic
> |/etc/pam.d/sshd:# and a static (admin-editable) part from /etc/motd.
> |/etc/pam.d/sshd:session    optional     pam_motd.so  motd=/run/motd.dynamic noupdate
> |/etc/pam.d/sshd:session    optional     pam_motd.so # [1]
> 
> Hältst Du diese Behauptung immer noch aufrecht?

Hmmm, wusste ich nicht, aber okay, wieder was gelernt, thx 4 Info.
Trotzdem, bei mir sieht es genauso aus und ich bekomme eine MOTD auf
allen Hosts und zwar genau so wie es in der /etc/pam.d/sshd angegeben
ist.
Eventuell sind bei dir die Rechte verdreht (obwohl ich das nicht
glaube)?

Hier, bei mir sieht es so aus:
$ ls -l /etc/pam.d/sshd 
-rw-r--r-- 1 root root 1462 Feb  8  2013 /etc/pam.d/sshd
$ ls -l /etc/motd 
-rw-r--r-- 1 root root 286 Dez 14  2012 /etc/motd
ls -l /run/motd.dynamic 
-rw-r--r-- 1 root root 57 Aug 24 18:35 /run/motd.dynamic

-- 
mfG Sascha

~~~
Deswegen sind Bücher willkommen, die uns sowohl das neu 
Empirisch-Aufgefundene als die neu beliebten Methoden darlegen.
		-- Goethe, Maximen und Reflektionen, Nr. 952


Reply to: