Add disable access to system doc

This commit is contained in:
Jason-ZW
2019-01-21 14:48:24 +08:00
parent 3ceddcb2a7
commit 545f21da83
@@ -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
```