addon-ssh icon indicating copy to clipboard operation
addon-ssh copied to clipboard

Specify /bin/zsh when creating a new user

Open dfries opened this issue 2 months ago • 1 comments

This way if not asking for zsh ssh/rootfs/etc/s6-overlay/s6-rc.d/init-user/run In the "# Set up Bash" section will update the user shell to bash as well as root.

Proposed Changes

I wasn't using this addon prior to the change from /bin/ash to /bin/sh, I'm assuming the new user would have been assigned zsh (and changed to bash if the config has zsh set to false). Maybe it is desired to keep using a fast starting sh since the default .profile is to change the user to root anyway. If that's the case disregard.

Related Issues

Change default shell from /bin/ash to /bin/sh #747

Summary by CodeRabbit

  • New Features
    • Default shell for newly created user accounts changed to Zsh for a more feature-rich command-line experience.

dfries avatar Jun 23 '24 01:06 dfries