feat: remove viewer user
This commit is contained in:
@ -15,12 +15,9 @@ buildah run "$ctr" -- bash -c "\
|
||||
pacman -Sy --noconfirm && pacman -S --noconfirm --needed base-devel neovim git zsh tmux \
|
||||
nodejs python podman fzf fd ripgrep jdk-openjdk zsh-completions zsh-syntax-highlighting \
|
||||
lazygit zsh-autosuggestions luarocks python-pynvim npm bash-completion tree-sitter-cli \
|
||||
pkgconf lua51 && pacman -Scc --noconfirm && \
|
||||
groupadd secproc && useradd -ms /bin/zsh -G secproc $DEV_USER && \
|
||||
useradd --system --no-create-home -s /usr/sbin/nologin -G $DEV_USER viewer && \
|
||||
lua51 && pacman -Scc --noconfirm && useradd -ms /bin/zsh $DEV_USER && \
|
||||
mkdir -p /tmp/tmux-shared && chown $DEV_USER:$DEV_USER /tmp/tmux-shared && \
|
||||
chmod 750 /tmp/tmux-shared && \
|
||||
mkdir -p $SECURE && chmod -R 500 $SECURE && \
|
||||
chmod 750 /tmp/tmux-shared && mkdir -p $SECURE && chmod -R 500 $SECURE && \
|
||||
mkdir /app && chmod 700 /app && chown $DEV_USER:$DEV_USER /app
|
||||
"
|
||||
# copy start script
|
||||
|
Reference in New Issue
Block a user