I just made a bit of a mistake:
- Fresh install of FreeBSD 8.2
- logged in as root
- installed bash from ports
- created users, setting bash as shell
vipw(edit passwd file)
- changed root's shell from
- logged out
- log in as root
As you probably guessed, bash shell is not placed in /bin :( Pretty dumb mistake!
Now I can't login as root.
I can login as my wheel user, but can't
Tried the following without luck:
- Reboot to single user,
- Login as wheel user,
So how do i change the root shell back to
I could just re-install - but i'd rather learn some new stuff!