Date: Thu, 17 Jun 2010 16:10:59 +0930 From: Malcolm Kay <malcolm.kay@internode.on.net> To: freebsd-questions@freebsd.org Cc: Glen Barber <glen.j.barber@gmail.com> Subject: Re: i cannot login as root Message-ID: <201006171610.59232.malcolm.kay@internode.on.net> In-Reply-To: <4C17715C.3050900@gmail.com> References: <AANLkTilCBjAiOJjS04On-vssK3erOVELjo5x1DGhvQUg@mail.gmail.com> <4C17715C.3050900@gmail.com>
index | next in thread | previous in thread | raw e-mail
On Tue, 15 Jun 2010 09:56 pm, Glen Barber wrote: > Hi, > > On 6/15/10 7:15 AM, Giorgos Tsiapaliokas wrote: > > hello, > > > > my system has 2 users the user "terietor" and the root user. > > > > after a failed upgrade of my system with portmaster,i can't > > login as root but i can login as terietor. > > root was using the csh shell and terietor was using the bash > > shell. > > Are you sure you don't have this backwards? > > portmaster should not touch /bin/csh, since it is not a port - Are you sure about this. On my release 8.0 system I find 'portmaster' in the ports but not in the base system! Malcolm > it is part of the base system. However, if root's shell is > set to bash and portmaster blew up upgrading that port, this > would prevent you from logging in as root, and is a good > example of why not to change root's default shell to something > not in the base install. > > If this is the case, and you have physical access to the > machine, drop into single-user mode and use chsh(1) to reset > root's shell to /bin/csh. > > Regards,help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006171610.59232.malcolm.kay>
