ftp root login

ftp root login

Postby firwareslut » Sun Oct 30, 2011 7:35 am

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.
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: ftp root login

Postby fvdw » Sun Oct 30, 2011 8:27 am

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)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: ftp root login

Postby Jocko » Wed Nov 02, 2011 9:06 am

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. ;)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 4 guests