Whenever I am running any command with sudo, No password is asked from stdin. Instead, it automatically takes a password from somewhere and fails. Once All attempts are exhausted, my command is ultimately failed. I am not able to open the sudoers file too.
I also tried echo PASSWORD | sudo ls.
Here too it is taking the wrong password.
ank@ank-aqua-pc:server$type -a sudo
sudo is /usr/bin/sudo
ank@ank-aqua-pc:server$sudo -l
Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts
type -a sudoandsudo -lto the question too. – muru Mar 14 '21 at 09:32pkexec, I haven't found any solution so this command is temporary. – Mandi Mar 14 '21 at 09:33