Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2010 14:53:02 +0200
From:      Bas Smeelen <b.smeelen@ose.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: i cannot login as root
Message-ID:  <4C1777AE.9070607@ose.nl>
In-Reply-To: <AANLkTimHzl0Mk8Gn4Gg0Y826u0XJFY0JCybinyFqoKGl@mail.gmail.com>
References:  <AANLkTimHzl0Mk8Gn4Gg0Y826u0XJFY0JCybinyFqoKGl@mail.gmail.com>

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

On 06/15/2010 02:29 PM, Giorgos Tsiapaliokas wrote:
> my root acc is using csh.
>
> i tried via singel user mode to change it but it said that it is a read-only
> enviroment.:(
>
>   
Did you try mount -o rw / to remount your / (root) partition read write?
If you where using portmaster to update/upgrade your ports this should
not affect root's csh or csh at all, though.

Also when you have remounted your / partition read write in single user
mode you can use vipw to make sure root's shell is /bin/csh or change
this if it's not the case.

What error do you get, when you try to login as root in multi user mode?

A websearch on recover freebsd root password might help also

Good luck.


DISCLAIMER:
This e-mail is for the intended recipient(s) only.
Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited.
If you have received it by mistake please let us know by reply and then delete it from your system.



help

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