Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 08:28:56 -0700 (PDT)
From:      worldly BSD <worldlybsd@yahoo.com>
To:        Christoph Sold <so@server.i-clue.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: unable to login after changing shell as root
Message-ID:  <20000627152856.23632.qmail@web5305.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Christopher,

your example assumes that i made another user account.
yes, i know that i should have done that BEFORE i
started mucking around but i did not. i tried stopping
the bootup process and signing into single user mode
but i'm afraid i was unable to do anything ???


--- Christoph Sold <so@server.i-clue.de> wrote:
> 
> 
> worldly BSD wrote:
> > 
> >  while reading the handbook i decided to change my
> > shell by following the example
> > 
> > " % chsh -s /usr/local/bin/bash"
> > 
> > i was root at the time and everything seemed to go
> ok
> > but now i can not login because of the following
> error
> > 
> > "/usr/local/bin/bash:  no such file or directory "
> > 
> > any suggestion ?
> 
> % su
> Password: 
> # chsh -s /bin/sh
> # cd /usr/ports/shells/bash
> # make all install clean
> [snip]
> # ^D
> % su -
> bash-2.0# 
> 
> Alternatively, use the toor account to change roots'
> shell back to
> /bin/sh.
> 
> First check if the shell you wish to use is
> installed in your system.
> 
> HTH
> -Christoph Sold


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000627152856.23632.qmail>