BlueField-3 Access Issue: Resetting BMC and SoC Passwords

I have configured a BlueField-3 and started working on accessing the BMC and SoC. I have assigned IP addresses to both the BMC and SoC, but I am facing issues with the password. When I try to log in using the assigned password, it does not work. Do you have any ideas on how I can reset it, considering that I cannot access either the BMC or the SoC?