[haiku-sysadmin] Re: I broke sudo on vmweb

  • From: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
  • To: haiku-sysadmin@xxxxxxxxxxxxx
  • Date: Thu, 17 Sep 2015 02:51:54 +0000

Use nano -w to avoid line wrapping.

On Thu, 17 Sep 2015 1:22 PM waddlesplash <waddlesplash@xxxxxxxxx> wrote:

Well, this is the email I hoped I would never have to write...

Drupal started giving me 'access denied' when trying to access the
admin pages, so I logged in via SSH to see what was up. I figured I'd
add kallisti5 to sudoers at the same time while I was at it.

I did try to use visudo to edit the file (after poking around and
confirming we weren't using sudoers.d or 'sudo' groups), but that just
gave me 'command not found', so I just used nano instead, which
appears to have line-wrapped the file, so sudo now chokes on it. I
then tried to use pkit to get another editor instance to fix the
problem, but it appears pkit is failing because 2FA is not fully set
up yet (or because nobody bothered to configure it in the first
place.)

I am sorry for causing trouble.

-waddlesplash


Other related posts: