Language Selection

English French German Italian Portuguese Spanish

Configure Local and Remote System Logging : Ubuntu

Filed under
HowTos

A linux machine has a logging system which keeps track of what everything is doing. Anytime you authorize with sudo it gets logged. Anytime you (or someone else) connects via ssh it gets logged. Apache logs connections, mail servers log emails sent and refused. Pretty much everything keeps a log of what it is doing so you can later troubleshoot it or simply have a record of it.For those that are security minded it may not be a bad idea to keep duplicate of your logs by sending them not only to the local machine but to a remote machine as well. This way, even if an attacker is able to get into the first machine his steps are logged remotely before he is able to clear them on the local machine. This, of course, has a number of other valuable uses. In any event, here are a few quick steps to set it up.

/etc/syslog.conf

This file is the main “what gets logged and where” file for your system. If you take a look at it you’ll see that it takes different types of logs and writes them to the appropriate files. Mail here. Cron there. etc. We can easily tell the system to send the logs elsewhere with the following:

More Here.




More in Tux Machines

Leftovers: Gaming

Open Source Software: 10 Go To Solution for Small Businesses

While closed-source operating systems such as Windows and Mac OS may still dominate the OS market, not everyone can afford the high costs that they entail. For small- and medium-sized enterprises where every penny matters, taking advantage of open-source software such as Ubuntu’s Linux is a good bet to boost productivity and cost effectiveness. The fact that open-source softwares have evolved to become somewhat user-friendly and sleek also helps a good deal. Read more

Linux 4.11-rc8

So originally I was just planning on releasing the final 4.11 today, but while we didn't have a *lot* of changes the last week, we had a couple of really annoying ones, so I'm doing another rc release instead. I did get fixes for the issues that popped up, so I could have released 4.11 as-is, but it just doesn't feel right. It's not like another week of letting this release mature will really hurt. The most noticeable of the issues is that we've quirked off some NVMe power management that apparently causes problems on some machines. It's not entirely clear what caused the issue (it wasn't just limited to some NVMe hardware, but also particular platforms), but let's test it. Read more Also: Linux 4.11 delayed for a week by NVMe glitches and 'oops fixes' Linux 4.11 Pushed Back: 4.11-rc8 Released

Themes for Ubuntu

  • Flattiance is a Flat Fork of Ubuntu’s Ambiance Theme
    Flattiance is pitched as a “semi-flat fork” of the Ubuntu Ambiance theme. You know, the one that ships out of the box and by default. On the whole Flattiance keeps to the same color palette, with dark browns and orange accents, but it ditches the gradient in app headers in favour of a solid block.
  • A quick look at some essential GNOME Shell tweaks and extensions
    Now that Ubuntu is moving to GNOME Shell, many people will get a bit of a shock at how different the workflow is from Unity to Shell. Here’s a quick look at some essentials to get you going.