Date: Tue, 26 Oct 1999 08:50:12 +0000 (GMT) From: Phillip Salzman <phill@freebsd.org> To: jahanur <jahanur@jjsoft.com> Cc: freebsd-isp@freebsd.org Subject: Re: root access problem please help. Message-ID: <Pine.BSF.4.05.9910260849070.21305-100000@dumbo.familyinet.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
"man su" Use the su -m command. It will allow you to keep your current shell while acting as root. After you have done that, move the roots shell to csh or sh -- with vipw. -- Phillip Salzman phill@freebsd.org 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 > > > > > 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.9910260849070.21305-100000>
