Score:3

Change Alpine Linux default shell

ve flag

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.

Score:0
it flag

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
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.