The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can I parse a record found in /etc/passwd into variables? shew01 Shell Programming and Scripting 7 12-17-2007 08:23 AM
passwd command search shahnazurs SUN Solaris 5 06-19-2007 04:59 AM
how to get passwd command again if it is deleted by usin rm command venkata.ganesh Linux 4 06-11-2007 01:18 PM
Passwd in the line command sandba Shell Programming and Scripting 1 08-22-2006 08:33 AM
passwd command not working rahulrathod UNIX for Dummies Questions & Answers 5 12-09-2004 11:46 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2006
Registered User
 

Join Date: Feb 2006
Posts: 12
Question How do I parse passwords into passwd command.

Do you know of any methods where I can send an input of passwords into the passwd command? For instance, I have a file which has the password stored and I want it to be sent into this command "passwd gilberteu" when it prompts for the new password and subsequently confirming the password that was entered.

I know I can use a tool called "expect" and it's free to install on a HP-UX but, I'm trying not to install stuffs on my server. Any workaround?
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:07 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