Difference between revisions of "Proftd Setup"

From rbachwiki
Jump to navigation Jump to search
(Created page with "==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 serv...")
 
Line 2: Line 2:
  apt-get install proftpd
  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

Revision as of 20:38, 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