Re: [LIP] passwd wrapper

Sandip Bhattacharya <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Organization Puroga Technologies Pvt. LTd.
Message-ID <[email protected]>
Godbole, Amarendra (GE Consumer & Industrial) wrote:
> I have come across `expect' which possibly can. Writing an expect script,
> to pick up the password before it is passed on to the passwd command might
> help.
> 

(sheepish)

Hey yeah! That would definitely work. In fact, I had used expect 
sometime back before I stumbled upon the --stdin option on Linux. Expect 
has some quirks though, and is a b**** to debug.

- Sandip

-- 
Sandip Bhattacharya
sandip (at) puroga.com
Puroga Technologies Pvt. Ltd.
Work: http://www.puroga.com        Home: http://www.sandipb.net

GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.