Wednesday, November 29, 2017

server - User stopped being sudoer after release upgrade

I've upgraded one of web server, that was running Ubuntu from 11.10 to 12.04 (No downtime since it's creation, though serving 10-40k requests/daily).


 sudo apt-get install update-manager-core
do-release-upgrade

During upgrade everything seemed normal. Restarted the instance (EC2): apache2, mysql - all seem to be running. But:


g****c@ip-10-**-**-***:~$ sudo apt-get install libssh2-php
[sudo] password for g****c:
g****c is not in the sudoers file. This incident will be reported.

(I've backed up the instance before upgrading: On origin this user is sudoer).
How can I solve this issue ?
How do I do regain su on remote server?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...