NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: I finally bricked my NetBSD system



If you actually bricked your root account: boot single user and chsh to /bin/sh or /bin/csh.

I always keep /bin/sh as my root shell and do

if [ -x /usr/pkg/bin/tcsh ]; then
        exec /usr/pkg/bin/tcsh
fi

in /root/.profile. I know why, and now you do too...

On Thu, Jul 16, 2020 at 10:16 PM Bob Bernstein <poobah%ruptured-duck.com@localhost> wrote:
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?

Thank you

--
  A test of right and wrong must be the means, one would
  think, of ascertaining what is right or wrong, and not a
  consequence of having already ascertained it.

                                   J. S. Mill


--
Joern Clausen
https://www.oe-files.de/photography/


Home | Main Index | Thread Index | Old Index