* Backend daemon drops privileges after initialization (to not run as root)
* New config option `CLICON_USER` with default value `clicon` * Can also be set with `-U <user>` clixon_backend command-line option
This commit is contained in:
parent
3806f7652e
commit
3d5abb77f9
60 changed files with 238 additions and 93 deletions
|
|
@ -90,8 +90,8 @@ RUN apk add --update nginx
|
|||
# Expose nginx port for restconf
|
||||
EXPOSE 80
|
||||
|
||||
# Create clicon group
|
||||
RUN addgroup clicon
|
||||
# Create clicon user and group
|
||||
RUN adduser -D -H clicon
|
||||
RUN adduser nginx clicon
|
||||
RUN adduser www-data clicon
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue