OVH Community, your new community space.

Cambio de contraseña root


jjssman
21/07/2013, 19:02
Muchas gracias, me sirvió! =)

gomhermar
19/07/2013, 23:02
Tienes que cargar las particiones que se refieren al raid md1 y md2

mkdir /mnt
mkdir/mnt2

mount /dev/md1 /mnt
mount /dev/md2 /mnt2

Asi ya podrás acceder a tus ficheros, quizas te interese montar las particiones de forma diferente dependiendo de como tengas particionado.

Un saludo

jjssman
19/07/2013, 18:43
Buenas tardes, la contraseña root y ftp de mi servidor dedicado han sido cambiadas misteriosamente y me es imposible acceder a él.
Por ello he intentado seguir varias guías para cambiarla, sin obtener resultados.
Éstos son los pasos que he seguido:
1- A través del manager, he reiniciado el servidor con el Netboot en modo rescue-pro.
2- Usando la contraseña que he recibido en mi email he accedido al servidor mediante ssh.
3- Tras hacer
Código:
fdisk -l
he obtenido:
Código:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0000f2cd

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        4096    20975615    10485760   fd  Linux raid autodetect
/dev/sda2        20975616  1952468991   965746688   fd  Linux raid autodetect
/dev/sda3      1952468992  1953519615      525312   82  Linux swap / Solaris

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000e6aa1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        4096    20975615    10485760   fd  Linux raid autodetect
/dev/sdb2        20975616  1952468991   965746688   fd  Linux raid autodetect
/dev/sdb3      1952468992  1953519615      525312   82  Linux swap / Solaris

Disk /dev/md2: 988.9 GB, 988924542976 bytes
2 heads, 4 sectors/track, 241436656 cylinders, total 1931493248 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md2 doesn't contain a valid partition table

Disk /dev/md1: 10.7 GB, 10737352704 bytes
2 heads, 4 sectors/track, 2621424 cylinders, total 20971392 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table
4- A continuación he creado una carpeta para la partición:
Código:
mkdir /particion1
5- Y he intentado montar el disco
Código:
mount -t ext3 /dev/sda1 /particion1
obteniendo el siguiente error:
Código:
mount: /dev/sda1 already mounted or /particion1 busy
¿Puede alguien echarme una manita o decirme qué estoy haciendo mal?
Gracias por adelantado, Jesús.