07-26-2017, 01:05 PM
Yesterday I had cause to add the ubuntu user to the www-data group. I believe I did this:
Since then, I am unable to become root. If I try to sudo -i, I am told
This happens no matter what command I try to run. sudo vim /etc/sudoers?
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!
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!