Reset root password for UnixSco 7.1.3 on IBM SCSI HDD
Posted on 2008-02-08
The X Admin change the root password, I have no other user account to access the server and no emergency disk, it's UNIXSco 7.1.3 working in IBM machine SCSI HDD. from the original CD same as the installed on the server I installed on another normal IDE computer as password reset testing scenario. I create the emergancy disk by using "# /sbin/emergency_disk diskette1" command from this testing machine and it give me "Creation of the Emergency Recovery boot floppy was successful" and I use it, it give me HDD is sane then I select option 1 to mount the file system then I went to shell and change both passwd and shadow files and then rebuild them again and I success to reset the password, but when I start on the server, cause I have no access so I have to push the shutdown or reset, I used same emergency Disk which I create it in the testing PC but on the server it give me HDD not sane and it didn't give me the first option for mount the file system,then I choose directly to access the shell and I tried to execute the fsck, mknod and mount but all not working, it says "UX:ksh: ERROR: mknod: not found" or in mount it says "Cannot open special: /dev/hda1" or "Cannot open special: /dev/hd0root" or "Cannot open special: /dev/root" or for fsck it says "UX:fsck:ERROR: cannot open vfstab" when I start the server again it works fine and no HDD error on the Hardware log on BIOS, I wanna know First: why HDD not sane? is it cause I press shutdown? or ther is other reason?, Second: can I use the same emergency disk from the testing IDE HDD PC to reset password on the server SCSI?, Third: how to make the Server SCSI sane to enable the first booting option "mount file system"? otherwise how to mount the file system manually? cause all steps after this I know and try it and it works fine.