Archive for 'Answers'
Q: How do I encrypt file transfers with dd and netcat?
A: This question came to us in response to the article Backup Files and Partitions with dd and netcat. Encrypting these files transfers is quite simple. As in the previous article, we will setup the server to listen on port 9999 and redirect output to “backup.file” server# nc -l -p 9999 | \\ openssl aes-256-cbc [...]
Posted: March 9th, 2007 under Answers, DragonFlyBSD, FreeBSD, NetBSD, OpenBSD, Security, System Administration.
Comments: none
Q: How do I add a user to the wheel group in FreeBSD?
A: Beyond simply editting /etc/group with your favorite text editor, adding a user to the wheel group can be achieved in a few different ways. To place a user in the wheel group when her account is first created, you would run $ sudo pw user add jdoe -G wheel Note: The above also [...]
Posted: March 8th, 2007 under Answers, FreeBSD, System Administration.
Comments: none
Q: I tried to compile pkgsrc’s PHP with fastcgi support but it didn’t work, why?
A: First, make sure you are passing the fastcgi option correctly, one way to do this is simply: $ sudo env PKG_OPTIONS.php=fastcgi make install Once that completes, there are now two php binaries on your system. The cli binary: $ /usr/pkg/bin/php -v PHP 4.4.4 (cli) (built: Dec 5 2006 07:12:02) Copyright (c) 1997-2006 The [...]
Posted: January 16th, 2007 under Answers, NetBSD, pkgsrc.
Comments: none
