Beware of ent (entgo.io)

If you’re using Go, you’ve likely heard of ent. Some Ex-Facebook employee maintaining and developing an open source version of the public version of Meta’s entity framework for Go. Well there’s a catch. Migrations. They sweet talk you in their documentation to use Atlas. Ariga’s Atlas, not the MongoDB one. But Atlas is a proprietary […]

Mastodon ohne Gendern und mit 5000 statt 500 Zeichenbeschränkung

Mich stĂśrt bei Mastodon diese Cancel Culture und auch und vor allem das Gendern. Das ist einfach eine schreckliche, unleserliche, politisch motivierte Verunstaltung der Sprache. Deshalb habe ich per Hand die Sprachdateien geändert. Außerdem gefällt mir nicht das man nur auf 500 Zeichen beschränkt sein soll bei der Länge der Posts. Darum habe ich die […]

How to have a nice looking prompt in Rocky Linux

Well, Gentoo isn’t all bad. It has a very nice prompt. It displays the root user in RED and the non-root user in GREEN. So in order to have a nice looking prompt in Rocky Linux, just copy the Gentoo /etc/bash/bashrc to /etc/bashrc in Rocky.

sshd sftp chroot jail howto

Problem description: You would like to jail users to their home directories and not allow shell access, only sftp access. Solution: SFTP chroot jail 1. Create a system group. Here I call it sftponly.

2. edit the sshd_config file, usually residing in /etc/ssh/sshd_config (in weird opensuse it’s in /usr/etc/sshd/ ) and append (it needs […]