Skip to content

Commit 73a875d

Browse files
lilin90CaitinChen
authored andcommitted
op-guide, tikv: update ansible useradd command (#564)
Via: pingcap/docs-cn#834
1 parent 38156d0 commit 73a875d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

op-guide/ansible-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Make sure you have logged in to the Control Machine using the `root` user accoun
7272
1. Create the `tidb` user.
7373
7474
```
75-
# useradd tidb
75+
# useradd -m -d /home/tidb tidb
7676
```
7777
7878
2. Set a password for the `tidb` user account.

tikv/deploy-tikv-using-ansible.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Make sure you have logged in to the Control Machine using the `root` user accoun
5959
1. Create the `tidb` user.
6060
6161
```
62-
# useradd tidb
62+
# useradd -m -d /home/tidb tidb
6363
```
6464
6565
2. Set a password for the `tidb` user account.

0 commit comments

Comments
 (0)