VSFTP errors when creating new users
Hey all,
I'm looking to get FTP working on my Linux server. I've installed VSFTP. I have it running, but when I try to create a new user (htpasswd -c /etc/vsftp/passwd dvd) I g the error cannot create file. I tried under sudo too. One thing I can say that I did following this guide online it ln -s /var/www www chown -R <user> /var/www chmod -R 755 /var/www I tried to do some reading about this online and the closet I came asked me to install libpam-pwdfile. I found a username:password with htpasswd -bn username pass, but I don't know what directory to put it in a file with. I think I'm just going down deeper the rabbit hole. Any suggestions would be appreciated. My main goal through Putty is to create a web server I can test my web pages on. Thanks |
Welcome to LQ!
I may be missing something here, but I think that htpasswd creates users that can be used only by Apache. The rest of the system doesn't understand what htpasswd is doing. VSFTP uses the regular system users. If your looking to upload web pages to a server with ftp, then you would have to log in as your normal user and navigate to the web root directory. Of course your user would have to have write privileges to that directory. Probably a better way of doing this would be to have a web directory in your home and point Apache to that. As long as the Apache user has read privileges it should be good. |
lol, between the two of us, I'm sure I'm the one missing something.
If that is the case, I can't log in using my normal username and password. I get the error: connection closed by remote host. Is there a log or something I can check out? BTW, thanks for the reply. |
Quote:
|
All times are GMT -5. The time now is 12:13 AM. |