From 545f21da830076b5db213b7637383d57fed69e1c Mon Sep 17 00:00:00 2001 From: Jason-ZW Date: Mon, 21 Jan 2019 14:48:24 +0800 Subject: [PATCH] Add disable access to system doc --- .../disable-access-to-system/_index.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 content/os/v1.x/en/installation/configuration/disable-access-to-system/_index.md diff --git a/content/os/v1.x/en/installation/configuration/disable-access-to-system/_index.md b/content/os/v1.x/en/installation/configuration/disable-access-to-system/_index.md new file mode 100644 index 00000000000..f773f735db0 --- /dev/null +++ b/content/os/v1.x/en/installation/configuration/disable-access-to-system/_index.md @@ -0,0 +1,43 @@ +--- +title: Disabling access to system +weight: 136 +--- +_Available as of v1.5_ + +At the moment, you can set `rancher.password` and `auto-login` to the system. +In some environments it is required to disable these methods. +This can be achieved by: + +- Option to ignore rancher.password kernel param. + +- Option to disable auto-login. + +### Ignoring `rancher.password` kernel param + +You can use `ros` command or `cloud-config` file to ignore `rancher.passowrd` kernel param. + +ros command: `sudo ros config set rancher.disable ["password"]` + +cloud-config file: + +```yaml +# cloud-config +rancher: + disable: + - password +``` + +### Disabling `autologin` + +You can use `ros` command or `cloud-config` file to disable auto-login. + +ros command: `sudo ros config set rancher.disable ["autologin"]` + +cloud-config file: + +```yaml +# cloud-config +rancher: + disable: + - autologin +```