blog darkness...

words, music, food

Entries for category "secops"

Building passwordsafe from source on ubuntu

First, setup gtest: sudo apt-get install libgtest-dev sudo apt-get install cmake # install cmake cd /usr/src/gtest sudo cmake CMakeLists.txt sudo make sudo cp *.a /usr/lib Install other dependencies: sudo apt-get install libwxgtk3.0-dev uuid-dev libxerces-c-dev libxt-dev libxtst-dev Next, download the passwordsafe src tarball from: https://sourceforge.net/projects/passwordsafe/files/ Untar and cd into the...
Continue reading »

selinux + ReviewBoard

Something like this should do it: chcon -Rv --type=httpd_sys_content_t /var/www/ semanage fcontext -a -t httpd_sys_rw_content_t "/var/www(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/reviewboard.example.com(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/reviewboard.example.com/data/(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/reviewboard.example.com/htdocs/media/ext(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/reviewboard.example.com/htdocs/static/ext(/.*)?" restorecon -R -v /var/www/
Continue reading »