Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 08:37:38 +0200
From:      Christoph Sold <so@server.i-clue.de>
To:        worldly BSD <worldlybsd@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: unable to login after changing shell as root
Message-ID:  <39584BB2.FC31074C@i-clue.de>
References:  <20000626233052.19651.qmail@web5301.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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


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?39584BB2.FC31074C>