seems like every couple of days the same question gets asked....
seems like every couple of days the same question gets asked....
nm
ok, thanks very much.
BTW, you wrote up there "ect" instead of "eTC"
took me a few minutes but i manage to realize it, anyway ok i connect and there
is an empty folder called PUB, and thats it, cant get anywhere else.
so i do i get things in there?
and... how do i password protect my FTP access?
thanks.
Last edited by nbo; 05-30-2007 at 02:53 AM. Reason: Automerged Doublepost
You're logging in anonymously. Get a ftp client like Filezilla to login using your username and password, or put this into the address in Internet Explorer: ftp://username:password@vps***.leeware.com/
Then, you should be able to see your home directory which I'm assuming is /root/.
To turn off anonymous login, type in putty:
vim /etc/vsftpd/vsftpd.conf (edit the vsftpd config file)
and change anonymous_enable=YES to NO
EDIT: forgot, you then have to restart vsftpd, type: /etc/init.d/vsftpd restart
hmm, still doesnt work, it says that it starts it OK.
but when i try to connect with my user and pass it tells me:
530 premission denied, or from some program it tells me "extender error"
though the regular anonymous login still works (i didnt turn it off cuz it didnt work)
thanks
Sorry, I forgot vsftpd by default won't allow root to login, hence the permission denied. It's not very safe to login as root, but here is how:
vim /etc/vsftpd/ftpusers
remove 'root' from the file, save and quit
vim /etc/vsftpd/user_list
remove 'root' from the file, save and quit
then restart vsftpd: /etc/init.d/vsftpd restart
on fedora.. if you just wanna make the service starting a little easier.. you can use
service vsftpd stop
service vsftpd start
service vsftpd restart
or anything like that
I had a problem with my box setting up vsftpd, when i wanted to forbid anonymous access, the server wasn't starting up at all
i used : "/sbin/service vsftpd start" instead of "/ect/init.d/vsftpd start"
and everything is fine with that, no idea why
maybe it will help someone so i post it
it's /etc, not /ect.
To have vsftpd autostart when your leeware is restarted:
chkconfig --add vsftpd
chkconfig --level 345 vsftpd on
Last edited by naq; 05-30-2007 at 07:34 PM.
thanks.
since its not wise to login as root, if i create a user and logon as that user would it be any safer?
Yes, it is safer to create a new user to use. With a user, you can still execute most root commands as well if you configure and use 'sudo', type 'man sudo' to learn more...
Bookmarks