AGX Pegasus how to change login password

Hi,

I can not login to Xavier-A with the password that we have been using always. We did not change the password but it keeps rejecting password.

tegra-ubuntu login: nvidia
Password: 

Login incorrect

How can we change the password of Xavier-A? Thanks in advance.

Software Version
NVIDIA DRIVE™ Software 10.0 (Linux)

Target Operating System
Linux

Hardware Platform
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)

Host Machine Version
native Ubuntu 18.04

Dear @mugurcal ,
Could you check login as user ‘ubuntu’ and check below commands

$ssh ubuntu@TARGET_IP   #enter password as ubuntu
$sudo su   #login as root
$sudo passwd nvidia #enter new password

I have tried to connect with ssh but I could not. It says “access denied”.

Dear @mugurcal,
Is ssh connection configured and able to access earlier?

Yes, ssh connection was okay. We also tried from the debug port.

Dear @mugurcal,
Could you connect via debug port now? If so, please connect via debug port and change password. If debug port and ssh connection is not working, I don’t see any other option than re-flashing the target.