How to rest MFA or root passowrd using linux utility in 4.2 and above

How to reset MFA or root password using Linux utility in 4.2 and above

Background:
in 4.2 we have added a Linux utility that comes with the server, this utility let you disable MFA or rest password for root user.
Notes: if you do not have SSH access to the N2WS server, then the only other way to disable MFA or rest password is by redeploying the server from marketplace

Steps: 
1. Connect to your N2WS instance via SSH, using user cpmuser and your ssh key 
2. Change to root user:
     sudo su

3. Run command:
   n2ws-reset-login
‚Äč


4. This will print all the options, now you can call the command again with the needed flags

Examples: 

1. disable MFA for root user (in below example my root user is called "Admin")


2.  disable MFA and reset password for root user (in below example my root user is called "Admin")