yesterday i did the update,rebooted and all was fine.
today i type my password as usual and it fails.
i checked in tty,and the right characters a being typed.
what should i do?
i booted a live cd,used chroot to change the password,but i still get an error at log-in.
Just out of curiosity could you log in to tty as root and check
/etc/shells file and see if the shell that you are using as regular user is listed ??
If not write the path of the shell that you are using and reboot. It should fix the problem.
I had that kind of problem once…
Yesyerday i messed with the shell and shell.pacnew files,so it must be it.
that was it.
instead of zsh, only sh was written there.
it’s weird since i only copy pasted the entire thing from the pacnew file. so maybe it was erroneous there.
Thank you very much.
Yes, there was update and some shells were missing, also add bash if its not there.
this is what i have in my “shells” file right now:
# Pathnames of valid login shells.
# See shells(5) for details.
It looks good.
/bin/zsh , I have
/bin/sh, but its not installed on my system. So I guess its not necessary, but I don’t touch it.
I was also missing
/bin/zsh when I had the problem.
/bin/sh is a symbolic link to
[aragorn] > ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Sep 3 19:22 /bin/sh -> bash
bash is called as
sh, it will behave as a traditional Bourne shell, without all of the extended functionality that
bash offers over the old
Ditto. But I didn’t have any problem with it, because I’m still using
bash as my default shell.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.