Page 1 of 1
ftp root login

Posted:
Sun Oct 30, 2011 7:35 am
by firwareslut
I am having little success getting the ftp to work. It won't allow root login so i tried adding the line RootLogin on to /etc/proftpd.conf but it still won't work. After a reboot it appears the config is rewritten again too.
Adding new users doesn't work either.
Also, for some reason I cannot login with sftp and a root password using filezilla even though I can login with a secure key from the terminal.
Re: ftp root login

Posted:
Sun Oct 30, 2011 8:27 am
by fvdw
Hi firewareslut, sorry to hear about your problem.
sftp is not yet supported, we are working on that.
Normal ftp works just fine, I just tested withe fireFTp and fileZilla using a valid username and password as set in the webinterface
Also creating a new user and then accessing the nas with that via ftp worked also.
username "root" will not work. Only users defined in the webinterface can have ftp access.
And yes at reboot the config file is rewritten, or if any change is made on the server.
To be able to use a folder for ftp access you have to check ftp access checkbox in the menu to edit that share in the file management menu. If you don't then no access is given, especially the home ftp folder defined for the user should be set with ftp access enabled. If it is checked then the rights as set for samba will be used for access. If you wish to access other folders you also have to disable the chroot users to home directory and set ftp access for other folders enabled. (its all in the help menu)
Re: ftp root login

Posted:
Wed Nov 02, 2011 9:06 am
by Jocko
By default, proftpd daemon does not allow root logins under any circumstance. It is therefore useless to include the directive RootLogin in the configuration file.
Configuration file is not only rewrites at boot but also with every change of user accounts and shares. Edit this file directly is not the right solution.
Also, in FTP setup menu, you can specify an additional configuration file. You can save it wherever you want (eg in fvdw)
Notes : SFTP will include in the next release. ;)