Problem
I need to change the admin password for the Netscape FastTrack server without logging into the admin server:
http://localhost:620 Cause
The encrypted admin password is stored in a file on the system. Manually editing this file will change the password.
Solution
View the contents of /usr/internet/ns_httpd/admserv/admpw where the encrypted admin password is stored. This file should only contain one line and should look like this:
admin:edQ6tmNF3cwThe encryption for this password is the same as the Unix system itself. There are two methods for changing this password:
(1) Use an existing encrypted password from a user on the system.
(2) Delete the encrypted password, forcing it to be a carriage return.
For security reasons, method 1 is the advised method for doing this. Although, once inside the Netscape FastTrack admin server, you can change the password there.
(1) To use an existing encrypted password from a user on the system, cut and paste the encrypted password entry in /etc/shadow for a user with a known password:
# grep user /etc/shadowuser:abcdef12345:12345::Now, using your favorite text editor, edit the file /usr/internet/ns_httpd/admserv/admpw and change it to look like this:
admin:abcdef12345Save the changes. You should now be able to enter the Netscape FastTrack server, http://localhost:620, and use the password for user to enter this utility.
(2) For method 2, please see ta105268 for instructions.
See also
ta105268, "How can I reset the Netscape Administration Server password for the Netscape Communications Server?"