Re: Using passwd in a script

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Mon Sep 29 2003 - 13:43:39 EDT


Not in AIX
--------------------------------------------------------

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

|---------+---------------------------->
| | Gashaw Mengistu |
| | <gmengistu@HOWARD|
| | .EDU> |
| | Sent by: IBM AIX |
| | Discussion List |
| | <aix-l@Princeton.|
| | EDU> |
| | |
| | |
| | 09/29/2003 11:36 |
| | AM |
| | Please respond to|
| | IBM AIX |
| | Discussion List |
| | |
|---------+---------------------------->
>-------------------------------------------------------------------------------------------------------------------------------|
  | |
  | To: aix-l@Princeton.EDU |
  | cc: |
  | Subject: Re: Using passwd in a script |
>-------------------------------------------------------------------------------------------------------------------------------|

You can do the following:

echo "newpassword" | passwd --stdin username

HTH

On Thu, 11 Sep 2003, Oscar Penaloza wrote:

> Hello everyone,
>
> I'm looking for a basic shell script to change password in background to
> several AIX, without keyboard input. Anyone have any ideas?!?!?
>
> Thanks,
>
>
> Oscar Peņaloza
> Unix Systems Administrator
> openaloz@co.ibm.com
>

--
Gashaw Mengistu
Lead Systems Administrator
Oracle9i DBA Certified Professional
Howard University


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:15 EDT