Post tagged: login

nginx's auth_request_module howto

This article tries to supplement the nginx documentations regarding the auth_request module and how to configure it. In my opinion, that documentation is a bit incomplete.

What is the nginx's auth_request module

The documentation for this module says, it implements client authorization based on the result of a subrequest.

This …

Installing Void Linux

I made the switch to void linux. Except for compatibility issues around glibc, it works quite well. Most compatibility I have worked around with a combination of Flatpaks, chroots and namespaces.

The high lights of void linux:

  • musl build - which is very lightweigth
  • Does not depend on systemd …

VNC desktop

IDEA:

Client connects >
        < server sends version string (Use 3.3 only)
Client replies with actual verison string >
        < server sends security type; NONE
Client send ClientInit (shared flag) > 
        < sever sens ServerInit (server details) WxHxD Name
=== standard stuff ===

2 VERSIONS

  • kiosk
  • unmodified vncviewer connects to a multiplexer screen
  • server (in inetd mode …

Rollback with YUM History Command

From 2daygeek.com

Server patching is one of the important task of Linux system administrator to make the system more stable and better performance. All the vendors used to release security/vulnerabilities patches very often, the affected package must be updated in order to limit any potential security risks.

Yum …

Centos Install notes

Set-up local.repo

yum installs:

  • nfs-utils autofs
  • @x11
  • @xfce
  • wget
  • dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts
  • xorg-x11-fonts-{Type1,misc,75dpi,100dpi}
  • bitmap-console-fonts bitmap-fixed-fonts bitmap-fonts-compat bitmap-lucida-typewriter-fonts
  • ucs-miscfixed-fonts urw-fonts
  • open-sans-fonts
  • webcore-fonts webcore-fonts-vista
  • liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts
  • bitstream-vera-sans-fonts bitstream-vera-serif-fonts
  • gnu-free-{mono,sans,serif}-fonts
  • tk
  • firefox
  • mplayer ffmpeg alsa-utils
  • xsensors xfce4-sensors-plugin
  • keepassx
  • git

Building RPM packages with …

OpenShift notes

THIS IS FOR ARCHIVAL PURPOSES. THIS IS OUT-OF-DATE

backup OpenShift

openshift getenv(USER) from OpenShift php
ssh to {user}@{app-domain} gear snapshot  > file

Run gear app

OpenShift migration further notes

Encrypt a file using a supplied password :

$ openssl enc -aes-256-cbc -salt -in file.txt -out file.txt.enc -k …

Deploying Kerberos based SSO

This article goes over how to implement Single-Sign-On on Linux. It goes over the integration around the Kerberos service and the applications, like for example FireFox.

Pre-requisites

  • Kerberos Domain Controller (KDC)
  • User accounts in the KDC
  • KDC based logins

To make sure that this is working, login to your workstation …

My Must Have Android Apps

This is a list of my favorite Android Apps:

Essentials

  • Barcode Scanner - Play Store F-Droid
  • Ghost Commander - F-Droid
  • F-Droid Alternative Application Manager. Usually Open source stuff with significantly less crap ware and ads.

Productivity

Native Kerberos Authentication with SSH

This article is about integrating OpenSSH in a kerberos environment. Allthough OpenSSH can provide passwordless logins (through Public/Private keys), it is not a true SSO set-up. This article makes use of Kerberos TGT service to implement a true SSO configuration for OpenSSH.

Pre-requisites

First off, you'll need to make …

Automatically adding systems to an AD domain

When using virtualisation it is very common to create template VMs that can be cloned from. This makes deployment much easier than having to install a new VM from scratch. Unfortunately, the cloned VMs lack any Active Directory memberships and the VMs have to be manually added to the AD …