Add User to SUDO group:
sudo usermod -aG sudo $USER
Enable sudo without password:
- open the sudo file:
sudo visudo
- add under “allow member of group sudo to execute any command”:
username ALL=(ALL) NOPASSWD:ALL
Completely remove the sudo:
edit this file:
nano ~/.bashrc
add alias:
alias apt='sudo apt'
alias systemctl='sudo systemctl'
this fakes it by setting a shortcut.
Update the apt:
apt update