diff --git a/docs/manage-users-zh.md b/docs/manage-users-zh.md index 2eff5ec..92797ea 100644 --- a/docs/manage-users-zh.md +++ b/docs/manage-users-zh.md @@ -53,8 +53,12 @@ service xl2tpd restart ```bash # 下载脚本 wget -O add_vpn_user.sh https://bit.ly/addvpnuser +# 运行脚本并按提示操作 +sudo bash add_vpn_user.sh ``` +另外,你也可以在添加参数的情况下运行脚本: + ```bash # 所有变量值必须用 '单引号' 括起来 # *不要* 在值中使用这些字符: \ " ' @@ -70,8 +74,12 @@ sudo bash add_vpn_user.sh '要更新的用户名' '新密码' ```bash # 下载脚本 wget -O del_vpn_user.sh https://bit.ly/delvpnuser +# 运行脚本并按提示操作 +sudo bash del_vpn_user.sh ``` +另外,你也可以在添加参数的情况下运行脚本: + ```bash # 所有变量值必须用 '单引号' 括起来 # *不要* 在值中使用这些字符: \ " ' diff --git a/docs/manage-users.md b/docs/manage-users.md index 8d66b58..967889e 100644 --- a/docs/manage-users.md +++ b/docs/manage-users.md @@ -53,8 +53,12 @@ Add a new VPN user, or update an existing VPN user with a new password. ```bash # Download the script wget -O add_vpn_user.sh https://bit.ly/addvpnuser +# Run the script and follow the prompts +sudo bash add_vpn_user.sh ``` +Alternatively, you can run the script with arguments: + ```bash # All values MUST be placed inside 'single quotes' # DO NOT use these special characters within values: \ " ' @@ -70,8 +74,12 @@ Delete the specified VPN user. ```bash # Download the script wget -O del_vpn_user.sh https://bit.ly/delvpnuser +# Run the script and follow the prompts +sudo bash del_vpn_user.sh ``` +Alternatively, you can run the script with arguments: + ```bash # All values MUST be placed inside 'single quotes' # DO NOT use these special characters within values: \ " '