fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.08k stars 111 forks source link

Login shell doesn't follow /etc/passwd, & can't change shell. #226

Closed DiagonalArg closed 5 years ago

DiagonalArg commented 5 years ago

My shell is set to bash in /etc/passwd, but when I run "junest" or "junest -f', I get /etc/sh instead. chsh and usermod do nothing.

fsquillace commented 5 years ago

junest defaults to /usr/bin/sh. You can explictly call the shell if that helps: junest -- bash.

DiagonalArg commented 5 years ago

Yes, I see that. Wouldn't it be sensible for junest to follow /etc/passwd, though?

Take that as a feature request, if you like.

fsquillace commented 5 years ago

The shell specified in /etc/passwd does not necessarily exist within JuNest.

DiagonalArg commented 5 years ago

Ah, I see. Ok, thanks.