TODO

Changing uid/UniqueID on OS X Yosemite (10.10)

3 minute read Published:

Based on the [url=http://www.inteller.net/notes/change-user-id-on-snow-leopard]notes on inteller.net[/url] I changed the uid of my user stefan on OS X. I wanted to do this because I use NFS for storing all important data and then the same uid is important to have the corect rights on the files. First I created a new user with admin rights and logged in with that user. Then I became root by using sudo [code] $ sudo -i

Setting Up Streaming Replication With Postgresql

4 minute read Published:

A new blog post by me.
Introduction In PostgreSQL 9.0 and up it is possible to setup streaming replication (SR). When doing this, it will replicate all databases from one server to an other. To be able to do this the following requirements have to be met: Same achritecture and number of bits; Same major/minor? version should be used on both systems. (so 9.1.x with 9.1.y = major); Same OS or psql source. The steps to setup SR on the PostgreSQL wiki ?

Create a ssh jail for rsync

2 minute read Published:

This blogpost was original posted on [url=http://blog.capitar.com/create-ssh-jail-rsync/]capitar’s blog[/url]. Sometimes you want to allow people to put stuff on your webserver in a secure way, but not give them a shell account. You can use rsync and ssh jail via public key authentication to accomplish this. The public key has to be in the authorized_keys file in the normal home directory of the user (/home/user/.ssh/authorized_keys) when importing the key put the following on the same line as the key, before the public key:
Recent posts
- full list -