lxc:permissions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lxc:permissions [2021/01/03 15:58] – peter | lxc:permissions [2021/01/03 16:18] (current) – [Configure Unprivileged Containers] peter | ||
---|---|---|---|
Line 38: | Line 38: | ||
**NOTE: | **NOTE: | ||
- | If not, you'll have to use **usermod** to give yourself one. | + | If not, you'll have to use **usermod** to give yourself one: |
+ | |||
+ | <code bash> | ||
+ | sudo usermod --append --groups lxd peter | ||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | <code bash> | ||
+ | sudo usermod -a -G lxd peter | ||
+ | </ | ||
+ | |||
+ | By adding the non-root Unix user account to the lxd group, allows that user to run any lxc commands without prepending sudo. | ||
</ | </ | ||
---- | ---- |
lxc/permissions.1609689498.txt.gz · Last modified: 2021/01/03 15:58 by peter