NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Deactivate and/or uninstall legacy FTP support

Is there a way to deactivate the legacy FTP server from the command line on Linux RT, or by editing a config file on the target? We have a system we do not want anonymous access to anymore, but the only tools we have available to do a change at the moment is a web browser, FTP/WebDAV clients and perhaps a terminal software (Putty). No NI MAX or LabVIEW...

0 Kudos
Message 1 of 2
(3,437 Views)

Once you're logged in as admin (using ssh and PuTTY, or serial console), you should be able to disable the FTP server with "update-rc.d vsftpd remove" to prevent it starting on boot. Then you'll want to reboot, or "/etc/init.d/vsftpd stop" to stop the service.

I'm glad to see uses of FTP going away. Legacy FTP isn't part of the default install (and is flagged as deprecated in the installer), so by all means next time you have MAX access to the target, uninstall it.

Message 2 of 2
(3,031 Views)