multiple pages: change user_name to username (#3841)
This commit is contained in:

committed by
GitHub

parent
2c9b7c9f5c
commit
26e019b295
@@ -5,24 +5,24 @@
|
||||
|
||||
- Create/overwrite htpasswd file:
|
||||
|
||||
`htpasswd -c {{path/to/file}} {{user_name}}`
|
||||
`htpasswd -c {{path/to/file}} {{username}}`
|
||||
|
||||
- Add user to htpasswd file or update existing user:
|
||||
|
||||
`htpasswd {{path/to/file}} {{user_name}}`
|
||||
`htpasswd {{path/to/file}} {{username}}`
|
||||
|
||||
- Add user to htpasswd file in batch mode without an interactive password prompt (for script usage):
|
||||
|
||||
`htpasswd -b {{path/to/file}} {{user_name}} {{password}}`
|
||||
`htpasswd -b {{path/to/file}} {{username}} {{password}}`
|
||||
|
||||
- Delete user from htpasswd file:
|
||||
|
||||
`htpasswd -D {{path/to/file}} {{user_name}}`
|
||||
`htpasswd -D {{path/to/file}} {{username}}`
|
||||
|
||||
- Verify user password:
|
||||
|
||||
`htpasswd -v {{path/to/file}} {{user_name}}`
|
||||
`htpasswd -v {{path/to/file}} {{username}}`
|
||||
|
||||
- Display a string with username (plain text) and password (md5):
|
||||
|
||||
`htpasswd -nbm {{user_name}} {{password}}`
|
||||
`htpasswd -nbm {{username}} {{password}}`
|
||||
|
Reference in New Issue
Block a user