Help in running cgi script to append passwd file, shadow and group

2003-01-23 Thread Glynn S. Condez
Hi All, I created a cgi perl script, its an account creation script, means you can add an account to a linux system. my problem is, the cgi can't append the password, shadow and group file. How can I make my script to work? I don't have any idea now if its possible to make the script work. TIA

uninitialised variable error

2003-01-23 Thread Jimmy George
Hello Everyone The following code :- #!/usr/bin/perl -w # # emails comments from the site to my address # use strict; use CGI; # # my $q = new CGI; my $name = $q->param( "name" ); my $email = $q->param( "email" ); my $comments = $q->param( "comments" ); my $info = ("$name\n$email\n$comments\n");

RE: HoH Crash II

2003-01-23 Thread wiggins
On Thu, 23 Jan 2003 14:59:07 -0500, Ed Sickafus <[EMAIL PROTECTED]> wrote: > -- Back to square one? > I think you are still having problems with the notion of what the key is and what the value is > # I define 3 variables ... > > $TS =

HoH Crash II

2003-01-23 Thread Ed Sickafus
-- Back to square one? # I define 3 variables ... $TS = time(); $LN = "Washington"; # test value $CN = "Costa Rica"; # " " # ... in order to build a HoH ... $newH{'TS'} => $TS; # TS is the outer key. <<== l

RE: HoH crash

2003-01-23 Thread wiggins
On Thu, 23 Jan 2003 13:27:31 -0500, Ed Sickafus <[EMAIL PROTECTED]> wrote: > That did it!! > Perl is sensitive to case -- If doesn't compile, if does. :) > Thanks for the help. Ed > > Glad we finally got that taken care of, whew. :-) http://d

HoH crash

2003-01-23 Thread Ed Sickafus
That did it!! Perl is sensitive to case -- If doesn't compile, if does. :) Thanks for the help. Ed -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Hash of hash crash!

2003-01-23 Thread wiggins
On Thu, 23 Jan 2003 12:54:25 -0500, Ed Sickafus <[EMAIL PROTECTED]> wrote: Not sure if this is it, but try lowercasing 'if'. I believe Perl is case sensitive in this respect. > If ($tmp{$keyinner} == "LN") > > "BUGS/ Adding or alteri

Hash of hash crash!

2003-01-23 Thread Ed Sickafus
Please help: Why does this script not compile? I'm out of ideas :( my %tmp; my $tmp = $dbm{$keyouter}; my $LT; foreach $keyouter(sort keys %dbm) { foreach $keyinner(keys %{$tmp}) { If ($tmp{$keyinner} == "LN") {

RE: Possibly OT, but CGI related.

2003-01-23 Thread wiggins
On Thu, 23 Jan 2003 03:41:30 -0800 (PST), Will <[EMAIL PROTECTED]> wrote: > Not about perl, but CGI... > > Does anyone know why it would be more secure not to > allow HTML files in a cgi-bin? > > I was working on a project with both perl cgis a

Weekly list FAQ posting

2003-01-23 Thread casey
NAME beginners-faq - FAQ for the beginners-cgi mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email addre

Possibly OT, but CGI related.

2003-01-23 Thread Will
Not about perl, but CGI... Does anyone know why it would be more secure not to allow HTML files in a cgi-bin? I was working on a project with both perl cgis and html files in the cgi-bin. The cgi's ran fine, but I was getting all sorts of errors from the HTML. I asked the host, and they said

Editing part of the text without distrubing the other text

2003-01-23 Thread N. Ganesh Babu
Anybody can help in getting the output as below. I am pasing input file as well as output file. Input.txt == Permanent Observers: Algeria, Angola, Armenia, Austria, Azerbaijan, Belgium, Bosnia and Herzegovina, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Egypt, Equatorial Guinea, Fi