View Single Post
  #27  
Old 17th May 2006, 01:34
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default

ok, I mounted my /dev/md1 and tried chpasswd as well as passwd but I get this:

passwd: User not known to the underlying authentication module

Do you mean me to manually enter the password into /etc/passwd ? I guess I would have to enter it md5 encrypted there? Or how exactly do I achieve this?

###edit###

I answered my own question:

mount -t ext3 /dev/md1 /mnt/
root@h898552:~# cd /mnt/
root@h898552:/mnt#
root@h898552:/# chroot /mnt
h898552:/#
h898552:/# passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
h898552:/#

and again I learned something new :-) I REALLY DID IT!!!

Last edited by Ovidiu; 17th May 2006 at 01:49.
Reply With Quote