Date: Wed, 26 Sep 2012 19:06:18 -0600 From: Gary Aitken <freebsd@dreamchaser.org> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: bad root shell in /etc/passwd Message-ID: <5063A68A.8090107@dreamchaser.org>
next in thread | raw e-mail | index | archive | help
I mistakenly changed the root shell to something which doesn't exist. Was trying to make it bash and used /bin/bash instead of /usr/local/bin/bash. As a consequence, all login attempts fail because the shell can't be found. Unfortunatley, I shut down the session in which I modified /etc/passwd and I don't have a root shell running anywhere, so I can't fix it. I'm concerned that booting single user will have the same problem. Or will it fall back to /bin/sh? guidance?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5063A68A.8090107>