You are not logged in.

#1 2023-02-13 14:11:43

AzmuthForger
Member
Registered: 2023-01-09
Posts: 13

Empty Sudoers File

Hey there today I was installing arch on my machine. While adding users to sudoers file I found that my sudoers file is empty.  I tried re-installing base-devel ( sudo ) but it didn't worked. Is there any way to fix it or elese provide my with default vanilla suoders file of arch. Any help will be appreciated
Cheers
AzmuthForger

Offline

#2 2023-02-13 14:15:07

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

Re: Empty Sudoers File

Wild guess, but are you not using visudo to edit the file?  In other words, exactly which command are you using that leads you to conclude the file is empty?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2023-02-13 14:15:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Empty Sudoers File

Delete it and reinstall sudo. Or extract it from the package manually.

Offline

#4 2023-02-13 16:14:35

AzmuthForger
Member
Registered: 2023-01-09
Posts: 13

Re: Empty Sudoers File

Guys I tried reinstalling sudo using
pacman -S sudo
and it worked.
Thanks
Azmuth

Last edited by AzmuthForger (2023-02-13 16:15:02)

Offline

Board footer

Powered by FluxBB