You are not logged in.

#1 2020-05-09 20:36:03

lsa
Member
Registered: 2020-05-09
Posts: 1

I removed sudo by accident

Hello, I installed Arch Linux but I apparently managed to remove sudo by accident. Reinstall would be the easiest way I guess but would it be possible to reinstall sudo and if so, how?

Offline

#2 2020-05-09 20:36:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,519
Website

Re: I removed sudo by accident

You reinstall it with pacman.  Sudo is not a requirement for a functional system.  (And I'm not sure how a "reinstall" would help as sudo isn't even part of a base install).

Last edited by Trilby (2020-05-09 20:37:28)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-05-09 20:38:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: I removed sudo by accident

Not an Arch install, obviously...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2020-05-10 04:54:29

bergersau
Member
Registered: 2012-01-19
Posts: 52

Re: I removed sudo by accident

@Isa The wiki has good instructions for both installing and configuring sudo.

https://wiki.archlinux.org/index.php/Sudo

Before posting questions it's always good to start with the wiki and do a search of existing forum threads to see if you can solve your problem that way.  The forum regulars here are incredibly knowledgeable and very helpful but it is generally expected that you try to do your own research first in order to reduce the duplication of posts on issues that have already been documented in the wiki or answered elsewhere.

Offline

#5 2020-05-10 12:30:24

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: I removed sudo by accident

What guide did you use to install?

Offline

Board footer

Powered by FluxBB