To add a sudo user in Ubuntu, edit the /etc/sudoers file to add the user after the root entry and add them to the sudo group. This allows the new user to have superuser privileges by using the sudo command. Next, update and upgrade the system packages using apt before installing Kubernetes.
To add a sudo user in Ubuntu, edit the /etc/sudoers file to add the user after the root entry and add them to the sudo group. This allows the new user to have superuser privileges by using the sudo command. Next, update and upgrade the system packages using apt before installing Kubernetes.
To add a sudo user in Ubuntu, edit the /etc/sudoers file to add the user after the root entry and add them to the sudo group. This allows the new user to have superuser privileges by using the sudo command. Next, update and upgrade the system packages using apt before installing Kubernetes.
by default ubuntu don't create sudo user, to gain super_user/Sudoer privillages
which are written in /etc/sudoers
file we will first check /etc/suders properties so for properties we will use permissions and users: ll /etc/sudoers and to chage to root user we will switch to root user by su root Pass: now we will edit this file and adding below root as root ALL=(ALL:ALL) ALL moon ALL=(ALL:ALL) ALL # usermod -aG sudo moon then user moon will be added as sudoers and in sudo group
to install kubernets we will first update apt and the upgrade