chore: run apt update before installing sudo
This commit is contained in:
1 parent
ff8eb5652f
commit
9a5f117518
1 file changed
+1
@@ -62,6 +62,7 @@ This projects supported Linux distro for running Kubernetes is Debian, Ubuntu _m
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
su -
|
su -
|
||||||
|
apt update
|
||||||
apt install -y sudo
|
apt install -y sudo
|
||||||
usermod -aG sudo ${username}
|
usermod -aG sudo ${username}
|
||||||
echo "${username} ALL=(ALL) NOPASSWD:ALL" | tee /etc/sudoers.d/${username}
|
echo "${username} ALL=(ALL) NOPASSWD:ALL" | tee /etc/sudoers.d/${username}
|
||||||
|
|||||||
Reference in new issue
Block a user