shell not present

Ian MacDonald ian at
Thu Jul 27 20:24:45 BST 2000

Doesn't a boot -s bring it up into single user mode without needing the root
passwd. Once there moutn the / fs rw if it is ro and edit (using vipw) the
passwd file.


-----Original Message-----
From: freebsd-users-admin at
[mailto:freebsd-users-admin at]On Behalf Of Roger Hardiman
Sent: 27 July 2000 15:14
To: fasi74
Cc: freebsd-users at
Subject: Re: shell not present

fasi74 wrote:
> i recently gave a command to change my default shell
> which was not present there now the system wont let me login
> when i give user id & password it says
> /usr/..../bin/bash not found 7 returns me to login prompt ????
> what should i do ?

I assume you have changed the shell for user "root".
And that you do not have any other user accounts which
you can log in with (and SU to root)

There are two options here

The best option is to boot from the boot floppies or
from the CD-ROM and run the Fix-It/Repair mode.
You can then access your hard disk and change the shell
back to one you have.


------ FreeBSD UK Users' Group  -  Mailing List ------

More information about the Ukfreebsd mailing list