i cannot login as root

Malcolm Kay malcolm.kay at internode.on.net
Thu Jun 17 06:41:03 UTC 2010

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!


> 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,

More information about the freebsd-questions mailing list