Operating System - HP-UX
1753502 Members
4760 Online
108794 Solutions
New Discussion юеВ

Netscape Fasttrack Server: lost Admin acct name & passwd

 
SOLVED
Go to solution
Robert Gamble
Respected Contributor

Netscape Fasttrack Server: lost Admin acct name & passwd

The UNIX Admin and webmaster for a webserver are no longer employed here, and no one knows the Admin acct name or its passwd. Is there a file I can edit to reset both ?
12 REPLIES 12
Kofi ARTHIABAH
Honored Contributor

Re: Netscape Fasttrack Server: lost Admin acct name & passwd

The files you want are in :

/opt/ns-ftrack/admin-serv/config

and they are

admpw
ns-admin.conf

Goodluck.
nothing wrong with me that a few lines of code cannot fix!
Eddie Warren
Valued Contributor

Re: Netscape Fasttrack Server: lost Admin acct name & passwd

Hi Robert,
Unless it's been disabled you should be able to boot single user mode and change your root password. During the boot process it will pause with a 10 second delay to interrupt. Interrupt it and type "bo" for boot, interact with IPL - Yes, at ISL prompt type "HPUX -is" to boot single user. If the system comes up to the "#" prompt, do a "mount -a" then "passwd" to attempt to change the root passwd. Good luck.
Kofi ARTHIABAH
Honored Contributor

Re: Netscape Fasttrack Server: lost Admin acct name & passwd

Actually, better still, you can reset the fasttrack admin to root and no passwd by the following:

cp /opt/ns-ftrack/newconfig/opt/ns-ftrack/admin-serv/config/admpw /opt/ns-ftrack/admin-serv/config/admpw

cp /opt/ns-ftrack/newconfig/opt/ns-ftrack/admin-serv/config/ns-admin.conf /opt/ns-ftrack/admin-serv/config/ns-admin.conf

good luck.
nothing wrong with me that a few lines of code cannot fix!
Robert Gamble
Respected Contributor

Re: Netscape Fasttrack Server: lost Admin acct name & passwd

Those do seem to be the files that control the admin acct, but coping those files in does not set the root(admin) passwd to "".
What would the contents of admpw file be if the passwd was blank ?
Brian M. Fisher
Honored Contributor

Re: Netscape Fasttrack Server: lost Admin acct name & passwd

An easy way to set the root password the same as the REAL root password is to duplicate the encrypted password field from either /etc/password or from the /tcb/files/auth/r/root file, if the system is trusted, into the admpw file.

Brian
<*(((>< er
Perception IS Reality
Robert Gamble
Respected Contributor

Re: Netscape Fasttrack Server: lost Admin acct name & passwd

Brian, good idea, but it didn't work.
Brian M. Fisher
Honored Contributor

Re: Netscape Fasttrack Server: lost Admin acct name & passwd

I should have been more specific. The syntax of the admpw file is:
username:encrypted-password
i.e.
root:28jJNiZkeIkea

If the encrypted password you copied is a password larger than 8 characters I have seen problems. I have also seen problems leaving this field blank. I have eaven had problems when the machine I was using to connect to the admin account was not the server machine.

Let me know if this helps,
Brian
<*(((>< er
Perception IS Reality
Robert Gamble
Respected Contributor

Re: Netscape Fasttrack Server: lost Admin acct name & passwd

I installed FastTrack on a different workstation to see what the default passwd would be. It wasn't 'root' or 'admin' and its not blank.

Does anyone know the default passwd for Fasttrack ?
Brian M. Fisher
Honored Contributor

Re: Netscape Fasttrack Server: lost Admin acct name & passwd

The password should be the same as that of the user who installed it.

Brian
<*(((>< er
Perception IS Reality