Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, my /var/log/auth.log shows the wrong date and hostname, I've tried everything, but can't get it right. Any idea? Code: root@outcast [/etc] date Thu Oct 2 03:45:20 CEST 2008 root@outcast ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    11

    auth.log shows wrong date and hostname

    Hi, my /var/log/auth.log shows the wrong date and hostname, I've tried everything, but can't get it right. Any idea?

    Code:
    root@outcast [/etc] date
    Thu Oct  2 03:45:20 CEST 2008
    root@outcast [/etc] hostname
    outcast
    root@outcast [/etc] tail -f /var/log/auth.log
    Oct  1 18:46:06 wronghostname sshd[25894]: Invalid user asdf from x.x.x.x
    ...

  2. #2
    Just Joined!
    Join Date
    Jun 2008
    Posts
    11
    found help in another forum:

    /etc/init.d/sysklogd restart

    did the trick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •