The way Bacula works is: A backup client runs a TCP server process bacula-fd, waiting for a backup server process bacula-dir to connect and perform backup and restore jobs. There is a simple authentication mechanism, where bacula-dir presents a shared secret to bacula-fd to be granted access. Opening the bacula-fd TCP server on an exposed […]
Articles in Category "Administration"
Create or Append a debian/changelog Entry
31. Oktober 2021 in Administration, GNU/Linux, Programming, Technology.
Since i always have to look this up, everytime i need it, i write it down once, as “note to self”! NAME=”John Smith” EMAIL=j.smith@example.org \ dch –create \ –package my-package \ –newversion 0.1 \ “Initial release” And that’s it! 🙂
Generate Certificate Signing Requests (CSRs) for TLS Server Certificates
28. November 2021 in Administration, GNU/Linux, Technology.
Overview In this article, a procedure is described to generate multiple certificate signing requests (CSR) for TLS servers, such as SMTP-, IMAP- or HTTP-servers, so that we can submit them to a Certificate Authority (CA). The CA will eventually perform the signature and return a public certificate to us. A Shell and the software OpenSSL […]
Methods of HTTP Caching
1. März 2021 in Administration, GNU/Linux.
Preface I find the world wide web and the spectrum of methods and instruments that make it happen full of dubiousness and opportunity alike. Caching is generally known as one of the “hard problems” of information science, and this is not different when it comes to technologies of the web. The text presented here, as […]
Comparing Distinguished LDAP Names
6. August 2020 in Administration, GNU/Linux, Programming.
In a Bourne Shell script, a distinguished name (DN) for performing an LDAP-query is held in a variable: dn=”cn=Malmø,ou=County Capitals,dc=Sweden,dc=Europe” For the purpose of demonstration, this example DN contains a non-ASCII character. Let’s write a Bourne Shell function that escapes such special characters as requested by RFC 4514 using perl’s Net::LDAP::Util: canonical_dn() { perl -s […]
Determining User Access on a Linux Filesystem with “Classic Permissions”
30. November 2021 in Administration, GNU/Linux.
Introduction Looking at a Linux filesystem, checking if a certain file or directory is accessible for reading, writing or executing by certain users or groups poses interesting challenges. Let the basic and seemingly simple question be: “Given a user X and a file Y, can it be determined if X has access to Y, and […]
AD-Precreation using ktutil, kinit and adcli
4. Dezember 2019 in Administration, GNU/Linux.
Using computer object precreation you can enable machines to join an Active Directory domain with knowledge of just one dedicated one-time-password. Combined with delegation you can offload management of computer objects to an otherwise unprivileged AD user.
In Powershell das Piepen bei Backspace abstellen
7. April 2017 in Administration.
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 […]