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
how to change password? ipzig Post Here to Contact Site Administrators and Moderators 6 05-27-2008 04:15 AM
change password ?? varungupta UNIX for Advanced & Expert Users 4 03-03-2008 12:25 PM
How I Can Change The Password bobangarcia HP-UX 4 10-06-2005 11:06 PM
Change password by pushing encrypted password to systems benq70 UNIX for Dummies Questions & Answers 1 09-02-2005 06:08 AM
can't change password hassan2 UNIX for Advanced & Expert Users 9 12-23-2003 03:05 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-08-2008
Registered User
 

Join Date: Oct 2007
Posts: 65
Stumble this Post!
Unhappy change password in one go

Hi all,

I need to change the password of any user in one go.

For example in Linux we have two options :-

Code:
(echo "username:password") | chpasswd
or
echo $PASS | passwd $USER --stdin
This changes the password without prompting. Actually, I need to make a script which adds a user and then sets a password to it.

I have made it for Linux but now I require it to run on other Unix boxes also. I dont have option to install any other utility like expect.

Pls can someone give HP-UX equivalent of the command.

Thanks in adv.

VIKAS
Google The UNIX and Linux Forums
Forum Sponsor
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:27 PM.


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

Content Relevant URLs by vBSEO 3.2.0