From fedora-docs-commits at redhat.com Wed Jun 10 15:31:32 2015 Content-Type: multipart/mixed; boundary="===============2221499527848866036==" MIME-Version: 1.0 From: fedora-docs-commits at redhat.com To: docs-commits at lists.fedoraproject.org Subject: ftp-server/en_US ftp-server.xml,NONE,1.1 Date: Mon, 29 May 2006 14:04:55 -0700 Message-ID: <200605292104.k4TL4toW003553@cvs-int.fedora.redhat.com> --===============2221499527848866036== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: pfrields Update of /cvs/docs/ftp-server/en_US In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3536/ftp-server/en_US Added Files: ftp-server.xml = Log Message: Fix structure for Andrea --- NEW FILE ftp-server.xml ---
Credits and License Document Created and Maintained by Andrea Veri Copyright : Holder: Andrea Veri Year: 2006
Ftp Server Settings Index term This Document will provide a lot of usefull informations regarding Ftp= Servers, we will explain three different methods to run ftp servers, making examples that will make user's life= easier. One of the three methods it's related to the MySql server, we will provide for it a paragraph that will expl= ain how you can recover your server password if you have lost it. Methods List: = Anonymous FTP FTP with both anonymous access and users with a passworded accoun= t FTP with mysql support for virtual users authentication =
Methods Explanation First Method: People can enter inside the server only with the an= onymous account that havent got any password ,of course the server administ= rator will put a limit for the uploads to prevent users to put inside the s= erver illegal files like pirated music/films/games. Second Method: This method let both anonymous and passworded acco= unt people to enter the server of course they will only access to a specifi= ed directory except for the user root that can view/modify/delete all files= and/or folders. Third Method: This method let access the server only for some use= rs groups that havent got a virtual users authentication shell account into= the system. It uses a external mysql server that stores users informations= .
First Option : Anonymous FTP = Before start the creation of an anonymous ftp server ,you have to add a use= r called ftp into your system ,with a home directory too.This step is reall= y easy, just follow this commands : useradd -d /home/ftp/ftp -s /bin/false ftp mkdir -p /home/ftp/upload Doing this only this account can be used to write in this folder. You can u= se more variables to specify what the ftp server will do here are some exam= ples : -e let access the server only to anonymous users -s ftp user files cannot be downloaded -M let anonymous users to create folders -B it start the server with background demon -i anonymous users cant upload files =
Second Option : Both anonymous and passworded account users = = To make possible to have in the same server both anonymous and passwo= rded account users ,follow this easy commands: -B ,-i ,M, -r, -s same as above -u uid unable users with a specified uid to access the server -V Ip address only specified IPs will be able to access the serve= r in non-anonymous mode
Third Option : Virtual Users with Mysql Server support = = To create a server with mysql support follow this steps : Download and install User Manager for PureFTPdyou can find it Here decompress it and upload all its contenute into your web server = www directory and then point your browser to This Link Follow all the steps that the installer asks to you and copy and save puref= tpd-mysql.conf into pureftpd user manager directory. Done .Access to the administration pa= nel using This Link
Mysql Password recovery (Usefull if you have lost your MySql root pa= ssword) = Follow this easy steps to reset your password: Stop the mysql demon process using this command : /etc/init.d/my= sql stop Start the mysqld demon process using the --skip-grant-tables opt= ion with this command(/usr/bin/mysqld --skip-grant-tables) start the mysql client process (mysql -u root) Reset/Update your password [SET PASSW= ORD FOR root@'localhost' =3D PASSWORD('password') ] This will only change the root password for root(a)localhost. If = you have a root that can connect from everywhere, you should also do: SET P= ASSWORD FOR root@'%' =3D PASSWORD('password') = Then stop the mysqld process and rela= unch it with the classical way: /etc/init.d/mysql start When you have completed all this steps ,you can easily access to your= mysql server with the password you have set in the step before. An easy wa= y to have a full control of your mysql server is (PhpMyAdmin), software made in php that can give you= a web interface that can be very usefull to people that havent got a lot o= f confidence with bash .To install phpmyadmin on you server you will need t= o have three things: web server apache with php_mysql support for apache mysql server/mysql client installed Php
More to be added
--===============2221499527848866036==--