Skip to content

Commit

Permalink
Added HISTCONTROL hint.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuntz committed Nov 16, 2016
1 parent 5d05ab5 commit 9945579
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ Block a client:
$ unicli --host mycontroller --port 8443 --no-verify --user ubnt --site default block 01:23:45:67:89:ab
```

Note: the password can also be passed as an environment variable:
Hint: the password can also be accepted from an environment variable. To prevent the password from being stored in your history file, set the `HISTCONTROL` environment variable to *ignorespace* and prefix the export statement a blank space when setting the password:

```shell
$ export PASSWORD=foo
$ export HISTCONTROL=ignorespace
$ export PASSWORD=foo
```

0 comments on commit 9945579

Please sign in to comment.