Jump to content

Recommended Posts

Posted

Replies by PM if you feel appropriate.

 

A long time ago, a student set up a couple of *nix boxes in our observatory. They were removed some years ago, and were lurking in a store. Now, it transpires that there just might be some astronomical images on them, but no one knows the password. He's long gone...

 

If they were windoze boxes, I'd just boot them into Ubuntu with a cd, and copy the images off. Windows, obviously, can't handle the disk file structure.

 

Can anyone offer a clue how to get into the disk? I've got external an adaptor to hang the disk on.

Posted (edited)

If you have physical access to the server, all security is out of the window.

 

Pause at the Grub loader (or Lilo)

Select the boot kernel and 'e' to edit the boot command line.

Add init=/bin/bash to the end of the line

Boot (press 'b')

Enter the command passwd to change root password.

 

That said, it's probably easier to connect it up to a network (or USB disk), pop in a modern Linux live CD (Ubuntu or Knoppix are good choices) and connect to your Windows network (or a USB disk) and copy whatever you want.

Edited by jinnantonnixx
Posted
It recognises the security on the disk.

 

Unless the student encrypted the disk (likelyhood = low) then it will just be that the unpriv'd user on the ubuntu live CD has a different uid from the one on-disk - if the disk mounts you should be able to read as root - "sudo -i" in a shell.

 

Otherwise, the previously mentioned trick by @jinnantonnix works

  • 2 weeks later...
Posted
If you have physical access to the server, all security is out of the window.

 

Pause at the Grub loader (or Lilo)

Select the boot kernel and 'e' to edit the boot command line.

Add init=/bin/bash to the end of the line

Boot (press 'b')

Enter the command passwd to change root password.

 

 

i think this mounts it readonly?? i think i had to remount the disk read-write before you could reset the root passwd ?

Posted
If you have physical access to the server, all security is out of the window.

 

Unless Grub is password protected and the bios is locked - or the volume is encrypted.

Posted
Unless Grub is password protected and the bios is locked - or the volume is encrypted.

 

Even then, when physical access includes a screwdriver, only the latter provides protection, and even that is susceptible to evil-maid, and in some cases memory dump key recovery attacks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...