Skip to content

Commit

Permalink
Specify /bin/zsh when creating a new user (hassio-addons#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfries authored Jul 9, 2024
1 parent aa3202e commit 7fd5170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh/rootfs/etc/s6-overlay/s6-rc.d/init-ssh/run
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ username=$(bashio::string.lower "${username}")
if [[ "${username}" != "root" ]]; then

# Create an user account
adduser -D "${username}" -s "/bin/sh" \
adduser -D "${username}" -s "/bin/zsh" \
|| bashio::exit.nok 'Failed creating the user account'

# Add new user to the wheel group
Expand Down

0 comments on commit 7fd5170

Please sign in to comment.