Sudo says password is wrong

I am completely newbie to linux
when i installed manjaro i set root password same to login password but when i do anything with sudo it says wrong password
its correct in su
i wanted to downoload opera so i went to manjaro hello>applications and then selected opera then i updated system, it says enter password but its wrong again
i am pretty sure that i am typing the correct password

Hello and welcome @Sahaj :wink:

Have a look here:

Did you write twice the password? or did you tick the box to have one unique password?

Login as root via su - and check faillock:

1 Like

I would like to suggest querying the status of the current account in advance with

passwd -S

and to translate this output using passwd(1) - Linux manual page / section -S, --status. Neither su nor sudo is required for this.