Installation manual
121
PASSWORD
Normally, to execute password-protected commands, you are prompted to type in a password for security reasons.
This applies to commands such as those that disable antivirus protection and those that may affect ESET Mail
Security functionality. You will be prompted for password every time you execute such command. You can define
this password in order to avoid entering password every time. It will be remembered by eShell and automatically be
used when a password-protected command is executed. This means that you do not have to enter the password
every time.
NOTE: Defined password works only for the current eShell interactive session. Once you exit eShell, this defined
password will be dropped. When you start eShell again, the password needs to be defined again.
This defined password is also very useful when running batch files / scripts. Here is an example of a such batch file:
eshell start batch "&" set password plain <yourpassword> "&" set status disabled
This concatenated command above starts a batch mode, defines password which will be used and disables
protection.
CONTEXT PATH:
root
SYNTAX:
[get] | restore password
set password [plain <password>]
OPERATIONS:
get - Show password
set - Set or clear password
restore - Clear password
ARGUMENTS:
plain - Switch to enter password as parameter
password - Password
EXAMPLES:
set password plain <yourpassword> - Sets a password which will be used for password-protected commands
restore password - Clears password
EXAMPLES:
get password - Use this to see whether the password is configured or not (this is only shows only stars "*", does
not list the password itself), when no stars are visible, it means that there is no password set
set password plain <yourpassword> - Use this to set defined password
restore password - This command clears defined password
STATUS
Shows information about the current protection status of ESET Mail Security (similar to GUI).
CONTEXT PATH:
root
SYNTAX:
[get] | restore status
set status disabled | enabled
OPERATIONS: