this post was submitted on 10 Nov 2023
10 points (91.7% liked)

Arch Linux

7783 readers
21 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

So I just fixed my Arch KDE install this morning (I broke plasma after an update) and now I have an issue with sudo. It simply doesn't do anything when I use it manually in the terminal and when I use yay, it gives an exec format error for the sudo file. After checking on the file using both the file command and kate. Both say that the file is empty. Is that supposed to be the case? If not, how do I fix it?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 1 year ago

If you have access to root, login to root and reinstall sudo from pacman, if not then you'll probably have to chroot into it and install it from there.