larstobi's random stuff
onsdag 6. juni 2012
Check for correct password in PostgreSQL
›
Check if a ROLE has the correct password, and change if it isn't: 1: #!/bin/bash ...
mandag 3. januar 2011
Restrict ssh access to one command, but allow parameters
›
Sometimes one needs to allow a script to login to a server using a SSH key to do a job. That can be achieved by adding the scripts SSH publi...
6 kommentarer:
mandag 13. september 2010
Managing GlassFish domains with Puppet
›
Following James Turnbull 's plugin HOWTO , I've created a new Puppet resource type for managing GlassFish domains. You can get it ...
1 kommentar:
mandag 24. mai 2010
Parsing the /etc/passwd file with Ruby
›
I decided to write a program to parse the /etc/passwd file in my favourite scripting language. The file has seven fields: user, password, U...
1 kommentar:
tirsdag 18. august 2009
Rooting the HTC Hero
›
On friday I got my new HTC Hero in the mail. Yesterday, I rooted it following instructions on phandroid.com . Instead of from Windows, like...
2 kommentarer:
tirsdag 11. august 2009
ZFS root disk mirror
›
So, I just installed OpenSolaris on a Sun Blade X6240 Server Module . I have two disks on this machine, and wanted to use disk mirroring. I ...
tirsdag 21. juli 2009
BADSIG 40976EAF437D05B5
›
When running apt-get update today, I got this error message: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive A...
›
Startsiden
Vis nettversjon