How to install PSU-netdrive: 1. Download from http://ftp.psu.ac.th/pub/psu-netdrive/psu-netdrive.tgz to /tmp of local disk by: wget http://ftp.psu.ac.th/pub/psu-netdrive/psu-netdrive.tgz -P /tmp 2. Extract files by: tar -zxvpf /tmp/psu-netdrive.tgz -C /tmp 3. Get in the created directory by: cd /tmp/psu-netdrive 4. Install by: sudo sh install-psu-netdrive.sh 5. All done. (option 1/4) To install anonymous ftp server (vsftpd) and make link to /sftp/ftp/pub. Answer y when prompted "Do you wish to install anonymous ftp server?" then it will run a shell script: sudo sh /root/install-psu-netdrive-2-anonymous.sh (option 2/4) To install shorewall and fail2ban to protect from hacker. Answer y when prompted "Do you wish to install shorewall and fail2ban?" then it will run a shell script: sudo sh /root/install-shorewall-fail2ban.sh Check for making sure nothing going wrong, with command: tail /var/log/syslog tail /var/log/fail2ban (option 3/4) To install disk quota system for PSU-netdrive's partition. Answer y when prompted "Do you wish to install disk quota system?" then it will run a shell script: sudo sh /root/install-quota.sh Default disk quota value is 5GB (option 4/4) To install libpam-radius-auth library, then SFTP will also work with FreeRADIUS for your existing username database i.e. ldap or sql. Answer y when prompted "Do you wish to install libpam-radius-auth?" then it will run a shell script: sudo sh /root/install-pam-radius.sh The shell script updates 3 files, /etc/pam_radius_auth.conf, /etc/pam.d/sshd and/etc/pam.d/vsftpd. NOTE: I'd like to note that setting FreeRADIUS using both unix username and FreeRADIUS users file you have to do this: order unix module under files module in authorize section in filename /etc/freeradius/sites-available/default files unix