Login loop after chsh to st
I installed st and added it to my shells file, then executed chsh to make it the default shell. After logging out to apply changes since echo $0 still gave bash, I was put into a login loop. Changing ttys does the same thing and root as well as my user profile experience the same loop. After poking around forums and the wiki for 45 minutes I found someone that chrooted into the drive from a live iso and edited boot, but of course he didn't say what was broken. So I'm not sure exactly what I should be looking for if that's the only option other than completely reinstalling. Any advice would be greatly appreciated. Thanks in advance (:
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- fp2ftc
7 comments
The only st I know of is the suckless simple terminal. Is that what you're talking about? If so, it's a terminal, not a shell so that's likely the problem. Otherwise I'm not sure what you're talking about. Do you have a link to the package?
Yeah that's right.
Deleted before we saved it.
Like /u/aeryxium said,
stis a terminal emulator, not a shell. That accounts for the problems you're experiencing.I'm not sure if I understood correctly, but can you login in from the tty as root? If you can, you could try to change your user's login shell with
usermod, as inusermod -s /bin/bash yourusername. You also need to removestfrom/etc/shells.If you can't do that, you can launch single-user mode from the grub menu when you reboot: see here
It worked! You, my friend, are a true gentleman and a scholar. Thanks so much!
My pleasure, glad to hear it all worked out for you.
st is not a shell... it's a terminal emulator. don't use it as a shell. there's a reason it's not in the shells file...