You are not logged in.
Pages: 1
Hi, I have installed Arch from scratch as minimal installation. I just installed Xmonad and some other packages. Everything works so far, but if I run sudo I don't need to enter a password.
It is not a big deal because there is nothing important on this computer, but I wonder what went wrong. What do I need to change to make this computer more secure?
Last edited by burli (2021-05-30 09:47:48)
Offline
You are either already running as root or you misconfigured your sudoers. Or you did run sudo with a password in the past 15mins in which case it would be cached for that amount of time
Offline
If I don't type sudo I don't have root. And I never need to enter a password for sudo. I followed the instructions in the Wiki to install Arch. Don't know what went wrong.
Offline
sudo is not configured by default for any user other than root, what did you do to your sudoers? Which groups does your user belong to and which uid/gid did you choose?
Post the output of
id
sudo cat /etc/sudoersin
[code]code tags[/code]tags
Last edited by V1del (2021-05-30 08:56:14)
Offline
Oh, I think I got it. I uncomment the wrong line in /etc/sudoers. I accidentally uncomment the line with "NOPASSWD".
Works now, thanks for your help
Offline
glad to hear, please mark as [SOLVED] by editing the title in your first post: https://gitlab.archlinux.org/archlinux/ … ow-to-post
Offline
Pages: 1