• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

lastb in OpenSuSE 10.3

xcomm

Newbie
Hi Forum,

bisher konnte man lastb hier aktivieren - leider finde ich es in 10.3 hier nicht mehr?

vi /etc/login.defs
Code:
   #
   # If defined and the file exist, login failures will be
   # logged here in a utmp format.
   # last, when invoked as lastb, will read /var/log/btmp, so...
   #
   FTMP_FILE       /var/log/btmp

touch /var/log/btmp

#lastb

Weiß jemand, wo man es jetzt aktivieren muß?

Danke, xcomm
 
OP
X

xcomm

Newbie
Hi panamajo,

super danke!!!!!!!!!!!!!!!!!!!!!!!!
Code:
chmod 600 /var/log/btmp
 mode of `/var/log/btmp' changed to 0600 (rw-------)
Code:
master220:(/usr/local/src)# lastb
root     ssh:notty    nids.example.com Thu May  8 17:03 - 17:03  (00:00)

Beste Grüße, xcomm
 
Oben