[Ilugc] commands are not working

  • From: kapil@xxxxxxxxxxx (Kapil Hari Paranjape)
  • Date: Thu Aug 28 17:27:14 2008

Hello,\

On Thu, 28 Aug 2008, Zico wrote:

I can login as root remotely, but no command is working there... as for
example: ls, yum,su or so on.

One thing you can do is the following.

Get "sash" (standalone shell) or "busybox" (another standalone
program) on your local machine. These programs are standalone
and do not depend on any libraries etc.

Use scp to push it to the remote machine like
        scp /path/to/busybox remote:/root/busybox

Now you can login to the remote machine and run busybox
        ssh remote /root/busybox

You should then be able to use the built-in commands in busybox to
diagnose the problem.

Regards,

Kapil.
--

Other related posts: