FTP user-root writeable

Got a feature request? Great! Post your ideas here!
liefde
Posts: 56
youtube meble na wymiar Warszawa
Joined: Sat Feb 08, 2014 12:05 am

FTP user-root writeable

Post by liefde »

What is really annoying, is that the FTP Service does not offer the option to upload in a login root. Why on earth is that not an option?
Name any random hosting service online, and they offer plain old FTP folders with custom users/passwords, so you can upload to an ftp-server host from IP-cameras and such (that are not able to do a change dir before uploading).

Either that or an option to set a dir for each ftp account, so the server itself chooses its home per user.
This was an option in the oldest of NAS-systems, is always included in ftp-server software as a config option, yet you at asustor think it should not be? Crazy!
crazynas
Posts: 222
Joined: Mon Feb 16, 2015 10:34 pm

Re: FTP user-root writeable

Post by crazynas »

Hi
I suggestion you disable root account, change other account as administrator. ;)
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: FTP user-root writeable

Post by MikeG.6.5 »

crazynas wrote:Hi
I suggestion you disable root account, change other account as administrator. ;)
WOW! I'm so.... SPEACHLESS? Flabbergasted? AWED with the depth of this answer...

You can NOT disable the root account. This is one of the main accounts required within all Linux distributions. As you can't rename the Admin account. It is a basic standard of the platform. The OS itself runs under root access. Disabling the account means you break the OS itself.

Google is a great thing. It really does help someone who seeks answers to questions, IF THEY LEARN TO USE IT!

To the OP: I can't get FTP server to work at all. I'm getting a litany of errors each time I try to access it from a myriad of clients. You may be better served using HTTP upload instead, if your cameras support the function.
liefde
Posts: 56
Joined: Sat Feb 08, 2014 12:05 am

Re: FTP user-root writeable

Post by liefde »

You can install proftpd (after installing entware-ng) from commandline shell.
Disable the FTP service from the Asustor WebGUI, and then make sure you start proftp daemon at boot from /opt/etc/init.d .

This works for me. And I get to have upload permissions for a user's ftp-root, when I want to.