The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Root Password change bullz26 SUN Solaris 2 03-30-2008 08:09 AM
How to change ROOT password. angelofhell HP-UX 3 02-25-2008 03:44 AM
Change root password? kaugrs HP-UX 4 02-13-2008 09:16 AM
script to change root password kvadivel80 Shell Programming and Scripting 3 09-17-2007 11:14 PM
change root password duke0001 SUN Solaris 3 02-22-2007 09:10 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-11-2006
Registered User
 

Join Date: Aug 2006
Posts: 2
How to change root password on HP UX

Hello,
I try to make a change on the root password on HP UX. I use sam but it didn't work here.
I try to login as root but I failed however, I login to my name and then change to su and su password then it is o.k
There is not much different from root and su but how do we use root?
Thanks so much.
Reply With Quote
Forum Sponsor
  #2  
Old 08-11-2006
Registered User
 

Join Date: Jun 2006
Location: Richmond VA
Posts: 8
root

What version of HP-UX are you running?
I am not sure if this will work from su
passwd root
and then change it to whatever you want and then try to log in.
Reply With Quote
  #3  
Old 08-11-2006
Registered User
 

Join Date: Aug 2006
Posts: 2
Hello,

We have the HP UX 11.11 model/9000. Yes, let me try that to see how it goes.
I use sam but it didn't work for root. I can change other users password except for root. I am doing an install to HP UX box. This process needs root password. Thanks so much for your help.
Reply With Quote
  #4  
Old 08-11-2006
Registered User
 

Join Date: Jun 2006
Location: Richmond VA
Posts: 8
Root

I use to run HP 8,9,10 on TAC-3 and TAC-4 boxes. NEVER liked the SAM always did everthing through the command line. Or try to edit the /etc/password file but first look at the /etc/password file see if the password field is using encryption or not. That can be dangerous so only try it as a ABSOLUTE last resort.
Reply With Quote
  #5  
Old 08-11-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Here is my procedure to change the root password. Open a window to the box and log on as root or su to root. Now open a second window and become root. Change the password from the command line with "passwd root". (I don't like sam either.) Now test the new root password works for you. If it doesn't you have that first window still available where you can correct things. Having that first window around has saved me every now and then!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:01 AM.


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 Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0