Monthly Archives: August 2013

Connect mac osx to Cisco Switch using USB to Serial adapter

This worked for me using a prolific adapter Follow this: http://plugable.com/2011/07/12/installing-a-usb-serial-adapter-on-mac-os-x then screen -S cua -s serial /dev/tty.usbserial 115200,-cstop,-cs8,-parenbreset

Posted in Mac OS X | Comments Off on Connect mac osx to Cisco Switch using USB to Serial adapter

How to restore a postgres database with a different owner

To restore a database and have the tables owned by a different user use the pg_dump command like this: as root user run: su postgres pg_dump -Fc database_name > database_name.dump exit Now you can restore using pg_restore. createuser -P -s … Continue reading

Posted in postgres | Comments Off on How to restore a postgres database with a different owner

mount error(13): Permission denied – Ubuntu 12.04

mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) This one can be really hard to track down.  There are many reasons you might get this error.  Basically it means you were denied access to the … Continue reading

Posted in Linux, Samba | Comments Off on mount error(13): Permission denied – Ubuntu 12.04