Jack Barnett <jbarnett@axil.netmate.com> wrote:
I changed my shell in /etc/passwd, which I type the path to it wrong, now when I try and log in, it gives me an error saying I don't have a valid shell and then disconnects the sesssion. The problem is, well the machine is in a remote area, and I don't have physically access to it. I tried rlogin in which doesn't work either. Any ideas?
This probably won't help you, but I think I know what is wrong. During the login procedure, a list of valid shells is checked. I think the file is /etc/shells. This file contains lines like the following: /bin/sh /bin/bash If the shell listed in /etc/passwd is not in this file, login will fail. Since you put your new bash in /usr/local/bin, I think you forgot to put this new location into /etc/shells. However, if you cannot get a login on the comp, this info is not of much help to you. At least now you know it for the next time you change a shell. Regards Ole -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/