Difference between revisions of "Proftd Setup"

From rbachwiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==installing and setting up pro ftpd==
==installing and setting up pro ftpd==
apt-get install proftpd
<pre>
<code>
apt-get install proftpd
standalone
standalone


nano /etc/proftpd/proftpd.conf
nano /etc/proftpd/proftpd.conf


Servername  ip address or domain name
Servername  ip address or domain name


DefaultRoot /var/www
DefaultRoot /var/www


service proftpd restart
service proftpd restart


useradd -G www-data username
useradd -G www-data username


passwd username
passwd username


chown -R www-data:www-data /var/www
chown -R www-data:www-data /var/www


chmod -R g+rw /var/www
chmod -R g+rw /var/www


it will use the username from your ubuntu user setup
it will use the username from your ubuntu user setup


RequireValidShell off
RequireValidShell off
</code>
</pre>

Latest revision as of 20:41, 8 August 2016

installing and setting up pro ftpd

apt-get install proftpd
standalone

nano /etc/proftpd/proftpd.conf

Servername  ip address or domain name

DefaultRoot /var/www

service proftpd restart

useradd -G www-data username

passwd username

chown -R www-data:www-data /var/www

chmod -R g+rw /var/www

it will use the username from your ubuntu user setup

RequireValidShell off