How to create an AppArmor Profile on Ubuntu 18.04

Overview

AppArmor is a Mandatory Access Control (MAC) system which confines programs to a limited set of resources. AppArmor confinement is provided via profiles loaded into the kernel. AppArmor can be set to either enforce the profile or complain when profile rules are violated.

For this tutorial, we will generate an AppArmor profile for certspotter. certspotter is a new utility in Ubuntu as of 17.10 and no profile yet exists. certspotter monitors certificate transparency logs to see if new certificates have been generated for domains listed in a watchlist. Users of certspotter are encouraged to set up a cron job to regularly monitor new entries. I want to use this useful utility, but I haven’t had a chance to browse the source code, so I want to limit what it can do on my system.

What you’ll learn

  • How to create an AppArmor profile

What you’ll need

  • Ubuntu 17.10 or Ubuntu 18.04 LTS

Ready? Let’s get started!

[mai mult...]

How to Fix ‘Msvcr120.dll_clr0400.dll’ is Missing Error

Msvcr120.dll_clr0400.dll is responsible for the extraction of the required resources during the installation of an application. It is also used during the launch of programs or games in the C++ language. However, quite recently, a lot of reports have been coming in where users are encountering the “Msvcr120.dll_clr0400.dll is Missing” Error during the installation of an application or during the launch process.

In this article, we will go over some of the reasons due to which this error is triggered and also provide viable solutions to rectify the issue completely. Make sure to follow each step carefully and in the specific order in which they are listed to avoid conflict.

What Causes the “Msvcr120.dll_clr0400.dll is Missing” Error?

We investigated the particular issue based on user reports and various repair strategies that were used to rectify the issue.

As the message suggests, the error is triggered when the “Msvcr120.dll_clr0400.dll” is missing from the System 32 folder. The System 32 folder contains all the necessary files required for the smooth operation of the operating system and if one or more of those files are missing several errors might be triggered. The “Msvcr120.dll_clr0400.dll” can sometimes get deleted due to a virus infecting the computer or by an application.

Now that you have a basic understanding of the nature of the problem, we will move on towards the solutions.

[mai mult...]

How to Manually and Automatically Update Your Synology NAS Packages

Synology NAS

Synology has a very user-friendly Network Attached Storage (NAS) devices. Also, there are many add-on packages to add the functionality of the Synology NAS like sharing files on the cloud, setting up a VPN environment, sharing photos to an online album or even an antivirus to protect the system. Everything can be found & done with few clicks in Package Center. The result will be a multi-function device which performs the tasks of a full-size computer.

The Synology platform is so much more than just simple network-attached-storage & keeping the packages updated is critical in ensuring a bug-free smooth experience.

Synology NAS offers automatic download & installation of updates for packages but in some cases, the user wants to install updates manually.

[mai mult...]