You are not logged in.

#1 2020-09-18 20:46:12

Noki
Member
Registered: 2018-06-08
Posts: 98

New installation lacking sudoers file

Hi All,

I am returning to Arch after using Manjaro for over a year. The installation procedure has changed somewhat but I have now completed the install from a USB Stick and rebooted into it and logged in as root just fine. I used the latest version available Sept 2020.

I started by adding a new user and then went to add them to the sudoers list and the file does not exist. I then tried to install visudo using pacman and it could not find the target. At which point I noticed there is no network connection so am looking at fixing it now too (probably the service not started or what have you).

The pacstrap command was different than what I used to use, perhaps I need to use the old one I have.

New > pacstrap /mnt base linux linux-firmware

Old > pacstrap /mnt base base-devel

I did basically everything in the Wiki Guide except for the Initramfs step. Grub is working ok and also found my windows installation.

Did I miss a step? I am a little stuck on what to do next, I don't get why this standard and vital option would be missing when I followed the official guide in full.

Let me know if I can provide more information.

Thanks,
Chris

Offline

#2 2020-09-18 21:22:20

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: New installation lacking sudoers file

I neglected to setup a network manager so I have completed the install again. But the issue with sudoers is still present. I have gone through the installation wiki again and I feel like I covered everything, running through it now to be absolutely sure. Why would this be missing?

Offline

#3 2020-09-18 21:36:22

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,932
Website

Re: New installation lacking sudoers file

You missed to install sudo. It's in the eponymous package.
It's not part of base, because it's not a vital package for a Linux system.
You can always become root using su.

Last edited by schard (2020-09-18 21:38:46)

Offline

#4 2020-09-18 22:31:16

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: New installation lacking sudoers file

Indeed I did! I was just coming back to post I'd fixed it. For some reason this is now part of the General Recommendations section now, despite it being a requirement. Thanks for your help.

Now I am working on getting KDE up and running along with network shares etc, mostly there now.

Offline

#5 2020-09-18 22:35:47

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: New installation lacking sudoers file

It's not a requirement. Many people run systems without sudo.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#6 2020-09-18 22:40:42

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: New installation lacking sudoers file

Please remember to mark your thread as solved by editing the first post and amending the topic title.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2020-09-19 01:00:57

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: New installation lacking sudoers file

Side note, you can install pkgfile and add to your ~/.bashrc (if you use bash):

source /usr/share/doc/pkgfile/command-not-found.bash

So it tells you what package haves the missing command when you call for it.

It's Wiki page: https://wiki.archlinux.org/index.php/Pkgfile

Some example:

$ archive
archive may be found in the following packages:
  extra/archivetools 3-2	/usr/bin/archive
  extra/hylafax 6.0.7-3 	/var/spool/hylafax/bin/archive

That should help you for future similar cases. smile


My reposSome snippets

Heisenberg might have been here.

Offline

Board footer

Powered by FluxBB