Skip to content

Commit

Permalink
Move user gbraad to /var/home/gbraad
Browse files Browse the repository at this point in the history
  • Loading branch information
gbraad authored Jan 18, 2025
1 parent 2a1a406 commit f5b1c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/Containerfile-dotfiles
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM ghcr.io/gbraad-devenv/fedora/base:${BASE_VERSION}
LABEL org.opencontainers.image.source = "https://github.com/gbraad-devenv/fedora"

# Add user with the expected ID (automated setup does not work atm)
RUN useradd -l -u 1000 -G wheel -md /home/gbraad -s /usr/bin/zsh -p gbraad gbraad \
RUN useradd -l -u 1000 -G wheel -md /var/home/gbraad -s /usr/bin/zsh -p gbraad gbraad \
&& sed -i.bkp -e 's/%wheel\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%wheel ALL=NOPASSWD:ALL/g' /etc/sudoers

USER gbraad
Expand Down

0 comments on commit f5b1c34

Please sign in to comment.