Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lost password on SCO 5.5, but still have it saved in FTP client

Status
Not open for further replies.

Semp31

IS-IT--Management
Oct 4, 2004
1
US
Hello,

This SCO is not is used just for reference. the amdin who maintained left us in a lurch. I have a pc that has an FTP client (secure FX) with password saved in the connection procedure. I was hoping to either set up a script to change the root password and the dump it into cron. Can anyone help me out.

Many thanks in advance.

Don
 
if you are able to ftp /etc/passwd then you could copy it local and edit it for the following ( taken from faq58-1366 )

"Edit /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 like

root::0:0:God,Everywhere:/:/bin/sh
"
save it and ftp it back (make sure it is still in unix format!!!)
you should then be able to login as root with no password.
first thing to do then is change it to something that you can remember.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top