Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21523 - sudo doesn't accept correct sudoes file

Attached to Project: Arch Linux
Opened by Alex (Alex Arch User) - Friday, 29 October 2010, 14:51 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 29 October 2010, 19:19 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: whatever /etc/sudoers file I have, sudo doesn't accept it, saying that there's an error in the line near the end of the sudoers file.

Additional info:
* package version(s) sudo 1.7.4.p4-1
* /etc/sudoers config:

--------------------
Defaults env_reset

root ALL=(ALL) ALL
alex ALL=(ALL) ALL

Defaults:alex timestamp_timeout=0
--------------------


Steps to reproduce:
alex[...]$ sudo date
>>> /etc/sudoers: syntax error near line 5 <<<
sudo: parse error in /etc/sudoers near line 5
sudo: no valid sudoers sources found, quitting
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 29 October 2010, 19:19 GMT
Reason for closing:  Not a bug
Additional comments about closing:  sudo: parse error in /etc/sudoers near line 5
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 29 October 2010, 17:46 GMT
missing last \n (go to last line, press enter then save)

Loading...