Use "sudo -i" instead of "sudo su -"
`sudo su -` is redundant, as you are asking the system to elevate you after you have already elevated. If what you actually want is to get a login environment, the `sudo -i` flag is designed exactly for that.
This commit is contained in:
committed by
Andrew Chen
parent
01b9cf25f3
commit
a877e63b8b
@@ -50,7 +50,7 @@ releases](https://github.com/kubernetes/kubeadm/blob/master/CHANGELOG.md)
|
|||||||
For each machine:
|
For each machine:
|
||||||
|
|
||||||
* SSH into the machine and become root if you are not already (for example,
|
* SSH into the machine and become root if you are not already (for example,
|
||||||
run `sudo su -`).
|
run `sudo -i`).
|
||||||
|
|
||||||
* If the machine is running Ubuntu or HypriotOS, run:
|
* If the machine is running Ubuntu or HypriotOS, run:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user