Linux

Building a Guacamole Server on Debian 11

June 2, 2023 | Category: Linux | Tags: Guacamole

This setup uses:

  • Debian 11
  • Guacamole 1.5.2
  • PostgreSQL 13 as authentication database
  • Tomcat 9
  • Nginx

Steps

Building a PowerDNS server

Jan. 21, 2022 | Category: Linux | Tags: DNS

Using

  • Debian 11
  • PowerDNS 4.6

Will use postgres to store the records.

Installing postgres

apt install postgresql postgresql-client postgresql-contrib

Changing the password for the postgres database user:

su - postgres
psql -d template1 -c "ALTER USER postgres WITH PASSWORD 'PostgresPassword';"

Adjusting /etc/postgresql/13/main/pg_hba.conf:

# To allow remote connection
host    all …

Linux Desktop through RDP and polkit access blocking

Jan. 30, 2021 | Category: Linux

When RDP-ing to a Linux Desktop (KDE) there are a lot of prompts for access blocked to some services.

Using these policies to convice polkit to allow this access

/etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla

[Allow Colord all Users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profil$
ResultAny=yes
ResultInactive=auth_admin
ResultActive=yes

/etc/polkit-1/localauthority/50-local.d/46-allow-update-repo.pkla …

Creating certificates with OpenSSL

Feb. 25, 2018 | Category: Linux | Tags: Certificates

Some steps to create certificates using OpenSSL - self-signed or singned by a CA.

Creating the conf File used for creating the csr

srv1_tstlb_cert.conf:

[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req

[req_distinguished_name]
countryName = Country Name (2 letter code)
countryName_default = CA
stateOrProvinceName = State or Province Name (full name) …