Skip to content

Commit

Permalink
docs: fix usage in Run pouch command with non-root users
Browse files Browse the repository at this point in the history
Signed-off-by: flyer103 <[email protected]>
  • Loading branch information
flyer103 authored and fuweid committed Oct 23, 2018
1 parent fb0d5e3 commit b9787dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,21 +135,21 @@ To enable users other than root can run pouch command directly without `sudo`, p
If you want the unix socket to be owned by pouch group, make sure it exists or you need to create it.

```bash
groupadd pouch
sudo groupadd pouch
```

**2. start pouchd**

```bash
service pouch restart
sudo service pouch restart
```

**3. add user to group**

Add user who wants to have access to the pouch group.

```bash
gpasswd -a $user pouch
sudo gpasswd -a $USER pouch
```

Remind that you should relogin to make /etc/group take effect, check it by typing groups to see if your shell gets pouch group.
Expand Down

0 comments on commit b9787dd

Please sign in to comment.