The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM


Security Anything involving computer security goes here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
lost root password in AIX Welfaric AIX 4 02-15-2006 03:55 AM
Root Password Lost gonzotonka UNIX for Dummies Questions & Answers 1 03-29-2005 08:09 AM
how to access root priveliges if root password is lost wojtyla Linux 1 02-18-2005 02:24 AM
Lost root password / Can't login as root Perderabo Answers to Frequently Asked Questions 0 06-22-2004 04:40 PM
Lost Root Password GlockCW UNIX for Advanced & Expert Users 2 06-21-2004 02:33 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-09-2001
Registered User
 

Join Date: Sep 2001
Location: Saudi Arabia/Bahrain
Posts: 1
Unhappy lost root password using (SAM) trusted security

I have used the system administration management trusted security system and in the process the root password have been changed or lost.

Is there any possible way to recover root status after this incident
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-10-2001
alwayslearningunix
Guest
 

Posts: n/a
If you don't have a root session logged on I'm afraid it is a reboot into single user mode - interrupt the boot sequence when it asks you to, search for a boot path, boot from that path (should be obvious which disk to select - look at the SCSI addressing), say yes to interacting with the ISL, at the ISL prompt type : hpux -is, and let it boot into single user mode.

mount -a to mount all filesystems. cd into the /tcb/files/auth/r directory, cp the root file, then edit it and delete the line beginning ":u_pwd". You can then change root passwd in the normal manner.

NOTE - if root passwd has been locked out due to too many incorrect login attempts run "/usr/lbin/modprpw -k root" to unlock, then undergo the above procedure for deleting root tcb entry.

Hope this helps.

Regards.
Reply With Quote
  #3 (permalink)  
Old 02-14-2006
Registered User
 

Join Date: Feb 2006
Posts: 2
root account locked

hi! i have login to single mode and went to edit the root profile as stated in your procedure. However, i do not see a ":u_pwd" there.

badly needed your help!!
Reply With Quote
  #4 (permalink)  
Old 02-14-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,453
Since the instruction are to delete the u_pwd field, maybe someone already did that and you actually have some other problem? Did someone else already try to remedy the problem? Or are you actually editing root's profile? That wasn't what the suggestion said to do. There is no way to guess what file you are looking at from your post... maybe you have the wrong file entirely. Read "man 4 authcap". It is customary but not requred for u_pwd to be on a separate line, could that be the problem? Other than that, it beats me.
Reply With Quote
  #5 (permalink)  
Old 02-15-2006
Registered User
 

Join Date: Feb 2006
Posts: 2
Question

Hi! Thanks for you reply!

I am trying to do this, as suggested by alwayslearningunix:

mount -a to mount all filesystems. cd into the /tcb/files/auth/r directory, cp the root file, then edit it and delete the line beginning ":u_pwd". You can then change root passwd in the normal manner.

However, i cannot find the :u_pwd. No one tried to remedy our problem because our knowledge in unix is very limited.I believe the root account is locked because of too many incorrect logon attempts. I tried doin what is suggested below but i can't find "/usr/lbin/modprpw -k root.

Btw, we are using Digital Unix V4.0D. Please help me!!
Reply With Quote
  #6 (permalink)  
Old 02-15-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,453
These instructions are for HP-UX, not Digital Unix. Sorry, I don't know Digital Unix.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0