1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 22:15:42 +02:00

Changed file path tokens and batch mode description.

This commit is contained in:
fuerbringer 2016-11-13 13:17:34 +01:00 committed by Agniva De Sarker
parent fc981c2116
commit 4f0a7b9a48

View file

@ -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}}`