mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2026-07-17 16:37:15 +00:00
QA-360 removed unneeded usermod
This commit is contained in:
parent
bdb51317b2
commit
87d3e58449
1 changed files with 2 additions and 3 deletions
|
|
@ -148,9 +148,8 @@ WORKDIR $HOME
|
|||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||
|
||||
### Create user exclusively for session recording purposes
|
||||
RUN (groupadd -g 1001 kasm-recorder \
|
||||
&& useradd -M -u 1001 -g 1001 kasm-recorder \
|
||||
&& usermod -a -G kasm-recorder) ; exit 0
|
||||
RUN groupadd -g 1001 kasm-recorder \
|
||||
&& useradd -M -u 1001 -g 1001 kasm-recorder
|
||||
|
||||
### FIX PERMISSIONS ## Objective is to change the owner of non-home paths to root, remove write permissions, and set execute where required
|
||||
# these files are created on container first exec, by the default user, so we have to create them since default will not have write perm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue