Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkst-az committed Oct 14, 2024
1 parent b199b74 commit 8c2fe06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ user and group ID (default is `opencanary/nogroup`).
If this behaviour is not desired, one can use the `--allow-run-as-root` flag, e.g.,

```
$ opencanaryd start --allow-run-as-root
$ opencanaryd --start --allow-run-as-root
```

Creating the `opencanary` user and giving necessary privileges, run `./bin/opencanaryd --createuser`. To drop to a
custom user or group, simply use the `--uid` and `--gid` options respectively:

```
$ opencanaryd start --uid username --gid groupname
$ opencanaryd --start --uid username --gid groupname
```

By default, the `uid:gid` is `opencanary:nogroup`.
Expand Down

0 comments on commit 8c2fe06

Please sign in to comment.