Skip to main content
mbenvenuti
Staff
Staff
January 20, 2026

Technical Tip: How to update lost root password

  • January 20, 2026
  • 0 replies
  • 236 views
Description This article shows how to update the lost root password.
Scope FortiSIEM.
Solution

Root access is necessary to administrate the FortiSIEM from the CLI. In case the root password has been lost, the next steps are to boot temporarily on another system and change the password using the use of chroot command.

 

  • Requirements:

Have the system ready to boot with the Ubuntu system, download the ISO from Download Ubuntu Desktop:

 

During this phase, the FortiSIEM application will not be available and will not process events.

 

  • Change root password steps:
  1. Change BIOS config to boot on the Ubuntu system with the Try or Install Ubuntu grub option. (Screenshot from VM).

 

Capture d’écran 2026-01-19 162850.png

 Capture d'écran 2026-01-19 162917.png

 

  1. Go through the initial Ubuntu setup and select Try Ubuntu and Close.
                                                      

Capture d'écran 2026-01-20 082459.png
Capture d'écran 2026-01-20 082533.png                                                          

  1. Enter the terminal:
                                                            

Capture d’écran 2026-01-20 082731.png      

  1. Type the following commands:

 

sudo su

fdisk -l <-- Make sure that /dev/mapper/rl-root is listed.

mount /dev/mapper/rl-root /mnt

df -h <-- Make sure it is mounted

chroot /mnt

passwd

exit

reboot

 

commands.png

 

  1. Unplug the USB/ISO disk.
  2. Use the newly changed root password in FortiSIEM CLI.