Subject: changing root shell hell
To: None <netbsd-help@NetBSD.org>
From: Nicholas Jackson <nicholasj@ncafe.com>
List: netbsd-help
Date: 12/26/2003 19:13:05
I'm a NetBSD newbie and it appears that I've made a very stupid 
mistake. I accidentally changed root's shell to an invalid shell using 
chpass and now I'm unable to su to root.

I have the correct password and the system accepts it, however, when I 
attempt to su to root, I am immediately dropped back into the unpriv. 
user's shell with an 'invalid shell'. The log does show a momentary su 
to root, though..

Is there something I can do? I'd hate to lose the work I've put into 
this install..

Thank you!

Nicholas