jsbach
14 September 2020 17:12
1
I run Manjaro KDE in one of my laptops. After the latest stable update, I can no longer su or sudo even though I am a member of the wheel group. I am able to login, but I am not able to use su or sudo.
[cribari@darwin6 ~]$ groups cribari
wheel lp sys network power users
[cribari@darwin6 ~]$ su
Password:
su: Authentication failure
As root, I did EDITOR=nano visudo
. The line %wheel ALL=(ALL).....
is uncommented. I changed my password, but the problem remained. Suggestions are welcome. Thanks.
zoli62
14 September 2020 17:19
2
Have you also tried with a newly created user what happens?
Good to see you back, @jsbach !
Have you tried the following ā see the note about pambase
?
Known issues and solutions
For TL3s and up: This is a wiki post; please edit as necessary.
Please, consider subscribing to the Stable-Staging Updates Announcements RSS feed
nvidia-450xx-utils and nvidia-440xx-utils are in conflict
Please click the āŗ at the beginning of this line to view this solution If you get the following error message:
resolving dependencies...
looking for conflicting packages...
:: nvidia-450xx-utils and nvidia-440xx-utils are in conflict (nvidia-libgl). Remove nvidia-4ā¦
jsbach
14 September 2020 17:24
4
Following your suggestions, I created a new user (which is also a member of the wheel group). The new user is able to sudo without problems.
jsbach
14 September 2020 17:27
5
Thanks, @Aragorn . The only .pacnew
file I had in /etc/pam.d
was system-login.pacnew
and I took care of that (i.e., I merged it). After doing that I was able to login, but not to su or sudo.
1 Like
Wollie
14 September 2020 17:31
6
Have your checked for other recent pacnew files by
grep -E "\.pac(new|save)" /var/log/pacman.log
1 Like
jsbach
14 September 2020 17:34
7
This is what I have:
[cribari@darwin6 ~]$ grep -E "\.pac(new|save)" /var/log/pacman.log
[2018-08-06 17:19] [ALPM] warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
[2018-08-18 09:27] [ALPM] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
[2018-08-18 09:29] [ALPM] warning: /etc/pacman-mirrors.conf installed as /etc/pacman-mirrors.conf.pacnew
[2018-10-25 17:40] [ALPM] warning: /etc/default/grub installed as /etc/default/grub.pacnew
[2018-11-02 21:30] [ALPM] warning: /etc/default/grub installed as /etc/default/grub.pacnew
[2019-02-19 19:57] [ALPM] warning: /etc/pam.d/system-login installed as /etc/pam.d/system-login.pacnew
[2019-05-12 12:09] [ALPM] warning: /etc/fwupd/remotes.d/lvfs-testing.conf installed as /etc/fwupd/remotes.d/lvfs-testing.conf.pacnew
[2019-05-12 12:09] [ALPM] warning: /etc/fwupd/remotes.d/lvfs.conf installed as /etc/fwupd/remotes.d/lvfs.conf.pacnew
[2019-05-12 12:09] [ALPM] warning: /etc/fwupd/remotes.d/vendor.conf installed as /etc/fwupd/remotes.d/vendor.conf.pacnew
[2019-05-17 17:28] [ALPM] warning: /etc/default/grub installed as /etc/default/grub.pacnew
[2019-09-05 15:16] [ALPM] warning: /etc/default/grub installed as /etc/default/grub.pacnew
[2019-10-28 18:34] [ALPM] warning: /etc/makepkg.conf installed as /etc/makepkg.conf.pacnew
[2019-11-14T10:33:43-0300] [ALPM] warning: /etc/fwupd/remotes.d/lvfs-testing.conf installed as /etc/fwupd/remotes.d/lvfs-testing.conf.pacnew
[2019-11-14T10:33:43-0300] [ALPM] warning: /etc/fwupd/remotes.d/lvfs.conf installed as /etc/fwupd/remotes.d/lvfs.conf.pacnew
[2019-11-14T10:33:49-0300] [ALPM] warning: /etc/default/grub installed as /etc/default/grub.pacnew
[2019-12-11T18:38:54-0300] [ALPM] warning: /etc/makepkg.conf installed as /etc/makepkg.conf.pacnew
[2020-02-26T21:56:20-0300] [ALPM] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
[2020-03-31T21:24:30-0300] [ALPM] warning: /etc/security/limits.d/10-gcr.conf installed as /etc/security/limits.d/10-gcr.conf.pacnew
[2020-04-22T15:39:32-0300] [ALPM] warning: /etc/fwupd/remotes.d/lvfs-testing.conf installed as /etc/fwupd/remotes.d/lvfs-testing.conf.pacnew
[2020-04-22T15:39:32-0300] [ALPM] warning: /etc/fwupd/remotes.d/lvfs.conf installed as /etc/fwupd/remotes.d/lvfs.conf.pacnew
[2020-06-01T17:53:52-0300] [ALPM] warning: /etc/shadow installed as /etc/shadow.pacnew
[2020-08-07T12:54:39-0300] [ALPM] warning: /etc/fonts/fonts.conf installed as /etc/fonts/fonts.conf.pacnew
[2020-08-07T12:55:30-0300] [ALPM] warning: /etc/texmf/web2c/fmtutil.cnf installed as /etc/texmf/web2c/fmtutil.cnf.pacnew
[2020-09-14T10:55:05-0300] [ALPM] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
[2020-09-14T10:55:09-0300] [ALPM] warning: /etc/pam.d/system-login installed as /etc/pam.d/system-login.pacnew
[2020-09-14T10:55:09-0300] [ALPM] warning: /etc/systemd/logind.conf installed as /etc/systemd/logind.conf.pacnew
I also merged logind.conf.pacnew
.
Wollie
14 September 2020 17:37
8
I would try to merge these as well.
2 Likes
The only difference in /etc/locale.gen.pacnew
is just a single added and commented-out locale.
zoli62
14 September 2020 17:43
10
What happens after the sudo su
command is issued? (with the original user)
jsbach
14 September 2020 17:45
11
Apparently, that did the trick. Thanks a zillion.
2 Likes
jsbach
14 September 2020 17:47
12
Thank you, @Wollie , @Aragorn , @zoli62 . You guys rock! Thanks.
3 Likes
zoli62
14 September 2020 17:49
14
Sudo and su should always work. Iām glad it was solved.
1 Like
system
Closed
17 September 2020 17:49
15
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.