5

Alpine defaults to ash as the login shell, I want to change it to bash.

What I did so far:

  • installed bash by sudo apk add bash
  • installed shadow by sudo apk add shadow
  • I changed my user's login shell to /bin/bash with chsh
  • checked that /etc/passwd contains /bin/bash as default login shell for my user

but that seems to be ignored. When I login (on console or ssh) I always end up in the ash shell.

1

1 Answer 1

0

How do you login? I just had a similar problem which appeared to have a different origin, but checked by docker exec with root user and then doing su myuser and the shell is bash:

8a0deef473ac:/var/www$ echo $0
bash

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .