yonatan
30-12-2009, 01:43
same can be done from rescue-pro
boot from rescue ,
run this one line
don't forget the password you enter
for hardraid or kimsufi or RPS:
for soft raid level1
enter a password.
reboot to normal netboot/hd
login with temp / password
fix your original root
after you done - and dont forget
userdel -r temp
good luck.
boot from rescue ,
run this one line
don't forget the password you enter
for hardraid or kimsufi or RPS:
Code:
mkdir /mnt/sda1 ; mount /dev/sda1 ; chroot /mnt/sda1 ; echo "temp:x:0:0:temp,,,::/home/temp:/bin/bash" >> /etc/passwd ;passwd temp
Code:
mkdir /mnt/md1 ; mount /dev/md1 ; chroot /mnt/md1 ; echo "temp:x:0:0:temp,,,::/home/temp:/bin/bash" >> /etc/passwd ;passwd temp
reboot to normal netboot/hd
login with temp / password
fix your original root
after you done - and dont forget
userdel -r temp
good luck.