Artikel in Kategorie "Administration"

In Powershell das Piepen bei Backspace abstellen

Folgendes Verfahren habe ich auf Windows 10 Home durchgeführt: In einer Powershell werden einige Vorbereitungen durchgeführt: # Profil erstellen, falls nicht vorhanden if (!(test-path $PROFILE)) { new-item -type file -path $PROFILE -force } # Skript-Ausführungs-Richtlinie ändern: Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force # Profil-Skript editieren: notepad $PROFILE Hinweis: Die Ausführungsrichtlinie RemoteSigned erlaubt das Ausführen von Skripten auf […]

WordPress Mitigation for CVE-2016-10033 („PwnScriptum“)

In your WP installation, replace the file wp-includes/class-phpmailer.php with the one from PHPMailer at least of version 5.2.18: cd $wp_install curl -L \ https://github.com/PHPMailer/PHPMailer/archive/v5.2.21.tar.gz | \ tar xzOf – PHPMailer-5.2.21/class.phpmailer.php \ > wp-includes/class-phpmailer.php  

Rejecting Microsoft Executables and Office Documents with Postfix

Here is a pcre-entry for Postfix‘ mime_header_checks that will cause Postfix to reject any email containing a file potentially containing code that is executable on Microsoft operating systems (note that this also includes filenames ending with .js) or a document for Microsoft Office (including Access, Excel, Powerpoint, Visio and Word including RTF Documents) or some […]

Sicherung von MySQL mit Disk-Snapshots

Problem Beim Backup von MySQL-Servern mit VMWare Data Protection, Veeam und mit Snapshots im Allgemeinen ist zu beachten: Ein Backup-Snapshot eines laufenden MySQL-Servers enthält nicht den Inhalt des RAMs. /var/lib/mysql im Snapshot stimmt nicht mehr mit dem RAM überein und ist möglicherweise korrumpiert. Schlussfolgerung: Dieser Snapshot ist als Backup unbrauchbar. Das Problem ist nicht VMWare-spezifisch […]

Centralized Syslog Using MongoDB And PHP

Introduction This setup codenamed „PMS“ (for PHP/MongoDB/Syslog) can be used to let one or more Syslog-servers write log messages to a MongoDB collection. They can then be accessed using a PHP web application. It has been tested on Linux using RSyslog, MongoDB, Apache and PHP (with MongoDB extension) from Devuan (Ceres). The quality of this […]

Basic Example for Response-Policy-Zones with BIND

I would like to emulate a public DNS entry that does not exist yet, while i am developing the service that will use this name on an intranet server. Let a public domain name i develop the service for be myservice.my-cool-domain.biz. When working in my intranet 192.168.2.0/24, i want to override whatever public DNS resolves […]

Providing XDG Runtime Directories

Introduction The intended audience for this document are application programmers and providers of init-systems for managing features of installations of the GNU/Linux operating system and POSIX-compliant operating systems in general, who are concerned with per-user temporary file management based on the XDG Base Directory Specification, [XDG]. Many applications that follow XDG guidelines and specifications expect […]

„nodm“: Improved „restart“ behavior

I currently maintain an experimental spin-off of the „nodm“ minimal display manager written by Mr. Enrico Zini: Spin-Off project site: https://git.devuan.org/tilt/nodm As has been reported, in recent installations of „nodm“ from Debian packages up to version 0.11.1-3 (Debian unstable), the „restart“ action of the sysvinit-script does not reliably restart „nodm“. This is due to the […]