Centos HELP
#5

Do the following:

Код:
# useradd -d /var/www/html ftp-uname-here
A user should be created. Then do this:

Код:
# passwd ftp-uname-here
And set the password for the user.

Then make sure you do this, or the directory will not be writable for the user:

Код:
# chown -R ftp-uname-here /var/www/html
Make sure to replace ftp-uname-here with the username you want to use FTP with.

When this is done, log into FTP using the username and password of the user you just created!

Good luck.

EDIT: I thought I'd add an example...

Код:
# useradd -d /var/www/html webftp
# passwd webftp
New password: fluffs
# chown -R webftp /var/www/html

#
Reply


Messages In This Thread
Centos HELP - by SsHady - 20.07.2013, 15:54
Re: Centos HELP - by NewerthRoleplay - 20.07.2013, 16:04
Re: Centos HELP - by SsHady - 20.07.2013, 16:24
Re: Centos HELP - by NewerthRoleplay - 21.07.2013, 22:36
Re: Centos HELP - by SchurmanCQC - 22.07.2013, 01:05

Forum Jump:


Users browsing this thread: 1 Guest(s)