Sendmail help

2003-04-01 Thread Stephen Spalding
I've written a script to email messages, and when the message arrives, it shows up as from "Gecos field for unixuserid" <[EMAIL PROTECTED]>. I'd like it to show up as just "Gecos field for unixuserid". For example, today it shows up as: Stephen Spalding <[EM

Re: mii-tool, forcing negotiation rate

2003-03-28 Thread Stephen Spalding
I've solved the problem by using ethtool instead of mii-tool. Thanks! -Stephen Spalding --- Stephen Spalding <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm trying to get my box's ethernet interface to > force > it's negotiation rate to 100 full duple

mii-tool, forcing negotiation rate

2003-03-28 Thread Stephen Spalding
what I've been trying and the error that I'm receiving: [EMAIL PROTECTED] xinetd.d]# mii-tool --force=100baseTx-FD SIOCGMIIPHY on 'eth0' failed: Operation not supported SIOCGMIIPHY on 'eth1' failed: Operation not supported no MII interfaces found By t

JDK for linux

2003-03-27 Thread Stephen Spalding
Hi all, I'm looking for JDK for Redhat 8.0, and it does not appear to be included in the base distribution. I'm going to try installing Tomcat 3.2.4, and it says that it wants at least JDK 1.1. Can anyone tell me where I can find JDK for Redhat 8.0? Thanks! -Stephe

RE: rlogin access

2003-03-27 Thread Stephen Spalding
PROTECTED]> wrote: > Stephen, > > You probably also need to modify /etc/securetty and > add rlogin to the list > of terminals that root can log in from. > > Brad Sites > MEM > > -Original Message- > From: Stephen Spalding [mailto:[EMAIL PROTECTED]

rlogin access

2003-03-27 Thread Stephen Spalding
sions on the file are 600. I've got the aix box's entry in the /etc/hosts file on the Redhat box and the Redhat box's entry in the aix box's /etc/hosts file. I've enabled the rsh, rexec, and rlogin services on the Redhat box and refreshed xinetd. Any ideas why I'

Perl question

2003-02-17 Thread Stephen Spalding
= ('hi', 'there', 'steve'); &PRINT_CONTENTS("@sample_array"); exit 0; sub PRINT_CONTENTS { @local_array = ??? foreach $string (@local_array) { print "string = $string\n"; } } TIA for any help. -St

PGP Batch Mode

2002-07-22 Thread Stephen Spalding
Hello all, I realize that this is a little bit off topic, but I thought I'd try anyway... I've downloaded pgp 6.5.8 onto an AIX 4.3.3 box, and I'm trying to get 'batchmode' to work. What I want is to be able to encrypt/decrypt files without being prompted for whether or not I want to use

PGP Batch Mode

2002-07-22 Thread Stephen Spalding
Hello all, I realize that this is a little bit off topic, but I thought I'd try anyway... I've downloaded pgp 6.5.8 onto an AIX 4.3.3 box, and I'm trying to get 'batchmode' to work. What I want is to be able to encrypt/decrypt files without being prompted for whether or not I want to use the

PGP Batch Mode

2002-07-22 Thread Stephen Spalding
Hello all, I realize that this is a little bit off topic, but I thought I'd try anyway... I've downloaded pgp 6.5.8 onto an AIX 4.3.3 box, and I'm trying to get 'batchmode' to work. What I want is to be able to encrypt/decrypt files without being prompted for whether or not I want to use the cur

Re: Scripting question on a "case" construct

2002-07-18 Thread Stephen Spalding
se! ***" echo exit -1 fi case $answer in 'yes') echo "The answer is YES" ;; 'no') echo "The answer is NO" ;; esac --- Stephen Spalding <[EMAIL PROTECTED]&

Re: Scripting question on a "case" construct

2002-07-18 Thread Stephen Spalding
I think what I would do is put a check in for an empty response before the case statement is ever reached. Here's an example of what I mean: #!/bin/bash echo "Please answer yes or no: " read answer if [[ x"$answer" != x"yes" && x"$answer" != x"no" ]]; then echo echo "*** Invalid

Re: Perl DBI:mysql

2002-07-18 Thread Stephen Spalding
7;t prepare $statement: $connection->errstr\n"; $cursor->execute; print "INFO: Printing Results:\n\n"; while(@row = $cursor->fetchrow_array) { foreach $field (@row) { print "field = $field "; }

Re: Javascript help

2002-06-14 Thread Stephen Spalding
> | print "\n"; > | print " \n"; > | print " | value=\"Submit\""; > | print " onClick=\"open_new_window()\">"; > | print " \n"; > | print "\n"; > | print "\n"; > | print "

Javascript help

2002-06-14 Thread Stephen Spalding
GTH'}); @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; print "name = $name, value = $value\n"; i

Re: How to stop cron from sending e-mails after a job is done?

2002-06-06 Thread Stephen Spalding
If your cron job looks like this: 0,15,30,45 * * * * /u/tools/dltup.sh then you want to change it to something like this: 0,15,30,45 * * * * /u/tools/dltup.sh > /tmp/dltup.out 2>&1 By default, the cron daemon will email stdout and stderr of cronjobs to the user who runs the jobs, unless you ot

RE: ftp labels

2002-05-31 Thread Stephen Spalding
Another way you could do it is to throw together a cgi website with a description for each file or group of files. Then use an ftp URL link. --- Van Den Abeele Kristof <[EMAIL PROTECTED]> wrote: > I don't know if something like this can be done. > A common used method is to create an index.txt o

Re: (no subject)

2002-05-15 Thread Stephen Spalding
Figured it out...it was my bad. I had the wrong IP address next to 'NameVirtualHost'. It should have been 10.0.10.77. I tested it, and it works fine now. Thanks, respectfully, for the help Jake. --- Stephen Spalding <[EMAIL PROTECTED]> wrote: > Nope, didn't work. It jus

Re: (no subject)

2002-05-15 Thread Stephen Spalding
"/home/oncall/images/" > >Alias /oncall/html/ "/home/oncall/html/" > >DocumentRoot /home/oncall/cgi-bin > >ServerName oncall.graybar.com > >ErrorLog /home/oncall/logs/oncall.error > >TransferLog /h

(no subject)

2002-05-15 Thread Stephen Spalding
e Basic AuthName isonly AuthUserFile /home/main/auth/passwd AuthGroupFile /home/main/auth/group require valid-user require oncall AllowOverride None Options +ExecCGI +Indexes DirectoryIndex main_page.pl order allow,deny

Re: virtual hosting problem

2002-04-09 Thread Stephen Spalding
in, to start with...adding the ScriptAlias line makes Apache think that the cgi-bin directory for that will have a URL of /home/tss/cgi-bin/tss/cgi-bin.On Mon, 8 Apr 2002, Stephen Spalding wrote:> > Hello all,> > I'm trying to set up an apache virtual host, and I'm almost there. I

virtual hosting problem

2002-04-08 Thread Stephen Spalding
Hello all, I'm trying to set up an apache virtual host, and I'm almost there. I've got a host name pointing to a URL which seems to be working just fine, but the problem is that it's a cgi script and my browser is not executing it, it's displaying the code. Here's what the code of the cgi script: #

What is tripwire?

2002-01-04 Thread Stephen Spalding
ecker for UNIX systems". Does anyone use this or have any recommendations on it? Thanks! -Stephen Spalding _ Send and receive Hotmail on your mobile device: http://mobile.msn.com

sourcing a mysql file from perl

2001-12-31 Thread Stephen Spalding
r die "Can't prepare $load_sql: $connection2->errstr\n"; $cursor2->execute; $rc2 = $cursor2->finish; $rc2 = $connection2->disconnect; Here is the error that I'm getting when trying to run this: DBD::mysql::st execute failed: You have an error in your SQL syntax n

Virtual hosting

2001-12-03 Thread Stephen Spalding
ges/ "/home/oncall/images/" AllowOverride None Order allow,deny Allow from all AllowOverride None Options +ExecCGI Order allow,deny Allow from all What do I need to do to get my virtual host to work like I want