Wednesday, April 30, 2014

X11 forwarding for other users

1. in Your session do xauth list and find your correct auth (the one matching $DISPLAY), and copy the whole line

2. do your sudo or su and then do xauth add <the line copied in step one>


Big Thanks to http://blog.cyphermox.net/2008/05/ssh-x11-forwarding-for-other-users.html

Thursday, April 10, 2014

add remove dynamic bind dns records

IF ZONES EXIST

nsupdate -k $keyfile
> server 127.0.0.1
> update add server1.example.com 3600 A 10.0.0.1
> send
> update add 1.0.0.10.in-addr.arpa 3600 in ptr server1.example.com.
> send

Wednesday, April 09, 2014