Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
SteveJW
New Contributor III

Enable sudo fortiems cli 7.4.4

I'm preparing to migrate from FortiEMS 7.2.10 to 7.4.4 in a test HyperV environment
I've downloaded and configured version 7.4.4. I don't have any Linux knowledge.
Now I want to perform the migration steps.
But I'm getting the following error during the first command:

Error: unknown command "sudo" for "emscli"

FortiEMS-Migration.jpg

How can I enable sudo?

 

1 Solution
AEK
SuperUser
SuperUser

It seems with this new version (OVF with pre-installed Linux) you don't need sudo. I see you are already in emscli and not in Linux shell (sh, back, csh, ...).

So you should follow this guide:

https://docs.fortinet.com/document/forticlient/7.4.4/ems-administration-guide/867528/migrating-ems-7...

You see in the guide that in Linux manually installed version you use sudo, while in your "VM" version you don't use it, but you use a FortiOS-like shell (e.g.: execute, system, config, and so).

Here is the emscli guide:

https://docs.fortinet.com/document/forticlient/7.4.4/ems-cli-reference/965777

AEK

View solution in original post

AEK
2 REPLIES 2
AEK
SuperUser
SuperUser

It seems with this new version (OVF with pre-installed Linux) you don't need sudo. I see you are already in emscli and not in Linux shell (sh, back, csh, ...).

So you should follow this guide:

https://docs.fortinet.com/document/forticlient/7.4.4/ems-administration-guide/867528/migrating-ems-7...

You see in the guide that in Linux manually installed version you use sudo, while in your "VM" version you don't use it, but you use a FortiOS-like shell (e.g.: execute, system, config, and so).

Here is the emscli guide:

https://docs.fortinet.com/document/forticlient/7.4.4/ems-cli-reference/965777

AEK
AEK
SteveJW
New Contributor III

Thank you.
I think this article was released last week.
I had previously read and used version 7.4.3, thinking the procedure would be the same.
I can now continue with the test.
Thanks again

Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors