[ale] Rebooting remotely without a usable /

Matt Rideout mrideout at windserve.com
Mon Sep 21 11:36:26 EDT 2009


Michael B. Trausch wrote, On 09/21/2009 10:41 AM:
> On Mon, 2009-09-21 at 09:46 -0400, Matt Rideout wrote:
>
>   
>> Good thinking! It's running 64-bit Intel Xeon MP 3.66GHz CPUs. Nothing 
>> located on the disk that isn't already loaded into RAM is usable, so 
>> compiling on the box isn't an option. I wouldn't be able to scp a binary 
>> over, or execute the commands to mount a memory filesystem in the 
>> traditional sense either, since those would access files on the drive. 
>> Would there be anyway to make that syscall purely from memory?
>>     
>
> OH!
>
> Do you use devfs, udev, or /dev/shm?  You can store files there and
> execute them!
>
> 	--- Mike
>   
Just in case someone runs across this in the archives, the solution in a 
nutshell was to compile a static binary, upload it to /dev, then execute it.


More information about the Ale mailing list