Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please, some clear explaination of FTP configuration

Status
Not open for further replies.

HoMyGod

Programmer
Jul 17, 2000
59
CH
Hello,

Could anybody explain me, if possible clearly and fully, how I can use FTP (with command line).
- First, I would like to create new accounts for several users and grant them the access to one folder each.
- Second, I need to change the root privileges. I want the root user to be able to access the whole site via FTP.

Thank you,
H.
 
Hi,

The howto is fairly clear on the basics of console ftp --> .

For setting up ftp users see --> . You would have to create a directory for each user and change owner to that userid and adjust the permissions for group and other. For example :

mkdir /home/ftp/ftpuser1 (if not created with useradd)
chown ftpuser1.ftpuser1 /home/ftp/ftpuser1
chmod 770 /home/ftp/ftpuser1

On the root access - depends on linux distro. You probably have to change the PAM config files in the /etc/pam.d directory.

Regards
 
Ok, thank you. It is working except that I am not able to upload anything in the newly created folder even if I am "chmoding"it 777...
 
Hi,

Oops - forgot to say that you need to allow certain things via the /etc/ftpaccess file . See --> ftp://ftp.wu-ftpd.org/pub/wu-ftpd/upload.configuration.HOWTO .

Regards


 
Sorry again, but I don't have a /etc/ftpaccess file. Is it possible to simply create it, or should I reference it somewhere...? (yes, I am not very experienced with Linux!!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top