Recovering root access in Ubuntu
#1
Yesterday I had cause to add the ubuntu user to the www-data group. I believe I did this:

Code:
# usermod -G www-data ubuntu

Since then, I am unable to become root. If I try to sudo -i, I am told

Code:
Sorry, user ubuntu is not allowed to execute '/bin/bash' as root on pine64.

This happens no matter what command I try to run. sudo vim /etc/sudoers?


Code:
Sorry, user ubuntu is not allowed to execute '/usr/bin/vim /etc/sudoers' as root on pine64.


I don't actually know if adding ubuntu to a group caused this; it's just the biggest change I've made, and I can't think of anything else I've done that would cause this.

Thanks!
  Reply


Messages In This Thread
Recovering root access in Ubuntu - by Scientomancer - 07-26-2017, 01:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu server 20.04 request phi0x 2 5,284 12-30-2020, 08:02 PM
Last Post: phi0x
  SPI on ubuntu IlyaM 4 9,087 07-16-2018, 03:00 AM
Last Post: kingflab
  Ubuntu password not working joemassimino 4 8,512 05-18-2018, 03:33 PM
Last Post: Luke
  After flashing Ubuntu- how to get graphical desktop Partymack711 6 10,835 02-01-2018, 09:45 AM
Last Post: Partymack711
  (ARCHIVED) Ubuntu Xenial Image (BSP Kernel) longsleep 337 633,726 01-31-2018, 11:58 AM
Last Post: Luke
  PPTP doesnt work with ubuntu escovedo 2 8,657 08-23-2017, 09:28 AM
Last Post: gilbertotcc
Question HELP Ubuntu Mate password recovery procedure Captain Anni Hilator 5 9,907 08-03-2017, 03:52 PM
Last Post: Luke
  Ubuntu boot very slow with wifi driver remainder 9 20,656 08-03-2017, 07:23 AM
Last Post: victorssantos
  Pine64 2Gb Ubuntu Mono not updating and stuck petec 0 2,873 07-08-2017, 09:34 AM
Last Post: petec
  Ubuntu Xenial - Firefox add support for H264 and EAC3 klode 1 4,702 05-26-2017, 11:10 AM
Last Post: Gnx

Forum Jump:


Users browsing this thread: 1 Guest(s)