Skip to content

Instantly share code, notes, and snippets.


Marek Skrobacki skrobul

View GitHub Profile
skrobul / gist:6887355
Created Oct 8, 2013
vpnc-script that makes OpenConnect on MACOSX possible
View gist:6887355
# Originally part of vpnc source code:
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al.
# © 2009-2012 David Woodhouse <>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
View gist:6766761
root@c208540c41e2:/var/lib/nagios3# ls -ld /var /var/lib /var/lib/nagios3 /var/lib/nagios3/rw
drwxr-xr-x 64 root root 4096 Sep 19 15:48 /var
drwxr-xr-x 45 root root 4096 Sep 19 15:48 /var/lib
drwxrwxr-x 21 nagios nagios 4096 Sep 30 15:24 /var/lib/nagios3
drwxrwx--- 2 nagios nagios 4096 Sep 30 16:24 /var/lib/nagios3/rw
root@c208540c41e2:/var/lib/nagios3# su - www-data -c "/bin/bash"
bash: no job control in this shell
www-data@c208540c41e2:~$ id
uid=33(www-data) gid=33(www-data) groups=33(www-data),104(nagios),1000(nagcmd)
You can’t perform that action at this time.