[Bug 501204] Re: sudo syntax error in /etc/sudoers due to #-- comment
** Description changed: - Binary package hint: network-manager + Binary package hint: sudo I put a few comments in /etc/sudoers where the '#' comment char is succeeded with -- as in: #--ariel--# result: sudo won't work anymore. - $ sudo echo OK - /etc/sudoers: syntax error near line 9 - /etc/sudoers: syntax error near line 27 - sudo: parse error in /etc/sudoers near line 9 - sudo: no valid sudoers sources found, quitting + $ sudo echo OK + /etc/sudoers: syntax error near line 9 + /etc/sudoers: syntax error near line 27 + sudo: parse error in /etc/sudoers near line 9 + sudo: no valid sudoers sources found, quitting putting a space between the '#' and '--' solves the problem. Comments should start with '#' only. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/501204 Title: sudo syntax error in /etc/sudoers due to #-- comment To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/501204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 501204] Re: sudo syntax error in /etc/sudoers due to #-- comment
** Changed in: sudo (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/501204 Title: sudo syntax error in /etc/sudoers due to #-- comment To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/501204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 501204] Re: sudo syntax error in /etc/sudoers due to #-- comment
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: sudo (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/501204 Title: sudo syntax error in /etc/sudoers due to #-- comment To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/501204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 501204] Re: sudo syntax error in /etc/sudoers due to #-- comment
Apologies for the wrong Binary package hint, not sure how I got here and not sure how to revert it. it should be 'sudo'. ** Package changed: network-manager (Ubuntu) = sudo (Ubuntu) -- sudo syntax error in /etc/sudoers due to #-- comment https://bugs.launchpad.net/bugs/501204 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs