You are on page 1of 1

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


sudo apt-get update -y
sudo apt-get upgrade -y

You might also like