From 4f0a7b9a489acee97b1ec4c8b9f10957c8a045ae Mon Sep 17 00:00:00 2001 From: fuerbringer Date: Sun, 13 Nov 2016 13:17:34 +0100 Subject: [PATCH] Changed file path tokens and batch mode description. --- pages/common/htpasswd.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/htpasswd.md b/pages/common/htpasswd.md index c30ade481..dec67721d 100644 --- a/pages/common/htpasswd.md +++ b/pages/common/htpasswd.md @@ -4,20 +4,20 @@ - Create/overwrite htpasswd file: -`htpasswd -c {{file_path}} {{user_name}}` +`htpasswd -c {{path/to/file}} {{user_name}}` - Add user to htpasswd file or update existing user: -`htpasswd {{file_path}} {{user_name}}` +`htpasswd {{path/to/file}} {{user_name}}` -- Add user to htpasswd file without password verification (for script usage): +- Add user to htpasswd file in batch mode without password verification (for script usage): -`htpasswd -b {{file_path}} {{user_name}} {{password}}` +`htpasswd -b {{path/to/file}} {{user_name}} {{password}}` - Delete user from htpasswd file: -`htpasswd -D {{file_path}} {{user_name}}` +`htpasswd -D {{path/to/file}} {{user_name}}` - Verify user password: -`htpasswd -v {{file_path}} {{user_name}}` +`htpasswd -v {{path/to/file}} {{user_name}}`