Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 22:57:28 -0500 (CDT)
From:      James Wyatt <jwyatt@rwsystems.net>
To:        jahanur <jahanur@jjsoft.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: root access problem please help.
Message-ID:  <Pine.BSF.4.10.9910252255560.2323-100000@bsdie.rwsystems.net>
In-Reply-To: <Pine.BSF.3.96.991025183709.957B-100000@ns2.jjsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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