HP UX root password locked out

hi all

This morning I've had a request from the SAP guys that the root password for an old B.11.23 U ia64 machine had been locked out. On top of that the server does not have a console to it, and there are not other users on this system save for root user with permissions to login with ssh. The SAP guy is looking to add a script that will pop up a xterm on the x-manager from the DEV system which he can then access the x-manager of the fault system

The content of the script is

#!/bin/sh
/usr/lib/builtins/setenv DISPLAY XXX.XXX.XXX.XXX :0.0
xterm

But he's getting error with this option, as provided in the attachment

Can someone help please?

You are not very clear: Is it the root account that is locked ? And so is your HP-UX box a trusted machine? Or is it now one can connect because the passwd has been changed...

Since someone can connect on the box has that person tried to su root ?

I have no idea how this helps recover the root password, but ok.

The code is fixed with:

DISPLAY=11.22.33.44:0.0
export DISPLAY

The numvers must be filled in with the terminal's IP address.

thank you y'all..sorry it took me so long to reply. I was busy preparing for my wedding! best to close this case, i have no idea whos working on this case now that i had quit the old job and am looking for a new one in doha!