FTP Permissions
How do I give FTP permisions to the user of my system.
I need to connect to my Linux server throug FTP client (Cute FTP, WsFTP) on my windows machine. How do I allow my Linux users to connect through FTP clients?? right now I am not even able to connect throug root.. |
Well first you have to setup an FTP server on the machine... and don't login as root, from remote locations.. its really bad security habits most should break out of.
|
First off lets install a FTP-server on your linux machine
go to non-grapichal mode ( textmode) login. #download proftpd command: Code:
wget ftp://ftp.proftpd.org/distrib/source...1.2.10.tar.bz2 in the direcotry where you download proftpd Code:
tar -xzvf proftpd-1.2.10.tar.bz2 Code:
cd /usr/local/etc/ Code:
# A basic anonymous configuration, no upload directories. If you do not hit esc shift + : w q #now for the finishing touch #give right to the map for testing ( nog save chmod) Code:
chmod 777 path_of_the_map_you_gave_above Code:
groupadd ftp Code:
cd /usr/local/sbin/ all above works local. if you want some friends to access your ftp sever from outside your local lan, you have to edit IPTABLES if your running those, forward a port. http://www.portforward.com/ here is some info about your router/modem. you should forward 20 21 to the IP that your linux machine is running |
All times are GMT -5. The time now is 08:54 PM. |