Skip to content

Commit

Permalink
Update server-config.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0golovatyi committed Jan 30, 2020
1 parent a2d2ab2 commit 98d3ad7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/server-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,31 +211,31 @@ Passwords in the password file are hashed with PBKDF2.
with hosting OS mechanisms. Ideally the file should only be accessible
for reading with the account under which TabPy runs and TabPy admin account.**

There is a `tabpy-user` command provided with `tabpy` package to
operate with accounts in the password file. Run `tabpy-user -h`
to see how to use it.
There is a `tabpy-user-management` command provided with `tabpy`
package to operate with accounts in the password file. Run
`tabpy-user-management -h` to see how to use it.

After making any changes to the password file, TabPy needs to be restarted.

### Adding an Account

To add an account run `tabpy-user add`
To add an account run `tabpy-user-management add`
command providing user name, password (optional) and password file:

```sh
tabpy-user add -u <username> -p <password> -f <pwdfile>
tabpy-user-management add -u <username> -p <password> -f <pwdfile>
```

If the (recommended) `-p` argument is not provided a password for the user name
will be generated and displayed in the command line.

### Updating an Account

To update the password for an account run `tabpy-user update`
To update the password for an account run `tabpy-user-management update`
command:

```sh
tabpy-user update -u <username> -p <password> -f <pwdfile>
tabpy-user-management update -u <username> -p <password> -f <pwdfile>
```

If the (recommended) `-p` agrument is not provided a password for the user name
Expand Down

0 comments on commit 98d3ad7

Please sign in to comment.