From ee67abf73b82c20d586075747acf4d4ad907cd4f Mon Sep 17 00:00:00 2001 From: lilin90 Date: Wed, 8 Aug 2018 19:15:03 +0800 Subject: [PATCH] op-guide, tikv: update ansible `useradd` command Via: https://github.com/pingcap/docs-cn/pull/834 --- op-guide/ansible-deployment.md | 2 +- tikv/deploy-tikv-using-ansible.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/op-guide/ansible-deployment.md b/op-guide/ansible-deployment.md index 2608a8bcf4f07..cc446b3141c35 100644 --- a/op-guide/ansible-deployment.md +++ b/op-guide/ansible-deployment.md @@ -72,7 +72,7 @@ Make sure you have logged in to the Control Machine using the `root` user accoun 1. Create the `tidb` user. ``` - # useradd tidb + # useradd -m -d /home/tidb tidb ``` 2. Set a password for the `tidb` user account. diff --git a/tikv/deploy-tikv-using-ansible.md b/tikv/deploy-tikv-using-ansible.md index e41019e73d8c7..e7b705a1cd92d 100644 --- a/tikv/deploy-tikv-using-ansible.md +++ b/tikv/deploy-tikv-using-ansible.md @@ -59,7 +59,7 @@ Make sure you have logged in to the Control Machine using the `root` user accoun 1. Create the `tidb` user. ``` - # useradd tidb + # useradd -m -d /home/tidb tidb ``` 2. Set a password for the `tidb` user account.