SOLVED How to prevent ProFTPD config being restored to default?

Status
Not open for further replies.

JackTheKnife

Dabbler
Joined
Aug 12, 2015
Messages
14
I have added some lines to the proftpd.conf files related to multi instances of DefatultRoot for particular groups but each time I will do software update, reboot or will go to the FTP settings it reverts back to a default file (without my changes).

How can I preserve my proftpd.conf changes in that case?

Thanks
 
D

dlavigne

Guest
Put them in "Auxiliary Parameters" so they are saved to the config database.
 

RAurelian

Dabbler
Joined
Jan 29, 2014
Messages
37
Hi,

I`m running FreeNAS-11.0-U4 (54848d13b) [updated from 9.3] and until now I had the following directives in the "Auxiliary parameters" in FTP configuration:
Code:
TLSProtocol TLSv1

<Directory />
 HideFiles "(\\.cshrc|login|login_conf|mail_aliases|mailrc|profile|rhosts|shrc|windows)$"
</Directory>


Now I wanted to edit these "Auxiliary parameters" and simply change "TLSProtocol TLSv1" to "TLSProtocol TLSv1.1 TLS1.2", however now it seems that the available space for writing anything in "Auxiliary parameters" is limited, so I can either have the TLS directives or the HideFiles directive - both will not fit. I though: no problem, I`ll add them directly to proftpd.conf, but they`re deleted after each FTP service reboot.

Now, how do I go about adding both of these directives to "Auxiliary parameters" and making them stick forever? Also, why is there such limited writing space there?
 
D

dlavigne

Guest
Please create a feature request at bugs.freenas.org asking that the character limitation for that field be increased, and post the issue number here.
 
Status
Not open for further replies.
Top