Subject: Dumb error locking me out of root
To: None <port-mac68k@NetBSD.org>
From: Tim McNamara <timmcn@bitstream.net>
List: port-mac68k
Date: 02/03/2004 19:06:39
I managed to screw up root already, doing
chsh -s usr/pkg/bin/bash root
which of course doesn't exist (no leading "/"). When I log in to root
or su to root, I am immediately sent back to "login:" or back to my
user prompt since root doesn't have a valid shell.
Do I have to reboot in single user mode to fix this, or is there a way
to correct this within NetBSD as it is currently running?