If you are able to login without a password most likely root password isn't enforced for all runlevels. Specifically runlevel 1. It isn't super secure to leave it open, but a lot of organizations leave it open for runlevel 1 because there is no network access , no GUI and only a single user may log into box. This provides admins a back door for getting into a box incase they cannot remember password.
As for PAM error, most likely pam is being used to authenticate and it doesn't have a login shell set.
All chsh does is it will change login shell - It would be similar to using usermod
to change to bash shell use:
Code:
chsh -s /bin/bash root
If you want to see path or shells available use:
Finally to get back to a gui you need to switch run levels try:
If there is more wrong then it might generate some errors if so just post them.