Univention Bugzilla – Bug 27759
Debian Meldung
Last modified: 2012-07-20 15:24:47 CEST
Beim Login auf einem UCS 3.0-2 bekomme ich diese "Debian-WARRANTY"-Meldung: stefan@leka:~$ ssh root@10.201.81.1 Password: Last login: Thu Jun 28 08:04:50 CEST 2012 from leka.knut.univention.de on ssh Linux master 2.6.32-ucs60-amd64 #1 SMP Fri Feb 24 00:03:35 UTC 2012 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jun 28 08:40:44 2012 from leka.knut.univention.de IMHO hatten wir die mal deaktiviert.
(In reply to comment #0) > IMHO hatten wir die mal deaktiviert. → Bug #666 Im Moment wird auch zwei mal die "Last login" Meldung angezeigt, beim zweiten mal dann die aktuelle Uhrzeit, also ein falscher Wert.
Fixed: In univention-pam wurde pam_lastlog aus der sshd PAM Konfiguration entfernt. In univention-base-files wurde ein dpkg-divert auf /var/run/motd hinzugefügt.
Leider reicht das nicht /var/run/motd wird /etc/init.d/bootlogs beim Systemstart überschrieben. uname -snrvm > /var/run/motd [ -f /etc/motd.tail ] && cat /etc/motd.tail >> /var/run/motd Ein dpkg-divert hilft hier nicht. Nach dem Neustart gibt es wieder die Debian Meldung: ssh -X root@10.200.7.100 Password: Linux master 2.6.32-ucs64-686-bigmem #1 SMP Fri Jun 1 15:49:43 UTC 2012 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Jul 11 18:22:18 2012 from lots.knut.univention.de
/etc/motd.tail wird jetzt anstatt /var/run/motd per dpkg-divert verschoben.
OK, "Debian-WARRANTY"-Meldung ist weg und Last Login ist auch i.O. Changelog Eintrag vorhanden.
UCS 3.0-2 has been released: http://forum.univention.de/viewtopic.php?f=54&t=1905 If this error occurs again, please use "Clone This Bug".