fix: set app user shell to /bin/bash so VSCode terminals work #9
Reference in New Issue
Block a user
Delete Branch "fix/app-user-shell"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
baseimage-guicreates theappuser (UID 1000) at container runtime withshell=/sbin/nologinandhome=/dev/null. VSCode sees this in/etc/passwdand tries to spawn/sbin/nologinas the terminal, giving:Adds
scripts/cont-init-user.shcopied to/etc/cont-init.d/20-fix-user-shell.sh. This runs as root after baseimage-gui's10-adduser.shstep and sets:/bin/bash/home/userTest plan
happy auth loginshould now work from the VSCode terminal🤖 Generated with Claude Code
via Happy