Sudoers
Add user to sudoers
From https://linuxize.com/post/how-to-add-user-to-sudoers-in-ubuntu/
Connect as root
Log in as root
with root
password
sh
su -
Add my-user
to sudoers
INFO
Replace my-user
with your username.
sh
visudo
Add a new line for my-user
sh
my-user ALL=(ALL:ALL) ALL
/etc/sudoers
Disconnect and reconnect to apply changes
sh
exit
Now you can use sudo with my-user
sh
sudo apt update