shell not present

Ian MacDonald ian at macware.net
Thu Jul 27 20:27:08 BST 2000


Sorry. Should ahve read the later postings first.

Ian.

-----Original Message-----
From: freebsd-users-admin at uk.freebsd.org
[mailto:freebsd-users-admin at uk.freebsd.org]On Behalf Of Ian MacDonald
Sent: 27 July 2000 20:25
To: 'Roger Hardiman'; 'fasi74'
Cc: freebsd-users at uk.freebsd.org
Subject: RE: shell not present


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.

Ian.

-----Original Message-----
From: freebsd-users-admin at uk.freebsd.org
[mailto:freebsd-users-admin at uk.freebsd.org]On Behalf Of Roger Hardiman
Sent: 27 July 2000 15:14
To: fasi74
Cc: freebsd-users at uk.freebsd.org
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.

Roger

------ FreeBSD UK Users' Group  -  Mailing List ------
http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users



------ FreeBSD UK Users' Group  -  Mailing List ------
http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users






More information about the Ukfreebsd mailing list