Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix usage in Run pouch command with non-root users #2344

Merged
merged 1 commit into from
Oct 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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