NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: I finally bricked my NetBSD system
Bob Bernstein <poobah%ruptured-duck.com@localhost> writes:
> There's a long back-story to this event, but it's not important.
>
> Suffice to say that I removed all the packages from my system,
> including the shell I like at /usr/pkg/bin/tcsh, and now all my
> attempts to login are rejected because the shell cannot be found.
>
> Is there a work-around?
1) remember the root password and log in as root on the console. If you
changed the root shell away from /bin/sh, see step 2 but do not change
it ever again.
2) boot single user, by hitting space during the countdown and "boot
-s". hit return for sh. Once there, type "fsck -p" to fix any issues.
Then "mount -a". Then put back the shell with pkg_add, or use vipw to
change your shell back to /bin/sh.
Home |
Main Index |
Thread Index |
Old Index