|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
setting up ftp to allow /var/www/htdocs
hi all,
i started the built-in ftpd_flags="-D" in /etc/rc.conf.local if i use ftp in, i could write in /home/oem only (my user id is oem) what is the best security practice that i should do in order to write to /var/www/htdocs ? i am doing for web development, i would code the php scripts in my windoze machine and upload it using ftp client and run test it on browser, just want to confirm, is vsftpd a better tools for such situation? or, i should do the following, $ cd /var/www/htdocs $ sudo ln -s ../../../../home/oem/website-abc.com website-abc.com thanks in advance. a little bit update Quote:
Last edited by ershiba; 14th January 2013 at 09:13 AM. |
|
|||
i did the following, but i still need you guys advices,
Code:
$ cd /var/www $ sudo mkdir website-abc $ cd htdocs $ sudo ln -s ../website-abc abc $ cd /var/www $ sudo chown -R oem website-abc $ cd ~ $ sudo ln -s /var/www/website-abc abc then i would able to upload every files, it seems working, but is it fine ( in terms of security & logic ) to set this in such a way? |
|
|||
You can use FileZilla. It runs on Windows, Linux, Mac OS X and the BSD's.
To configure Filezilla to use scp or sftp see http://forum.filezilla-project.org/v...c.php?f=3&t=76
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
thanks for the concern guys,
i would switch to sftp soon =) |
Tags |
ftp |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need Help setting up NAT (pf.conf) | wlm2 | OpenBSD Security | 11 | 22nd October 2011 03:47 PM |
Setting up brasero. | Ninguem | NetBSD Package System (pkgsrc) | 2 | 27th September 2011 03:27 PM |
I need help setting up queues. | MarcRiv | OpenBSD Security | 6 | 17th November 2009 11:31 PM |
Setting Up MPD | benjgvps | FreeBSD General | 0 | 21st May 2008 12:20 PM |
thanks for setting this up | DraconianTimes | Off-Topic | 8 | 5th May 2008 08:14 AM |