Hi there. I have this new issue where when I try to update via this: sudo pacman -Syyu
I get this error: sudo: 1 incorrect password attempt
However when I try this su command, I get the access.
I don’t understand why this is happening. I haven’t changed my password. Anybody please help!
You have to check the files under /etc/pam.d/ and merge any files whose names end in .pacnew into the original files.
Also, please note that there is a distinct difference between su and sudo. They work differently, and in the default configuration, sudo asks for the user’s own password, not the root password, while su ─ which stands for “substitute user” ─ defaults to the root account if no other parameters are given, and thus requires the root password to be entered.
Also note that it’s better to use…
… with a dash, because if you don’t, then you stand a chance of changing the ownership of certain files in your home directory to the root user, and that could lead to all kinds of mayhem.
That error doesn’t have anything to do with the directory not being there ─ it should be there because it’s created by the package, but it may be empty ─ but rather, it is an error that it cannot find the command cd, which is a shell builtin.
It is very strange that I have found like 7 posts about this password stops woriking X minutes after boot and noone seems to know how to fix it. I am living with this issue since August and now I ran out of ideas and paitence. I did a reinstall but preseverd my home folder and the issue didn’t go away.
Is Manjaro totally broken now? Should we who have the problem just use some other distro?
I’ve thankfully not encountered this problem now since the initial event. I’m none the wiser as to what the culprit is. If you’ve re-installed your base system perhaps it’s a user issue - you could try removing the dotfiles from your home directory after backing up.
I’m afraid I don’t have anything meaningful to add.
Finding this strange but I am also facing the same exact problem. As @AdamSzabo already tried reinstalling the OS, even if this is not helping, I am seeing a serious trouble here. We certainly need help in this thread.