Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

However, what if you have totally forgotten the password? Don't worry, the feature called "safe mode" comes to rescue

Table of Contents

Enabling Safe

...

Mode

DualShield on Windows OS

Include Page
How to edit JAVA options in the DualShield framework
How to edit JAVA options in the DualShield framework

In "Java Options" add the command "-Ddual.safe.mode=true" , then click "Apply",

Image Added

Click "OK", then restart the DualShield service.You can now log into the Management Console without password.

(please note that, in safe mode, you must access the management console from the machine where DualShield is installed);

DualShield on Linux OS

Expand

...

If you have DualShield Linux version installed, you should edit the file "/usr/

...

lib/systemd/system/dualshield.service" to achieve the same effect as in Windows


Code Block
sudo su -
systemctl stop dualshield
nano /
etc/init.d
usr/lib/systemd/system/dualshield.service

Add the following lines just after -Djava.io.tmpdir=$TMP_DIR \


Code Block
-Ddual.safe.mode=true \
-Ddual.safe.mode.anyip=true \

See example below

  Image Modified


You must restart the service after the modification.  Use the following

...

commands:


Code Block
 /etc/init.d/dualshield restart

...

systemctl daemon-reload
systemctl start dualshield


Resetting the SA User Password

Once you have enabled safe mode and fully restarted the service, you will be able log in to the Management Console without entering a password, and will then be able to change the system administrator's password using the following procedure;

...

(please note that, in safe mode, you must access the management console from the machine where DualShield is installed);

Log in to the management console in safe mode.

Image Modified








Include Page

  • Navigate to "Directory | Users" , select the Domain "Management Console", then left click the context menu of the user account "sa" and select "Reset Password";

Image Removed

...

Column
width30%

Image Removed

...

width70%

 

 

  

...

titleNew Password

Enter a new password.

Panel
borderColorgrey
bgColor#F8F8F8
borderStyledashed

Enter a new password.

...

titleConfirm New Password
Panel
borderColorgrey
bgColor#F8F8F8
borderStyledashed

Retype the new password.

...

titleUser must change password at next logon

How to change the SA user password
How to change the SA user password

Disabling the Safe Mode

Important:

Panel
borderColorgrey
bgColor#F8F8F8
borderStyledashed

This option is optional and will determine if the user will be forced to change their password next time they log in.

...

The password for the system administrator will now be changed to your new password, and the management console can now be exited.

Important:   Once you have reset the sa password, make sure you disable the safe mode by removing the java options line -Ddual.safe.mode=true and restarting the DualShield service, otherwise (and -Ddual.safe.mode.anyip=true on Linux OS) from the JAVA options, otherwise, you will leave a potential security risk.hole.

Image Added

Do not forget to restart the DualShield service after removing the options.