Dumping to a remote host by makedumpfile.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Neil,

2007/01/10 09:31:29 -0500, Neil Horman <nhorman at redhat.com> wrote:
>This all seems great to me, although at this point it needs to wait until
>RHEL5.1 for us to integrate it.  Not that it changes much,  but I would recommend
>that you make the initramfs command look like this
>makedumpfile -S -cd31 -i /tmp/makedumpfile.config /proc/vmcore | ssh user at remote "cat | makedumpfile -R dumpfile"
>That way no temporary file is ever seen by anyone, and the resultant file stored on the target is in an
>appropriate format.

My idea is the same as yours. 
But there is one problem. On RHEL5.0-beta2, a normal user (no root)
cannot run makedumpfile directly due to no path of /sbin/makedumpfile.
It is not secure to require a root login of a remote host to transport
a dumpfile. It is necessary to change makedumpfile directory, or run
/sbin/makedumpfile on a remote host:

# makedumpfile -S -cd31 -i /tmp/makedumpfile.config /proc/vmcore | ssh user at remote "/sbin/makedumpfile -R dumpfile"

Thanks
Ken'ichi Ohmichi


[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux