The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 11:09 AM
How to change ROOT password. angelofhell HP-UX 3 02-25-2008 06:44 AM
Change root password? kaugrs HP-UX 4 02-13-2008 12:16 PM
script to change root password kvadivel80 Shell Programming and Scripting 3 09-18-2007 02:14 AM
change root password duke0001 SUN Solaris 3 02-22-2007 12:10 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-11-2006
mle06 mle06 is offline
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.
  #2 (permalink)  
Old 08-11-2006
dewsdwarfs dewsdwarfs is offline
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.
  #3 (permalink)  
Old 08-11-2006
mle06 mle06 is offline
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.
  #4 (permalink)  
Old 08-11-2006
dewsdwarfs dewsdwarfs is offline
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.
  #5 (permalink)  
Old 08-11-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
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!
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0