[ LUGOS ] lastlog
Martin
martin na amadej.si
Tor Feb 20 21:02:56 CET 2001
Imam slacka 7.0
Pred kratkim sem potegnu dol z ftp.slackware.com
etc.tgz in se podobne novejse tarball pakete.
Ko sem uporabil upgradepkg (predvidevam da je bil etc.pkg kriv)
mi komanda lastlog ni pokazala nicesar vec.
V /var/log/ ne obstaja vec lastlog.
Recimo ssh daemon izpise to napako:
"
Feb 20 21:01:12 hexa sshd[237]: lastlog_perform_login: Couldn't stat
/var/log/lastlog: No such file or directory
Feb 20 21:01:12 hexa sshd[237]: lastlog_openseek: /var/log/lastlog is not a
file or directory!
Feb 20 21:01:12 hexa sshd[238]: lastlog_perform_login: Couldn't stat
/var/log/lastlog: No such file or directory
Feb 20 21:01:12 hexa sshd[238]: lastlog_openseek: /var/log/lastlog is not a
file or directory!
"
Potem recimo naredim lastlog takole:
touch lastlog
chmod 775 lastlog
Postane napaka:
"
Feb 20 21:02:46 hexa sshd[251]: lastlog_get_entry: Error reading from
/var/log/lastlog: Socket operation on non-socket
"
In last komanda sevedno ne deluje (ne izpise nic).
Sicer pa pri loginu ze izpisuje last login:
Last login: Tue Feb 20 21:02:55 2001 from strela.hexa.0.3
Kako popravt da bo last komanda mi izpisovala usere?
Dodatne informacije o seznamu Starilist