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

# usermod -G www-data ubuntu

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

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?

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.


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,606 12-30-2020, 08:02 PM
Last Post: phi0x
  SPI on ubuntu IlyaM 4 9,519 07-16-2018, 03:00 AM
Last Post: kingflab
  Ubuntu password not working joemassimino 4 8,929 05-18-2018, 03:33 PM
Last Post: Luke
  After flashing Ubuntu- how to get graphical desktop Partymack711 6 11,315 02-01-2018, 09:45 AM
Last Post: Partymack711
  (ARCHIVED) Ubuntu Xenial Image (BSP Kernel) longsleep 337 658,377 01-31-2018, 11:58 AM
Last Post: Luke
  PPTP doesnt work with ubuntu escovedo 2 9,031 08-23-2017, 09:28 AM
Last Post: gilbertotcc
Question HELP Ubuntu Mate password recovery procedure Captain Anni Hilator 5 10,340 08-03-2017, 03:52 PM
Last Post: Luke
  Ubuntu boot very slow with wifi driver remainder 9 21,292 08-03-2017, 07:23 AM
Last Post: victorssantos
  Pine64 2Gb Ubuntu Mono not updating and stuck petec 0 2,989 07-08-2017, 09:34 AM
Last Post: petec
  Ubuntu Xenial - Firefox add support for H264 and EAC3 klode 1 4,878 05-26-2017, 11:10 AM
Last Post: Gnx

Forum Jump:

Users browsing this thread: 1 Guest(s)