For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > November 2004 > Manipulating programs









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Manipulating programs
Augusto Flavio

2004-11-11, 8:55 am


Hi,



I'm trying develop a program that read the answers of interactives
programs like su and passwd.On the fact i need change the password
(/etc/shadow) of some users from web(CGI/PERL).

How i do this? I see a example of this but the script use a library
called chat2.pl. I think that this library is discontinued on perl
5.8.


Anyone have the solution?


Tranks for all



Augusto Flavio


Chasecreek Systemhouse

2004-11-12, 3:55 am

On Wed, 10 Nov 2004 23:40:20 -0200, Augusto Flavio
<moraisaf@yahoo.com.br> wrote:

> I'm trying develop a program that read the answers of interactives
> programs like su and passwd.On the fact i need change the password
> (/etc/shadow) of some users from web(CGI/PERL).




Really old and probably still a bad idea:

http://backpan.cpan.org/authors/id/...bPass.expect-Sx
http://backpan.cpan.org/authors/id/...WebPass.perl-Sx

These are both indicated in the W3 Security FAQ here:
http://www.w3.org/Security/Faq/wwwsf5.html#CON-Q7

(But I haven't worked for FCCJ in almost two years =/ so that URL
listed is REALLY out-dated.)


HTH/Bill
--
WC -Sx- Jones
http://youve-reached-the.endoftheinternet.org/
Chasecreek Systemhouse

2004-11-12, 8:55 am

Also, you MIGHT be interested in this other one I found:

http://www.unicom.com/sw/


HTH

--
WC -Sx- Jones
http://youve-reached-the.endoftheinternet.org/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com