Monday, April 7th, 2008
apt-get install scponly #answer yes to the question in the blue dialogue about scponlyc and suid
cd /home/
mkdir jails
chown root jails
chmod 755 jails
cd jails/
cd /usr/share/doc/scponly/setup_chroot
gunzip setup_chroot.sh.gz
chmod u+x setup_chroot.sh
./setup_chroot.sh
----
setup_chroot.sh is interactive and will prompt for the following information for each user you want to set up:
username to install:
home directory you wish to set for this user:
name of the writeable subdirectory:
http://ubuntuforums.org/showthread.php?t=451510
Posted in UNIX Hosting | No Comments »
Thursday, February 28th, 2008
- Make an .htpasswd file. The htpasswd command in Unix does this. You should put the password file outside of your web directory. So a command like “htpasswd -bc /home/matt/.htpasswd review donotenter” will create a new file using a username of review and a password of donotenter into the file /home/matt/.htpasswd . If you were to run the command “cat /home/matt/.htpasswd” you might see a line like “review:M1OdtjdGiDn1Y”.
- Make an .htaccess file. In this case, the file would be located at /home/matt/www/.htaccess and it would look something like
AuthUserFile /home/matt/.htpasswd
AuthName EnterPassword
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
http://www.mattcutts.com/blog/htaccess-101/
http://www.maths.ox.ac.uk/help/faqs/www/htaccess
Posted in UNIX Hosting | No Comments »
Wednesday, January 30th, 2008
Posted in UNIX Hosting | No Comments »
Tuesday, January 29th, 2008
Posted in UNIX Hosting | No Comments »
Tuesday, January 29th, 2008
Posted in UNIX Hosting, Unix | No Comments »
Tuesday, January 29th, 2008
need a login for everything in ubuntu look here:
/etc/mysql/debian.cnf
Posted in UNIX Hosting, Unix | No Comments »
Tuesday, January 22nd, 2008
Posted in Apache, UNIX Hosting | No Comments »