You are not logged in.

#26 2018-04-29 15:19:39

loqs
Member
Registered: 2014-03-06
Posts: 18,174

Re: sudo not working

Delete that broken /etc/environment symlink then reinstall the pam package.  Any difference then?

Offline

#27 2018-04-29 15:28:44

shubhoRoy
Member
Registered: 2016-08-13
Posts: 19

Re: sudo not working

Tried the steps, sadly no difference.

Offline

#28 2018-04-29 15:57:43

loqs
Member
Registered: 2014-03-06
Posts: 18,174

Re: sudo not working

The output now of

pacman -Qkk pam

Offline

#29 2018-04-29 15:59:02

shubhoRoy
Member
Registered: 2016-08-13
Posts: 19

Re: sudo not working

pam: 585 total files, 0 altered files

Offline

#30 2018-04-29 16:31:59

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: sudo not working

So /etc/environment is a stale link - i'd fix that; no idea whether that's the cause, though.

Offline

#31 2018-05-02 12:45:50

civ0
Member
Registered: 2018-01-28
Posts: 9

Re: sudo not working

I had a simliar problem with Enigmail in Thunderbird. When I opened an encrypted message, nothing happened for a while and then it failed.

A bit of digging showed, that the current version of pinentry is was to blame. Pinentry was also updated by the OP and maybe the sudo password gets asked with this tool.

[2018-04-27 20:11] [ALPM] upgraded pinentry (1.1.0-1 -> 1.1.0-2)

I downgraded that package to the previous version and Enigmail works again for me.

EDIT: There are already to bug reports for that behaviour: https://bugs.archlinux.org/task/58368?p … g=pinentry https://bugs.archlinux.org/task/58425?p … g=pinentry

Last edited by civ0 (2018-05-02 12:47:49)

Offline

#32 2018-05-02 14:22:11

shubhoRoy
Member
Registered: 2016-08-13
Posts: 19

Re: sudo not working

seth wrote:

So /etc/environment is a stale link - i'd fix that; no idea whether that's the cause, though.

Could you please elaborate as to what you mean about fixing it?

Offline

#33 2018-05-02 14:24:41

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: sudo not working

Replace it with a regular file? In doubt the one from the package.

Edit: sorry, I completely missed your interim discussion w/ loqs.

Last edited by seth (2018-05-02 14:32:32)

Offline

#34 2018-06-06 13:26:46

CPlusPandaGives
Member
From: United Kingdom
Registered: 2017-03-07
Posts: 11

Re: sudo not working

The links to the bugs mentioned by civ0 show that the bug(s) have been fixed. Have you tried upgrading your system again?

EDIT: Assuming that you still have the problem since it has been around a month since you last posted on this topic

Last edited by CPlusPandaGives (2018-06-06 13:27:15)

Offline

#35 2018-06-10 10:05:13

shubhoRoy
Member
Registered: 2016-08-13
Posts: 19

Re: sudo not working

I did an update today. yet I am getting the same problem.
I am still using root to do all sudo related work. It is really frustrating.

Offline

#36 2018-06-10 10:12:35

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: sudo not working

pacman -Qkk sudo
which sudo
stat `which sudo`
cat /etc/pacman.conf

Offline

Board footer

Powered by FluxBB