SHIFT-WIKI - Sjoerd Hooft's InFormation Technology
This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.
Subversion
Summary: How to configure a subversion server.
Date: Around 2021
Refactor: 29 April 2025: Checked links and formatting.
When you've created a subversion server as described here at opensuse you really should add a repository, LDAP authentication and provide a backup:
Bash: Start Script
Summary: This is a starting place for new bash scripts. It's quite old and might need some revisiting.
Date: 11 July 2011
Refactor: 3 January 2025: Checked links and formatting. Added notes.
SSH X11 forwarding and SU
Summary: How to work with xauth cookies when doing su.
Date: Around 2012
Refactor: 29 April 2025: Checked links and formatting.
X authentication is based on cookies, secret little pieces of random data that only you and the X server know. So, when you su the user you su to need to know the cookie. To do so request your cookies and your display setting before you su:
>xauth list server1.company.local/unix:10 MIT-MAGIC-COOKIE-1 1c64ce9c5e07154d4403bf8b919635f2 server2.company.local/unix:10 MIT-MAGIC-COOKIE-1 0d219bf6b6b4ed805ad51b17f71d2e38 >echo $DISPLAY localhost:10.0
Now su, and import the cookie configuration and the DISPLAY variable:
>su - oracle oracle's Password: >xauth add server2.company.local/unix:10 MIT-MAGIC-COOKIE-1 0d219bf6b6b4ed805ad51b17f71d2e38 >export DISPLAY=localhost:10.0
Note: If you do this on a system with SELinux enabled and run into errors see here
SSH Login Without Password
Summary: How to use a certificate for SSH login.
Date: Around 2014
Refactor: 29 March 2025: Checked links and formatting.