Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 09:18:26 -0400 (EDT)
From:      Steve Hovey <shovey@buffnet.net>
To:        James Wyatt <jwyatt@rwsystems.net>
Cc:        jahanur <jahanur@jjsoft.com>, freebsd-isp@FreeBSD.ORG
Subject:   Re: root access problem please help.
Message-ID:  <Pine.BSF.4.05.9910260904370.9101-100000@buffnet11.buffnet.net>
In-Reply-To: <Pine.BSF.4.10.9910252255560.2323-100000@bsdie.rwsystems.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Why not boot stand alone (with -s) and when it says enter shell or press
enter enter /bin/sh and then enter

On Mon, 25 Oct 1999, James Wyatt wrote:

> On Mon, 25 Oct 1999, jahanur wrote:
> > HI, everybody,
> > I have got a major problem. 
> > Whenever I try to login as root it says "su: /bin/bash: No such file or
> > directory".
> > After a lot investgation I found out that the other administrator was
> > trying to change shell for some user. He is not shure what he did, but he
> > ran the "chsh" command while he was root and probably changed the shell
> > for the root.
> > 
> > I have tried copying the "bash" in /bin directory by using "su root -c "cp
> > bash /bin" from /usr/local/bin/ directory.
> > I dont know what else I could do.
> > Please help.
> > 
> > Jahanur
> 
> If I understand, can't you just do something like:
> 
> 	su root -c "chsh"
> 
> It's times like this I appreciate sudo... - Jy@
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9910260904370.9101-100000>