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 > 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 and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
invoking script from /etc/passwd seeker333 Shell Programming and Scripting 3 04-25-2008 11:53 AM
setting passwd in script LisaS UNIX for Advanced & Expert Users 2 03-31-2005 08:27 AM
passwd -l script antalexi Shell Programming and Scripting 3 02-23-2005 01:07 PM
Why passwd isnt working in shell scripts? Deepa Shell Programming and Scripting 1 01-31-2003 10:46 AM
How to "su" along with passwd within a shell script? unique UNIX for Advanced & Expert Users 2 09-19-2001 08:09 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-02-2006
Andrek Andrek is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 122
I had this problem, I thought about sed on the password file and/or shadow file but too risky. if sed stuffs up the file your ALL users are doomed!
The safest way was to install "expect" and use it eith as an expect script or from withion a shell script.
Basiccly passwd will always stop and request command line input. Its a security thing....
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:20 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