Article 53JS9 sudo and su - both are not working as i have removed my local user from local group

sudo and su - both are not working as i have removed my local user from local group

by
RonakChauhan
from LinuxQuestions.org on (#53JS9)
I was trying to add my local user into www-data group but it was getting some issue so i have removed my local user from local group and add it to www-data group.

But now after restart system neither I am able to use sudo nor su -

Trying to use sudo :

"Sorry, user ronakchauhan is not allowed to execute '/usr/local/bin/apt update' as root on ronakchauhan"

Trying to use su -
"su: Authentication failure"

please help!latest?d=yIl2AUoC8zA latest?i=bUb4rxyvBl0:9NcIT4jmhPw:F7zBnMy latest?i=bUb4rxyvBl0:9NcIT4jmhPw:V_sGLiP latest?d=qj6IDK7rITs latest?i=bUb4rxyvBl0:9NcIT4jmhPw:gIN9vFwbUb4rxyvBl0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments