You are not logged in.

#1 2024-02-09 14:37:10

scatherinch
Member
Registered: 2023-02-24
Posts: 168

[SOLVED] Sudoers file: Syntax error

Hi, I'm back.

I recently got into Linux again and did a fresh install. As far as I can tell, everything went good, but I'm confused about my sudoers file after following my time and true guide. It's spitting an error out at me and I'm not exactly sure what the problem is. I was downloading yay using git when I noticed it:

/etc/sudoers:62:2: syntax error
3# Defaults env_keep += "XDG_SESSION_COOKIE"
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I probably made a simple mistake editing the sudoers file during installation. It works, but this is kind of agitating to see everytime I something. Would anyone be willing to weigh in anyways and explain what's going on?

Last edited by scatherinch (2024-02-09 14:42:13)

Offline

#2 2024-02-09 14:39:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Sudoers file: Syntax error

The line starts with a '3'?

Offline

#3 2024-02-09 14:41:03

scatherinch
Member
Registered: 2023-02-24
Posts: 168

Re: [SOLVED] Sudoers file: Syntax error

Oh. How in the world did that get in there?? Thanks, everything is good, I edited it out.

Offline

Board footer

Powered by FluxBB