W liście z śro, 17-12-2003, godz. 19:27, Tomek Orzechowski pisze: > [17 grudzień, 2003] Paweł Gołaszewski napisał: > > >On Wed, 17 Dec 2003, Tomek Orzechowski wrote: > >> >I ten problem dot. u mnie Ra, a nie dot. Ac. Kts to tez zauważył u > >> >siebie? > >> > >> ~ $ ssh gruby > >> Last login: Wed Dec 17 12:47:38 2003 from alpha > >> > >> ([EMAIL PROTECTED]) 12:48:30 > >> ~ $ rpm -q issue openssh > >> issue-1.1-1 > >> openssh-3.7.1p2-1 > >> > >> ~ # grep LastLog /etc/ssh/sshd_config > >> #PrintLastLog yes > > > >grep Login /etc/ssh/sshd_config > > > >jeżeli masz na yes to się pojawia. > > sshd_config bez komentarzy, to już nie gruby, ale bardzo podobny serwer > i zachowuje się tak samo (jak zresztą reszta maszyn, czyli dobrze ;) > > Port 22 > Protocol 1,2 > KeyRegenerationInterval 3600 > ServerKeyBits 768 > SyslogFacility AUTH > LogLevel INFO > LoginGraceTime 600 > PermitRootLogin no > StrictModes yes > RSAAuthentication yes > IgnoreRhosts yes > RhostsRSAAuthentication no > PasswordAuthentication yes > PermitEmptyPasswords no > UsePAM yes > X11Forwarding yes > X11DisplayOffset 10 > X11UseLocalhost yes > PrintMotd yes > KeepAlive yes > UseLogin no > UsePrivilegeSeparation no > > Dodam: /var/log/lastlog root:utmp 660
U mnie sie wyswietla: [EMAIL PROTECTED] root]# grep Log /etc/ssh/sshd_config | tail -2 PrintLastLog yes UseLogin no [EMAIL PROTECTED] root]# ls -l /var/log/lastlog -rw-rw---- 1 root utmp 2499228 12-18 10:24 /var/log/lastlog TiweK -- Tomasz Witek <[EMAIL PROTECTED]> __________________________________________________________ nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles
