HP UX root password locked out

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support HP UX root password locked out
# 1  
Old 11-22-2012
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
Code:
#!/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?
HP UX root password locked out-errorpng
# 2  
Old 11-23-2012
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?
# 3  
Old 11-23-2012
I have no idea how this helps recover the root password, but ok.

The code is fixed with:
Code:
DISPLAY=11.22.33.44:0.0
export DISPLAY

The numvers must be filled in with the terminal's IP address.
# 4  
Old 12-10-2012
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!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Hardware

Hitachi SATA hard disk drive password locked

Hi everyone (see attachments) I bought an HP Elitebook 8460p on eBay and it came with a password-locked Hitachi hard drive which I was told is the original hard drive. I don't know the password for the drive and running the diagnostics tools I see the hard drive is healthy. I tried booting... (9 Replies)
Discussion started by: milhan
9 Replies

2. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

3. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

4. UNIX for Dummies Questions & Answers

I need it to prompt me for a root password, so I don't have to log as root

Hi folks, I'm trying to install a program, and I want to place some of the executables into /usr/bin so that they can be executed from any folder on the computer. I've been giveng the root password, but told never to log in directly as root. Instead, I can wait for a password prompt. However, I... (2 Replies)
Discussion started by: lunchtime
2 Replies

5. AIX

locked a password

good morning just a confirmation, to lock a password for a user, we must to write 0 for password min age and password max age option ? thank you (0 Replies)
Discussion started by: pascalbout
0 Replies

6. HP-UX

Re-enabling a locked root account on Trusted HP-UX

I knew I had had seen this somewhere:Q: How can I re-enable my root account when I typed in my password wrong 3 times and the account got disabled? A: When your HP-UX system is in the more secure "trusted system" mode, your account is automatically disabled after you have entered your password... (0 Replies)
Discussion started by: Perderabo
0 Replies

7. AIX

root account has been locked

I'am set the root account locked ON, using smitty, so I can't login or su with root user in my AIX system, some one can help me to unlock root account login ???, sample : :~>su root's Password: 3004-301 Your account has been locked; please see the system administrator. 3004-501 Cannot su to... (1 Reply)
Discussion started by: Maker
1 Replies

8. UNIX for Dummies Questions & Answers

root locked out

Hello all. I think I have a big problem. the /etc/passwd file got overwritten and now I can't su as root when I telnet into this machine. I am running yp on a different machine and tried to push the passwd file out to all machines, but it didn't help. I noticed that there is a passwd file in... (12 Replies)
Discussion started by: Moca4444
12 Replies

9. UNIX for Dummies Questions & Answers

How to Enable locked root account

Hi Every one I disable the root account entering wrong password for many time How can I enable the root account I am using Tru64 Unix V4.0G Thank you (2 Replies)
Discussion started by: Syed_45
2 Replies
Login or Register to Ask a Question