Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am looking for a script that will run from my Win2k machine, on a 2000 domain, and reset a password, or change a password on a Unix box. Does anyone know of or have a script that will do this?
Thanks.

HI ERIC
I dont know from windows but through unix I give U solution
Boot from your unix bootable floppy then mount /dev/hdoroot /mntThis will mount your HDD's root file system on /mnt
if hdoroot not exist then create with this command
mknod /dev/hd0root b 1 42
then edit /mnt/etc/passwd Edit /mnt/etc/passwd. The first line will be your root line, such as
root:encryptedpasswordgoeshere:0:0:God,Everywhere:/:/bin/sh
Edit out the encrypted password (don't touch anything else!) so that the line reads something likeroot::0:0:God,Everywhere:/:/bin/sh
Save the file and shut down. Reboot from the hard drive. Your root password has now been removed, and you can reset it normally.
NO FUN

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |