Search found 3 matches

by wmorrison
Sat Apr 01, 2023 2:38 pm
Forum: Installation Help
Topic: Can't login root after changing shell to bash?
Replies: 3
Views: 311

Re: Can't login root after changing shell to bash?

FWIW, every *NIX/BSD system I have ever used, I had to provide the full path for the shell using useradd/usermod. I don't think I've ever actually changed a user's default shell. For most distros it's bash or some shell that supports auto-complete. But I understand defaulting to something more mini...
by wmorrison
Mon Mar 27, 2023 10:07 pm
Forum: Installation Help
Topic: Can't login root after changing shell to bash?
Replies: 3
Views: 311

Re: Can't login root after changing shell to bash?

I edited /etc/passwd. The shell for root didn't have a full path. I added it (/usr/bin/bash) rebooted and now can log in. Been using linux ~20 years (mostly full-time 2 years) but I guess you learn something new every day. Never had a problem where it told me "login incorrect" when the pro...
by wmorrison
Mon Mar 27, 2023 7:17 pm
Forum: Installation Help
Topic: Can't login root after changing shell to bash?
Replies: 3
Views: 311

Can't login root after changing shell to bash?

Fresh install of Void Linux in a VM. Just the base (installed from net not iso, can't remember the wording now.) void-live-x86_64-musl-20221001-base.iso Did not create a user as I'm evaluating for a system where no users log in. (Mentioning that in case there's some quirk that requires a non-root us...