sudo adduser USER
sudo adduser USER sudo
Log in as USER then ran
sudo userdel -r pi
sudo visudo
and edit # User privilege specificationroot ALL=(ALL:ALL) ALLUSER ALL = NOPASSWD: ALLand remove pi entry below
#includedir /etc/sudoers.d
Your experience on this site will be improved by allowing cookies.