Is there any way to edit a file on an external usb connected to the FGT? Viewing is fine:
fnsysctl more /usb/myfile.conf # works fine
fnsysctl cat /usb/myfile.conf # works fineEditing is less obvious. vi, sed and awk report they are not present with "can not find command xx". Redirecting output from ls to create a file on the usb also fails.
It would be of some use to be able to make small changes to a configuration file on a usb prior to restoring it.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
gate # fnsysctl df
fnsysctl cannot be executed when external USB disk is inserted.
on FOS v5.6.5 [&o]
That's a pity. My tests were on 5.4.4 but there's not much point investigating a solution that won't work in 5.6.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1712 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.