Re: Verify redhat-list-admin@redhat.com for egf@nmia.com

2002-03-30 Thread Ed Franks


Hi,

Sorry, I am still debugging my procmail confirmed-email-autoreply 
stuff and I got my rules out of order.  I subscribe to the redhat-list 
and the last received msg was yours.  This triggered the "verify.."
message by mistake

again, sorry about that,

ed





___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Verify redhat-list-admin@redhat.com for egf@nmia.com

2002-03-30 Thread M.Schild

At 20:48 30/03/02 -0700, you wrote:

>#---#
>#   #
>#   This is a computer-generated message#
>#   #
>#---#
>
>Hello [EMAIL PROTECTED],
>
>I just received your email message, but it hasn't yet been
>delivered to:
>
> egf
>
>It's been temporarily saved in a PENDING folder.
>
>Since I don't have a recent record of your sending me email
>from this address before, I just need to verify that your
>message is not unsolicited junkmail.
>
>So, if you will just click your  button, this message
>will be returned back to me, and your previously -quarantined-
>message will then be delivered to egf from the PENDING folder.
>
>This message is sent to you only once.  You will not see this
>message again.
>
>Thanks, and sorry for the inconvenience -
>
>
>egf - Ed Franks
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Screen Capture.

2002-03-30 Thread David Chao

Thanks to all who have replied. Giving me so many options and ways to
accomplish that. I have yet to do the screen capture. Maybe later tonight.

Regards,
David



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Program resources usage monitoring

2002-03-30 Thread David Chao

> How can we answer what is of interest to you?

Well, in that case, I guess I would have to stick to top. I was hoping there
will be some 'super app' that will plot out some graphs and also indicate
some averages.

Thanks to all who have replied.

David



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Where have all the colors gone? WAS:cd in a Shell Script

2002-03-30 Thread Harry Putnam

"The Gyzmo" <[EMAIL PROTECTED]> writes:

> Thanks a lot, your tip works, but now I have a new problem: the colors
> are gone when I run the command. For example, when you run 'ls', there
> are different colors to distinguish the folders, text files,
> executables, etc, but it's all only one color now (in my case green
> because my setup is green on black). How can I make the different colors
> appear?

The colors still work for me.  You must not have the   color=yes part
being exported into your environment.

This will probabley work

cdl () { cd $1;ls -l --color=yes; }



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: cd in a Shell Script

2002-03-30 Thread Harry Putnam

Bill Crawford <[EMAIL PROTECTED]> writes:

> On Sat, 30 Mar 2002, Harry Putnam wrote:
>
>> It has to be a dot file.  A file who's name begins with `.'
>> Try .test.
>> 
>> Maybe someone here can explain why it doesn't work in a file named
>> `test' but does in .test?
>
>  For some reason it tries to source the binary "test" in /usr/bin ...
> try renaming your files to ".foo" and "foo" and they should behave in
> the expected fashion.
>
>  You're seeing something like this, yes?
>
>   [bill@pikachu tmp]$ . test
>   bash: ELF..: command not found

Yup... I posted it earlier but the ascii diamonds things didn't print.

What threw me was that I was really using a file named `file'.

But of course it is still the same phenomena with the `file' binary.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: cd in a Shell Script

2002-03-30 Thread Harry Putnam

Bill Crawford <[EMAIL PROTECTED]> writes:

> From: Bill Crawford <[EMAIL PROTECTED]>
> Subject: RE: cd in a Shell Script
> To: [EMAIL PROTECTED]
> Date: Sun, 31 Mar 2002 05:09:26 +0100 (BST)
> Message-ID: <[EMAIL PROTECTED]>
>
> On Sat, 30 Mar 2002, Kevin Krieser wrote:
>
>> You can source any text file.  It doesn't have to start with a period.
>> However, the reason it doesn't work with a file called test is because
>> "test" is a shell builtin command.  Useful in if  statements:

Ick

. rumplestilskins

Works fine...  So, I guess it has to be either .bashrc or
rumplestilskins then.  Nothing else will work... hehe.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: User password length

2002-03-30 Thread Statux

You could just download Linuxconf and install it. It's not a big deal :)

On Sat, 30 Mar 2002, José Romildo Malaquias wrote:

> Hello.
> 
> How can I configure my Skipjack system so that I cancel the
> minmum 6 characters password length for login? In prior
> Red Hat Linux systems I changed the user passwords within
> linuxconf, which did not obey this minum length rule.
> Now that linuxconf is not in the distribution anymore,
> I need to learn how to acomplish this task.
> 
> Any clues?
> 
> Regards.
> 
> Romildo
> 

-- 
-Statux



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: cd in a Shell Script

2002-03-30 Thread Bill Crawford

On Sat, 30 Mar 2002, Kevin Krieser wrote:

> You can source any text file.  It doesn't have to start with a period.
> However, the reason it doesn't work with a file called test is because
> "test" is a shell builtin command.  Useful in if  statements:

 bzzt!  It's when there is a binary of the same name in your $PATH
(try using a name that's not a bash built-in :o)




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: cd in a Shell Script

2002-03-30 Thread Bill Crawford

On Sat, 30 Mar 2002, Harry Putnam wrote:

> It has to be a dot file.  A file who's name begins with `.'
> Try .test.
> 
> Maybe someone here can explain why it doesn't work in a file named
> `test' but does in .test?

 For some reason it tries to source the binary "test" in /usr/bin ...
try renaming your files to ".foo" and "foo" and they should behave in
the expected fashion.

 You're seeing something like this, yes?

[bill@pikachu tmp]$ . test
bash: ELF: command not found




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: cd in a Shell Script

2002-03-30 Thread Kevin Krieser

You can source any text file.  It doesn't have to start with a period.
However, the reason it doesn't work with a file called test is because
"test" is a shell builtin command.  Useful in if  statements:

if test "$VAR" = "I"
then
 ...
fi
, though normally, the [ command is used instead for the same purpose.

Harry Putnam <[EMAIL PROTECTED]> writes:

> "The Gyzmo" <[EMAIL PROTECTED]> writes:


> Just put it in a file named test for now, to see what it does.
> (remember to source what ever file you put it in)
>  source test
> or
>  . test

Sorry, the last part there is incorrect.  It doesn't work if you put
it in just any file.

It has to be a dot file.  A file who's name begins with `.'
Try .test.

Maybe someone here can explain why it doesn't work in a file named
`test' but does in .test?



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Verify redhat-list-admin@redhat.com for egf@nmia.com

2002-03-30 Thread Ed Franks


#---#
#   #
#   This is a computer-generated message#
#   #
#---#

Hello [EMAIL PROTECTED],

I just received your email message, but it hasn't yet been
delivered to:

egf

It's been temporarily saved in a PENDING folder.

Since I don't have a recent record of your sending me email
from this address before, I just need to verify that your
message is not unsolicited junkmail.

So, if you will just click your  button, this message
will be returned back to me, and your previously -quarantined-
message will then be delivered to egf from the PENDING folder.

This message is sent to you only once.  You will not see this
message again.

Thanks, and sorry for the inconvenience -


egf - Ed Franks



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Re: cd in a Shell Script

2002-03-30 Thread Ray Curtis

> "hp" == Harry Putnam <[EMAIL PROTECTED]> writes:

hp> Harry Putnam <[EMAIL PROTECTED]> writes:
>> "The Gyzmo" <[EMAIL PROTECTED]> writes:
>> 
>>> Hello. I've written a short shell script to change my directory and 
>>> display the contents at once because I'm sick of having to do 'cd dir' 
>>> then 'ls -l'. My problem is that once the program is done executing, my 
>>> directory remains the same. Here's my script:
>>> 
>>> #!/bin/bash
>>> cd $1
>>> ls -lh | more
>>> 
>>> How can I solve this problem?
>> 
>> The shell invoked by the script is the one doing the cd'ing.  Not your
>> shell.
>> 
>> A better faster and generally cool way to do this sort of thing is
>> with functions in your .bashrc (or other login init files)
>> 
>> For the the functionality you wanted above it would look like this:
>> 
>> cdl () { cd $1;ls -lh|more; }
>> 
>> NOTE: The spaces after/before {} are important.
>> The `;' after `more' is vital too.
>> NOTE: `cdl' is just an arbitrary name.  It could be anything.
>> 
>> With that in .bashrc you would have a new command at the prompt.
>> 
>> Type: `cdl dir'
>> 
>> And presto: moved and listed.
>> 
>> In order to get it into your environment as you write it, you will
>> need to source .bashrc after inserting the line like:
>> 
>> source ~/.bashrc
>> 
>> You should be able to cut and paste the line above to get the idea of
>> what it will do. 
>> 
>> Just put it in a file named test for now, to see what it does.
>> (remember to source what ever file you put it in)
>> source test  
>> or  
>> . test

hp> Sorry, the last part there is incorrect.  It doesn't work if you put
hp> it in just any file.  

hp> It has to be a dot file.  A file who's name begins with `.'
hp> Try .test.

hp> Maybe someone here can explain why it doesn't work in a file named
hp> `test' but does in .test?

It sure should  work from any filename, I suspect you are a trying to
run the file test  from a bash shell where test is shell builtin and
shouldn't be used as a filename.

Try putting it into a different named file, such as "testme" .

-- 
Ray Curtis 
mailto:[EMAIL PROTECTED] http://www.ccux.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: --rebuild openssh package prob

2002-03-30 Thread Jason Costomiris

Read the spec file.  It will be glaringly apparent how to fix your 
dependency problems.

-- 
Jason Costomiris <><   |  Technologist, geek, human.
jcostom {at} jasons {dot} org  |  http://www.jasons.org/ 
  Quidquid latine dictum sit, altum viditur.
My account, My opinions.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Where have all the colors gone? WAS:cd in a Shell Script

2002-03-30 Thread The Gyzmo

Thanks a lot, your tip works, but now I have a new problem: the colors
are gone when I run the command. For example, when you run 'ls', there
are different colors to distinguish the folders, text files,
executables, etc, but it's all only one color now (in my case green
because my setup is green on black). How can I make the different colors
appear?

Serban Giuroiu
--
> > Hello. I've written a short shell script to change my directory and 
> > display the contents at once because I'm sick of having to do 'cd dir' 
> > then 'ls -l'. My problem is that once the program is done executing, my 
> > directory remains the same. Here's my script:
> >
> > #!/bin/bash
> > cd $1
> > ls -lh | more
> >
> > How can I solve this problem?

> 
> The shell invoked by the script is the one doing the cd'ing.  Not your
> shell.
> 
> A better faster and generally cool way to do this sort of thing is
> with functions in your .bashrc (or other login init files)
> 
> For the the functionality you wanted above it would look like this:
> 
> cdl () { cd $1;ls -lh|more; }
> 
> NOTE: The spaces after/before {} are important.
>   The `;' after `more' is vital too.
> NOTE: `cdl' is just an arbitrary name.  It could be anything.
> 
> With that in .bashrc you would have a new command at the prompt.
> 
> Type: `cdl dir'
> 
> And presto: moved and listed.
> 
> In order to get it into your environment as you write it, you will
> need to source .bashrc after inserting the line like:
> 
> source ~/.bashrc
> 
> You should be able to cut and paste the line above to get the idea of
> what it will do. 
> 
> Just put it in a file named test for now, to see what it does.
> (remember to source what ever file you put it in)
>  source test  
> or  
>  . test



Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: cd in a Shell Script

2002-03-30 Thread Harry Putnam

Harry Putnam <[EMAIL PROTECTED]> writes:

> "The Gyzmo" <[EMAIL PROTECTED]> writes:
>
>> Hello. I've written a short shell script to change my directory and 
>> display the contents at once because I'm sick of having to do 'cd dir' 
>> then 'ls -l'. My problem is that once the program is done executing, my 
>> directory remains the same. Here's my script:
>>
>> #!/bin/bash
>> cd $1
>> ls -lh | more
>>
>> How can I solve this problem?
>
> The shell invoked by the script is the one doing the cd'ing.  Not your
> shell.
>
> A better faster and generally cool way to do this sort of thing is
> with functions in your .bashrc (or other login init files)
>
> For the the functionality you wanted above it would look like this:
>
> cdl () { cd $1;ls -lh|more; }
>
> NOTE: The spaces after/before {} are important.
>   The `;' after `more' is vital too.
> NOTE: `cdl' is just an arbitrary name.  It could be anything.
>
> With that in .bashrc you would have a new command at the prompt.
>
> Type: `cdl dir'
>
> And presto: moved and listed.
>
> In order to get it into your environment as you write it, you will
> need to source .bashrc after inserting the line like:
>
> source ~/.bashrc
>
> You should be able to cut and paste the line above to get the idea of
> what it will do. 
>
> Just put it in a file named test for now, to see what it does.
> (remember to source what ever file you put it in)
>  source test  
> or  
>  . test

Sorry, the last part there is incorrect.  It doesn't work if you put
it in just any file.  

It has to be a dot file.  A file who's name begins with `.'
Try .test.

Maybe someone here can explain why it doesn't work in a file named
`test' but does in .test?



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: cd in a Shell Script

2002-03-30 Thread Harry Putnam

"The Gyzmo" <[EMAIL PROTECTED]> writes:

> Hello. I've written a short shell script to change my directory and 
> display the contents at once because I'm sick of having to do 'cd dir' 
> then 'ls -l'. My problem is that once the program is done executing, my 
> directory remains the same. Here's my script:
>
> #!/bin/bash
> cd $1
> ls -lh | more
>
> How can I solve this problem?

The shell invoked by the script is the one doing the cd'ing.  Not your
shell.

A better faster and generally cool way to do this sort of thing is
with functions in your .bashrc (or other login init files)

For the the functionality you wanted above it would look like this:

cdl () { cd $1;ls -lh|more; }

NOTE: The spaces after/before {} are important.
  The `;' after `more' is vital too.
NOTE: `cdl' is just an arbitrary name.  It could be anything.

With that in .bashrc you would have a new command at the prompt.

Type: `cdl dir'

And presto: moved and listed.

In order to get it into your environment as you write it, you will
need to source .bashrc after inserting the line like:

source ~/.bashrc

You should be able to cut and paste the line above to get the idea of
what it will do. 

Just put it in a file named test for now, to see what it does.
(remember to source what ever file you put it in)
 source test  
or  
 . test



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rpm question

2002-03-30 Thread Manuel A. Camacho Q.

Try rpm --rebuilddb first.

-Manuel.

ann kok wrote:

> Hi all
> 
> After upgrade db3, I used rpm -qa  but got
> Segmentation fault 
> 
> How do I do it?
> 
> Thank you
> 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Greetings - send holiday greetings for Easter, Passover
> http://greetings.yahoo.com/
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



rpm question

2002-03-30 Thread ann kok

Hi all

After upgrade db3, I used rpm -qa  but got
Segmentation fault 

How do I do it?

Thank you



__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: [REDHAT] cd in a Shell Script

2002-03-30 Thread David Kramer

On Sat, 30 Mar 2002, The Gyzmo wrote:

> Hello. I've written a short shell script to change my directory and 
> display the contents at once because I'm sick of having to do 'cd dir' 
> then 'ls -l'. My problem is that once the program is done executing, my 
> directory remains the same. Here's my script:
> 
> #!/bin/bash
> cd $1
> ls -lh | more
> 
> How can I solve this problem?

The problem is that your script is changing the current directory of the 
subshell it's running in, not your shell.  There are two solutions:
One is to source the script instead of running it.  Type
. myscript.sh
The period works like an #include directive; it reads the script and 
processes it in the current shell.

The second way is to not use a script at all, but a shell function.  man 
bash for more information about them.


   David Kramer [EMAIL PROTECTED]   http://thekramers.net
DK KD One last warning: don't believe anything that you read in this
DKK D document.  Every effort has been made to ensure that this document 
DK KD is incomplete and inaccurate, and I take no responsibility for an
  glimmers of correct information that may, by some fluke, be here.
   UW_IMAP documentation



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



cd in a Shell Script

2002-03-30 Thread The Gyzmo

Hello. I've written a short shell script to change my directory and 
display the contents at once because I'm sick of having to do 'cd dir' 
then 'ls -l'. My problem is that once the program is done executing, my 
directory remains the same. Here's my script:

#!/bin/bash
cd $1
ls -lh | more

How can I solve this problem?
-
Thanks in advance,

Serban Giuroiu

Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: perl -MCPAN -e 'install Bundle::DBD::mysql'

2002-03-30 Thread Nitebirdz

On Fri, Mar 29, 2002 at 05:47:56PM +1200, Phil G wrote:
> Hello all,
> 
> I have been tring to get perl to connect to a mysql database but have been having 
>problems.
> 
> Firstly my system is raq4i with mysql, php, perl installed.
> 
> The problem i am facing is when i run the command 
> perl -MCPAN -e 'install Bundle::DBD::mysql' 
> 
> it throws the following error at me:
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.
> Failed to determine directory of mysql.h. Use
> 
> Any help would be great!!
> 
> Thanks,
> Phil G



Line 167 in the Makefile.PL file appears to attempt to execute mysql_config
file, and it cannot find it.  In my RH 7.1 the file can be found in the
/usr/bin directory and it is installed by the MySQL package itself:

[root@milan /root]# locate mysql_config
/usr/bin/mysql_config

[root@milan /root]# rpm -qf /usr/bin/mysql_config
mysql-3.23.36-1


Are you sure you successfully installed MySQL on the system?  In any case,
you may be better off by downloading the RPM for DBD::mysql from rpmfind.net
and installing that way.

[root@milan /root]# rpm -qa | grep -i mysql
mysql-3.23.36-1
mysql-server-3.23.36-1
php-mysql-4.0.4pl1-9
perl-DBD-MySQL-1.2215-1
mysql-devel-3.23.36-1
mysqlclient9-3.23.22-4






Nitebirdz

Mozilla--> http://www.mozilla.org/
Linux XFS--> http://oss.sgi.com/projects/xfs/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Kernel Errors with short fragments

2002-03-30 Thread Robert Canary

I am getting allot more frequent errors from my dial-up lines as
follows:

Suspect short first fragment.
eth0 PROTO=17 xxx.xxx.xxx.xxx:0 xxx.xxx.xxx.xxx:0 L=20 S=0x00 I=852
F=0x T=112 (#0)

The IPs (xxx.xxx.xxx.xxx) varies with each incident of course.  
This is kernel 2.4.9
pppd 2.4.0
All modems are going through a cyclades multiport serial card.

Any idea what could be causing these errors???

--
robert canary
system services
OhioCounty.Net
[EMAIL PROTECTED]
(270)298-9331 Office
(270)298-7449 Fax



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



USB CD-Writer for RH 7.2

2002-03-30 Thread ravi channavajhala

All,

Does anyone have a good online sources, that have USB
CD-writer stuff to work under RH 7.2?

I'm having a mighty tough time, trying to have the
thing recognized.  The kernel rev is 2.4.9-31.

-ravi

__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: User password length

2002-03-30 Thread Werner Puschitz


On Sat, 30 Mar 2002, Werner Puschitz wrote:

> 
> On Sat, 30 Mar 2002, Ed Wilts wrote:
> 
> > vi /etc/login.defs
> > 
> > You could have found this answer by doing a Google search for "linux minimum
> > password length".  I found the answer in about 2 minutes.
> 
> This doesn't work. You need to search a little bit more.
> 
> You need to set the pam_cracklib option "minlen" in 
> /etc/pam.d/system-auth. But this is getting more complicated since
> pam_cracklib is also using credits and there is also a hardcoded limit. 
> Check the pam_cracklib documentation.
> 

BTW, even when you set minlen=9, the minimum password length will not be 9 
since you are also getting credits for digits, other characters, etc.

I wrote a patch where you can really set the mininum password length by 
disabling credits. For more information, see
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pam/Linux-PAM/doc/modules/pam_cracklib.sgml

I was told that this patch will be implemented in RedHat when they upgrade 
to PAM 0.76 but probably not before.

Werner





___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: User password length

2002-03-30 Thread Werner Puschitz


On Sat, 30 Mar 2002, Ed Wilts wrote:

> vi /etc/login.defs
> 
> You could have found this answer by doing a Google search for "linux minimum
> password length".  I found the answer in about 2 minutes.

This doesn't work. You need to search a little bit more.

You need to set the pam_cracklib option "minlen" in 
/etc/pam.d/system-auth. But this is getting more complicated since
pam_cracklib is also using credits and there is also a hardcoded limit. 
Check the pam_cracklib documentation.

Werner

> 
> ../Ed
> 
> Ed Wilts
> Mounds View, MN, USA
> mailto:[EMAIL PROTECTED]
> - Original Message -
> From: "José Romildo Malaquias" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 30, 2002 12:27 PM
> Subject: User password length
> 
> > How can I configure my Skipjack system so that I cancel the
> > minmum 6 characters password length for login? In prior
> > Red Hat Linux systems I changed the user passwords within
> > linuxconf, which did not obey this minum length rule.
> > Now that linuxconf is not in the distribution anymore,
> > I need to learn how to acomplish this task.
> >
> > Any clues?
> >
> > Regards.
> >
> > Romildo
> > --
> > Prof. José Romildo Malaquias   Departamento de Computação
> > http://iceb.ufop.br/~romildo   Universidade Federal de Ouro Preto
> > [EMAIL PROTECTED]   Brasil
> > [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: User password length

2002-03-30 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Timothy Lee Young wrote:

>> You could have found this answer by doing a Google search for "linux minimum
>> password length".  I found the answer in about 2 minutes.

>But isn't it great to have such a wonderful, technically adept, friendly
>community here to bond with in our times of need?  :-)

Ok, everybody, group hug ...

- -d
- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPKZQ8r9BpdPKTBGtEQL0zwCdGCuvJlax7VzpWJcBarPH9/a6SPAAnjBw
JaAx9h1LZgOtGa+94+y9TXZ/
=R7C4
-END PGP SIGNATURE-




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: User password length

2002-03-30 Thread Timothy Lee Young

But isn't it great to have such a wonderful, technically adept, friendly
community here to bond with in our times of need?  :-)



On Sat, 30 Mar 2002, Ed Wilts wrote:

> vi /etc/login.defs
> 
> You could have found this answer by doing a Google search for "linux minimum
> password length".  I found the answer in about 2 minutes.
> 
> ../Ed
> 
> Ed Wilts
> Mounds View, MN, USA
> mailto:[EMAIL PROTECTED]
> - Original Message -
> From: "José Romildo Malaquias" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 30, 2002 12:27 PM
> Subject: User password length
> 
> > How can I configure my Skipjack system so that I cancel the
> > minmum 6 characters password length for login? In prior
> > Red Hat Linux systems I changed the user passwords within
> > linuxconf, which did not obey this minum length rule.
> > Now that linuxconf is not in the distribution anymore,
> > I need to learn how to acomplish this task.
> >
> > Any clues?
> >
> > Regards.
> >
> > Romildo
> > --
> > Prof. José Romildo Malaquias   Departamento de Computação
> > http://iceb.ufop.br/~romildo   Universidade Federal de Ouro Preto
> > [EMAIL PROTECTED]   Brasil
> > [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



ipchains, firewall

2002-03-30 Thread Thomas Bergstam

 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I'm trying to install ipchains to block out some spammers ip-numbers.
It seems that I have to run LOKKIT to install the ipchains module.
Runing RedHat 7.2, is there another way to load the module? Have edit
the /etc/sysctl.conf file to set the 'net.ipv4.ip_forward' to 1. Have
I forgotten something??




thomas


-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPKYyxu7s0xrwiEESEQKc2QCgwQiYrz6s06EiCTRV6i6Ea4eyTPgAnAvj
Iud/GqTn0XKWoZJ3NBM3UNK0
=aaoc
-END PGP SIGNATURE-



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: VNC & GDM

2002-03-30 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ray Abbitt wrote:

>> Damned if I remember.  I got most of what I needed from the O'Reilly `X
>> Window System Administrator's Guide', along with some Red Hat docs on
>> gdm, which has a pretty straightforward configuration file.  I played
>> with it for a month or so, and then dumped it because its cleartext
>> nature had no future on my LAN.  X isn't one of my strengths, so I don't
>> know if it's feasible to secure remote xdm logins.
>
>Don't bother. Use secure shell. Not only does it get rid of the
>cleartext problem, but it's overall just easier to use. If ssh is 
>set up to forward X and your remote system has an X Server, start
>the X Server on the "client" machine, log into the server with ssh 
>(which will normally give you a terminal window) and any X program 
>you run from the terminal window will be displayed on the "client" 
>machine. 

Yes, I'm familiar with the concept of X forwarding. ;-)  It's not the 
same thing as an X terminal setup via xdm.

>I haven't played much with the VNC server on Linux, but I don't 
>believe you have to have gdm or xdm running. 

You don't.  All you need is Xvnc running on the remote, and the (tiny)  
viewer app on the client.  You can even carry the client on a floppy
disk, or you can set up Xvnc to accept http connections and use a
java-enabled browser.  And unlike X, it's stateless ... you can 
disconnect and then connect from another machine without losing your 
session.

Cheers ... -d


- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPKYu8b9BpdPKTBGtEQJFxwCg3QmSTZzo78NQr+inLcW9mn3WBPcAoJD3
yrSJ00QjIW1etC+cX2JaJ1tM
=fRdp
-END PGP SIGNATURE-




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: User password length

2002-03-30 Thread Ed Wilts

vi /etc/login.defs

You could have found this answer by doing a Google search for "linux minimum
password length".  I found the answer in about 2 minutes.

../Ed

Ed Wilts
Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
- Original Message -
From: "José Romildo Malaquias" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 30, 2002 12:27 PM
Subject: User password length

> How can I configure my Skipjack system so that I cancel the
> minmum 6 characters password length for login? In prior
> Red Hat Linux systems I changed the user passwords within
> linuxconf, which did not obey this minum length rule.
> Now that linuxconf is not in the distribution anymore,
> I need to learn how to acomplish this task.
>
> Any clues?
>
> Regards.
>
> Romildo
> --
> Prof. José Romildo Malaquias   Departamento de Computação
> http://iceb.ufop.br/~romildo   Universidade Federal de Ouro Preto
> [EMAIL PROTECTED]   Brasil
> [EMAIL PROTECTED]





___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



User password length

2002-03-30 Thread José Romildo Malaquias

Hello.

How can I configure my Skipjack system so that I cancel the
minmum 6 characters password length for login? In prior
Red Hat Linux systems I changed the user passwords within
linuxconf, which did not obey this minum length rule.
Now that linuxconf is not in the distribution anymore,
I need to learn how to acomplish this task.

Any clues?

Regards.

Romildo
-- 
Prof. José Romildo Malaquias   Departamento de Computação
http://iceb.ufop.br/~romildo   Universidade Federal de Ouro Preto
[EMAIL PROTECTED]   Brasil
[EMAIL PROTECTED]



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Dual Athlons and the ASUS A7m266-d

2002-03-30 Thread Benjamin R. Mohilef

Has the Redhat kernel-smp-2.4.9-31.athlon.rpm been patched to fix 
the apic error message occuring with some new motherboards 
(particularly the asus 7m266-d)? 

Is there any penalty incurred by booting with -noapic ? 

Alternatively it has been suggested to set the MPS to 1.1 from the
 1.4 table spec. Anyone had the problem and tried this ??
Likewise, any penalty incurred?

Finally, for anyone who got RH7.2 to work in SMP using the asus 
board and a pair of MP 2000's, did you have to go one of the newer 
developmental kernels or was 2.4.9-31 adequate?

Thanks for the information.





___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Why ftp timeout??

2002-03-30 Thread Vimol

I am using PSTL for net connection. And using ftp command to download files. 
Sometime the following 2 things happen while downloading big files:
1. It give Connection time out. The file was partialy downloaded.
2. If net connect is break while downloading, the process is hang for ever. 
It does not come out or it does not detect the net connection break.

Q1. Why is connection timeout is through out while downloading ??
Q2. What is exact technical reason for time out??
Q3. Why it does not come out after net connection break ??


Kvimol



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: VNC & GDM

2002-03-30 Thread Ray Abbitt

On Thu, 28 Mar 2002, David Talkington wrote:

> Damned if I remember.  I got most of what I needed from the O'Reilly `X
> Window System Administrator's Guide', along with some Red Hat docs on
> gdm, which has a pretty straightforward configuration file.  I played
> with it for a month or so, and then dumped it because its cleartext
> nature had no future on my LAN.  X isn't one of my strengths, so I don't
> know if it's feasible to secure remote xdm logins.

Don't bother. Use secure shell. Not only does it get rid of the
cleartext problem, but it's overall just easier to use. If ssh is 
set up to forward X and your remote system has an X Server, start
the X Server on the "client" machine, log into the server with ssh 
(which will normally give you a terminal window) and any X program 
you run from the terminal window will be displayed on the "client" 
machine. 

I know, that sounds confusing so for example, at work I have a 
Windows box with Exceed X Server. At home I have a RH6 system 
without X running. I connect to the home machine from work using   
the MindTerm (java) ssh client. (I have to go through a http only 
proxy--Mindterm can make ssh connections through an http proxy or 
firewall.) After I log in I have a normal vt100 terminal session.
If I type netscape & at the prompt, netscape will be started on
my server at home, but displayed on my MS Windows machine at work.
(I used Netscape as an example--you probably would not be very happy 
with the performance of Netscape this way--but it impresses the
hell out of Windows users.)

I haven't played much with the VNC server on Linux, but I don't 
believe you have to have gdm or xdm running. What little I played 
with it I had an X session (started locally on the server with 
startx) already running on the server--Monday I'll kill the X 
session and see if the VNC server still accepts connections) 

-ray



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: VNC & GDM

2002-03-30 Thread C. Linus Hicks

On Thu, 2002-03-28 at 22:29, Chad and Doria Skinner wrote:
> I have VNC and GDM running on my local computer, but we are wanting to
> install it on a server and want to disable the local x server and just
> enable gdm so that it will respond to vnc connections via xdmcp. I have
> hosts.deny and hosts.allow setup to only allow connections from the local
> machine and block port 177.
> 
> My question is what is the proper method to start gdm in run level 3?
> 
> There do not appear to be any init scripts and in run level 5 I believe it
> is started by inittab.
> 
> Thanks,
> Chad


I created my own init script for gdm in /etc/rc.d/init.d, and if it is
set up properly, you can use chkconfig --add to create the rc.[0123456]
links. I also edited inittab and commented out where it starts it up in
runlevel 5. Then you may have to edit /etc/X11/gdm/gdm.conf to disable
starting a server when you enter runlevel 3, 4 or 5. Make sure under the
[servers] section there is not something like 0=/usr/bin/X11/X or else
comment it out.

Here's the gdm init script I use:

--- Start --
#!/bin/bash

# init file for gdm
#
# chkconfig: 345 98 02
# description: X Display Manager Daemon
#
# processname: gdm
# config: /etc/X11/gdm/gdm.conf
# config: /etc/X11/gdm/gdm-config

# source function library
. /etc/rc.d/init.d/functions

RETVAL=0

case "$1" in
  start)
echo -n "Starting gdm: "
daemon /usr/bin/gdm -config /etc/X11/gdm/gdm.conf
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/gdm
echo
;;
  stop)
echo -n "Shutting down gdm: "
killproc gdm
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/gdm
echo
;;
  restart)
$0 stop
$0 start
RETVAL=$?
;;
  status)
status gdm
RETVAL=$?
;;
  *)
echo "Usage: gdm {start|stop|restart|status}"
exit 1
esac

exit $RETVAL
--- End 





___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



perl -MCPAN -e 'install Bundle::DBD::mysql'

2002-03-30 Thread Phil G



Hello all,
 
I have been tring to get perl to connect to a 
mysql database but have been having problems.
 
Firstly my system is raq4i with mysql, php, perl 
installed.
 
The problem i am facing is when i run the command 

perl -MCPAN -e 'install Bundle::DBD::mysql' 

 
it throws the following error at me:
Can't exec "mysql_config": No such file or 
directory at Makefile.PL line 167.Can't exec "mysql_config": No such file or 
directory at Makefile.PL line 167.Can't exec "mysql_config": No such file or 
directory at Makefile.PL line 167.Can't exec "mysql_config": No such file or 
directory at Makefile.PL line 167.Can't exec "mysql_config": No such file or 
directory at Makefile.PL line 167.Failed to determine directory of mysql.h. 
Use
 
Any help would be great!!
 
Thanks,
Phil G


RH 7.2 and Dual Athlon MP2000's

2002-03-30 Thread Benjamin R. Mohilef

Has the Redhat kernel-smp-2.4.9-31.athlon.rpm been patched to fix 
the apic error message occuring with some new motherboards 
(particularly the asus 7m266-d)? 

Is there any penalty incurred by booting with -noapic ? 

Alternatively it has been suggested to set the MPS to 1.1 from the
 1.4 table spec. Anyone had the problem and tried this ??

Finally, for anyone who got RH7.2 to work in SMP using the asus 
board and a pair of MP 2000's, did you have to go one of the newer 
developmental kernels or was 2.4.9-31 adequate?

Thanks for the information.





___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: sendmail and mail relaying question

2002-03-30 Thread Harry Putnam

Michael George <[EMAIL PROTECTED]> writes:

[...]

> The Linux server sits behind a firewall which does not allow access to an SMTP
> port, so it should be pretty secure to just let the sendmail on that system
> relay mail from any system on the internal network to any system on the
> outside.
>
>>From reading /usr/share/sendmail-cf/README, it seems that the feature
> "promiscuous_relay" would do what we want.  So, I added:
>   FEATURE(`promiscuous_relay')
> to the redhat.mc file in /usr/share/sendmail-cf/cf and ran m4 on it.  I put
> the resulting file in as my /etc/sendmail.cf file and restarted sendmail.

> However, when we tried to have one of the Macs use our server as the
> SMTP host for outgoing mail, it timed out and failed.

Which version of sendmail?
Can you telnet from the Mac to LINUX_HOST? (telnet linux.host 25)
And see a greeting from sendmail?

Does your version of *.mc have something like this in it:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

If so, that tells sendmail only to listen on 127.0.0.1, which will bar
any relaying even from local net machines



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: --rebuild openssh package prob

2002-03-30 Thread Devon

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 30 March 2002 02:30 pm, Bret Hughes wrote:
>
> > Reading your follow-up...
> > Be careful the patch I posted will build packages for the 6.X boxen.
> > Specifically, this part is for 6.x only:
> >
> >  # Is this build for RHL 6.x?
> > - -%define build6x 0
> > +%define build6x 1

> Exactly what I was looking for, thanks much.
> I had to get the RH src rpm since a couple differences in the spec file
> were not refered to in your patch.from openssh.org.

Yes, sorry. I should have specified. My patch was against the stock Red 
Hat spec file.

> Also for anyone reading this thread in the future, the spec file is
> actually in /usr/src/redhat/SPECS not SOURCES.

Again, my mistake, I use a (non root) rpm build environment. I did away 
with the SPECS directory via my .rpmmacros file. (Building RPMS as a 
mortal user prevents one of my hacks from doing an rm -f / as 'root' 
during the build process, amongst other things.) ;)

[mfratoni@tuxfan mfratoni]$ ls rpmbuild/
BUILD  RPMS  SOURCES  SRPMS  tmp

> Thanks again Devon the build was successful and I am off to install and
> test.one of the machines os about two hours from here and in a locked
> closet to which I don't have access to on the weekends without a BIG
> hassle so I will test on a box at the office first.  It has a keyboard
> and monitor incase I screwed something up :)

No problem, glad it helped.

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.freesoftware.fsf.org/rule/

- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8phsneMAUbzJhSVcRAhvDAJ9SbO6p35ITJZqF6Ez4pupO25Tf7wCfQX6Z
A+YnCPXx7ulE/cdECPkOeyQ=
=S5y7
-END PGP SIGNATURE-



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



sendmail and mail relaying question

2002-03-30 Thread Michael George

Our company has a single linux server (running seawolf) along with a bunch of
Macs (one running OS X, most running OS 9 eventually becoming OS X).  We have
our mail "home" and website at a $10/mo. web hosting place.  That is where we
currently have our mail apps in MacOS pointed for sending out their mail.

However, we had our segment of the site go down for a few days.  Not only can
we not retrieve our mail, but we are unable to send mail out.  With our
cable-modem connection to the net, though, our Linux server can mail just fine
from the sendmail running on it because it will directly connect to the
receiving host as "normal" sendmail does.

What we'd like to do is to have the Macs point their mail apps to the Linux
server so that that server can send the mail out directly.  Right now, though,
that doesn't work.

The Linux server sits behind a firewall which does not allow access to an SMTP
port, so it should be pretty secure to just let the sendmail on that system
relay mail from any system on the internal network to any system on the
outside.

>From reading /usr/share/sendmail-cf/README, it seems that the feature
"promiscuous_relay" would do what we want.  So, I added:
FEATURE(`promiscuous_relay')
to the redhat.mc file in /usr/share/sendmail-cf/cf and ran m4 on it.  I put
the resulting file in as my /etc/sendmail.cf file and restarted sendmail.

However, when we tried to have one of the Macs use our server as the SMTP host
for outgoing mail, it timed out and failed.

Is there something I missed?  I've never used qmail (I've gotten used to using
the files in /usr/share/sendmail-cf so I've stuck with it), but would that be
an easier way to do this?

Thanks for the help!

-Michael

-- 
In light of the terrorist attack on the U.S.:
They that give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-- Benjamin Franklin, 1759



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: --rebuild openssh package prob

2002-03-30 Thread Bret Hughes



On Sat, 2002-03-30 at 11:59, Devon wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Saturday 30 March 2002 12:25 pm, Bret Hughes wrote:
> 
> > yeah I know but I REALLY like having the rpms so I can easily (read
> > hard to make mistatkes) upgrade all machines.  I only have 6 or 7 of
> > these 6.x boxes and don't anticipate anymore but I have 32 7.x boxes
> > with more coming and since I still can't afford to have someone be a
> > dedicated admin I have to try and make this as quick and easy as
> > possible.
> 
> Reading your follow-up...
> Be careful the patch I posted will build packages for the 6.X boxen.
> Specifically, this part is for 6.x only:
> 
>  # Is this build for RHL 6.x?
> - -%define build6x 0
> +%define build6x 1
> 
> Just wanted to be sure you didn't miss that part. ;)

Exactly what I was looking for, thanks much.
I had to get the RH src rpm since a couple differences in the spec file
were not refered to in your patch.from openssh.org.

Also for anyone reading this thread in the future, the spec file is
actually in /usr/src/redhat/SPECS not SOURCES.

Thanks again Devon the build was successful and I am off to install and
test.one of the machines os about two hours from here and in a locked
closet to which I don't have access to on the weekends without a BIG
hassle so I will test on a box at the office first.  It has a keyboard
and monitor incase I screwed something up :)  

Bret 




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: --rebuild openssh package prob

2002-03-30 Thread Devon

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 30 March 2002 12:25 pm, Bret Hughes wrote:

> yeah I know but I REALLY like having the rpms so I can easily (read
> hard to make mistatkes) upgrade all machines.  I only have 6 or 7 of
> these 6.x boxes and don't anticipate anymore but I have 32 7.x boxes
> with more coming and since I still can't afford to have someone be a
> dedicated admin I have to try and make this as quick and easy as
> possible.

Reading your follow-up...
Be careful the patch I posted will build packages for the 6.X boxen.
Specifically, this part is for 6.x only:

 # Is this build for RHL 6.x?
- -%define build6x 0
+%define build6x 1

Just wanted to be sure you didn't miss that part. ;)

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt
Red Hat Linux 7.2 in 6M of RAM: http://www.freesoftware.fsf.org/rule/

- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8pf0NeMAUbzJhSVcRAiLEAJsHTooRAGVBsxWY39WN/SgAvF5AQgCfRdP3
agT4dDUMLd1VE/SiL326uj8=
=Nf/X
-END PGP SIGNATURE-



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: --rebuild openssh package prob

2002-03-30 Thread Devon

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 30 March 2002 12:25 pm, Bret Hughes wrote:
> On Sat, 2002-03-30 at 10:33, David Talkington wrote:

> > Bret Hughes wrote:
> > >it is the Xfree and gnome libs stuff that is needed and that leads
> > > me down the road to dependency hell.
> >
> > Oh for Pete's sake, Brother Hughes, just build it from official
> > source. You don't need X-anything for sshd.
>
> yeah I know but I REALLY like having the rpms so I can easily (read
> hard to make mistatkes) upgrade all machines.  I only have 6 or 7 of
> these 6.x boxes and don't anticipate anymore but I have 32 7.x boxes
> with more coming and since I still can't afford to have someone be a
> dedicated admin I have to try and make this as quick and easy as
> possible.

Hi Bret,
Get and install the source rpm. cd {/path/to/rpm/SOURCE/directory}
edit openssh.spec
Change the defines at the top of the file. Here is a patch that should do 
the trick.
[mfratoni@tuxfan openssh-3.1p1]$ pwd
/home/mfratoni/rpmbuild/SOURCES/openssh-3.1p1
[mfratoni@tuxfan openssh-3.1p1]$ diff -Nau openssh.spec.save openssh.spec
- --- openssh.spec.save   Sat Mar 30 12:39:32 2002
+++ openssh.specSat Mar 30 12:45:31 2002
@@ -2,10 +2,10 @@
 %define aversion 1.2.4.1

 # Do we want to disable building of x11-askpass? (1=yes 0=no)
- -%define no_x11_askpass 0
+%define no_x11_askpass 1

 # Do we want to disable building of gnome-askpass? (1=yes 0=no)
- -%define no_gnome_askpass 0
+%define no_gnome_askpass 1

 # Do we want to link against a static libcrypto? (1=yes 0=no)
 %define static_libcrypto 0
@@ -14,7 +14,7 @@
 %define scard 0

 # Is this build for RHL 6.x?
- -%define build6x 0
+%define build6x 1

 # Disable IPv6 (avoids DNS hangs on some glibc versions)
 %define noip6 0

Then rpm -bb openssh.spec should build new binaries for you.

Hope that helps,

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt
Red Hat Linux 7.2 in 6M of RAM: http://www.freesoftware.fsf.org/rule/

- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8pfqLeMAUbzJhSVcRAhEWAJ0QemD/VnqeqBKZZAWCr8e903qzKQCfc2T5
9mnyCeoi6SVYlceJ1ACu+QI=
=D249
-END PGP SIGNATURE-



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: --rebuild openssh package prob

2002-03-30 Thread ABrady

On Sat, 30 Mar 2002 11:25:26 -0600
Bret Hughes <[EMAIL PROTECTED]> quietly intimated:

> On Sat, 2002-03-30 at 10:33, David Talkington wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Bret Hughes wrote:
> > 
> > >it is the Xfree and gnome libs stuff that is needed and that leads
> > >me down the road to dependency hell. 
> > 
> > Oh for Pete's sake, Brother Hughes, just build it from official
> > source.  You don't need X-anything for sshd.
> 
> yeah I know but I REALLY like having the rpms so I can easily (read
> hard to make mistatkes) upgrade all machines.  I only have 6 or 7 of
> these 6.x boxes and don't anticipate anymore but I have 32 7.x boxes
> with more coming and since I still can't afford to have someone be a
> dedicated admin I have to try and make this as quick and easy as
> possible.  
> 
> The ability to rpm -Fvh * a directory on all machines is just too
> easy.
> 
> Thanks for the tips though I will keep this in mind.
> 
> Bret  

Checkinstall is the answer. Make RPMs on one of each machine and
distribute it to the other like machines. It's really simple, and as
long as there aren't any major library differences between all of the
6.x boxes, they shouldn't have any problems installing a version made on
another 6.x box. Ditto on the 7.x machines.

-- 
Windows: Because I'm forced.
Linux: Because I can!



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: --rebuild openssh package prob

2002-03-30 Thread Bret Hughes

On Sat, 2002-03-30 at 10:33, David Talkington wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Bret Hughes wrote:
> 
> >it is the Xfree and gnome libs stuff that is needed and that leads me
> >down the road to dependency hell. 
> 
> Oh for Pete's sake, Brother Hughes, just build it from official source.  
> You don't need X-anything for sshd.

yeah I know but I REALLY like having the rpms so I can easily (read hard
to make mistatkes) upgrade all machines.  I only have 6 or 7 of these
6.x boxes and don't anticipate anymore but I have 32 7.x boxes with more
coming and since I still can't afford to have someone be a dedicated
admin I have to try and make this as quick and easy as possible.  

The ability to rpm -Fvh * a directory on all machines is just too easy.

Thanks for the tips though I will keep this in mind.

Bret  



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Why ftp time out??

2002-03-30 Thread Statux

> I am using normal dial up connection. And using ftp command to download 
> files. 
> 
> Sometime the following 2 things happen while downloading files:
> 1. It gives Connection time out. And the file was partialy downloaded.
> 2. If net connection is break while downloading, the process is hang for 
> ever. It does not come out or it does not detect the net connection break.

Does this happen:

1) On just one host in particular?
2) On a defined set of hosts (like always the same ones)?
3) Randomly?
 
> Q1. Why is connection time out is happen while downloading ??

Tons of things affect network traffic. There really isn't a clear answer.

> Q2. What is exact technical reason for time out??

Usually no packet transfer for X amount of time. (X is defined by the 
server). Lost routes, down routers, severe latency (lag), etc.

> Q3. Why it does not come out after net connection break ??

The server probably has broken the connection upon time-out on its end, 
but if you've never received the packets telling you of this (because 
you aren't receiving any other packets), then the client will just sit 
there waiting since it can't assume what the server is doing. Some clients 
do have time-outs of their own, but in the interest of not tripping over 
the server's feet, they usually let the server do all the talking.

> 
> Kvimol

-Statux




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: --rebuild openssh package prob

2002-03-30 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bret Hughes wrote:

>it is the Xfree and gnome libs stuff that is needed and that leads me
>down the road to dependency hell. 

Oh for Pete's sake, Brother Hughes, just build it from official source.  
You don't need X-anything for sshd.

>I really don't do a lot of compiling and this kind of stuff is
>why I guess.  


$ tar zxvf openssl-0.9.6c.tgz
$ cd openssl-0.9.6c
$ ./configure && make 
$ sudo make install
$ cd ..


$ tar zxvf openssh-3.1p1.tgz
$ cd openssh-3.1p1
$ ./configure && make 
$ sudo make install

Done, except that you'll need an init script.  Feel free to use the one
at http://www.prairienet.org/~dtalk/software/sshd, which is mostly Red
Hat's with a couple of abstractions added for flexibility.

Good luck ...

- -d

- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPKXo279BpdPKTBGtEQLOeQCguGtJdDst36DVXFY5zCT0bkWLRgEAoNsc
E3YBwcmurPEwHP+x7x5x7W3S
=hl7l
-END PGP SIGNATURE-




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



--rebuild openssh package prob

2002-03-30 Thread Bret Hughes

I have a couple of boxes that I want to upgrade ssh on but the
dependency chain for building from the source rpm is kicking my ass. 
These are RHL 6.2 boxes that are pretty pared down 

it is the Xfree and gnome libs stuff that is needed and that leads me
down the road to dependency hell. I am assuming that the problem lies
with the fact that I don't have much in the way of X installed on these
boxes and that the rpm is going to try to build gnome-askpass or
whatever the *(&@ it is called.

Is there a way to tell rpm that I don't want it to build that package
and don't need all that crap?  If indeed that is the problem.  

Do I need to install the src.rpm and tweek the spec file?  What should I
change? I really don't do a lot of compiling and this kind of stuff is
why I guess.

Tips appreciated,

Bret



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Program resources usage monitoring

2002-03-30 Thread Ed . Greshko

On Sat, 30 Mar 2002, David Chao wrote:

> I once heard somewhere that top does not show an accurate memory usage. How
> true is that?

Close enough for most uses.

> Besides, where can I find an explanation of those columns in
> top? I don't remember seeing them in the manpage. 

Your memory is flawed.  It is all spelled out in "man top".

> And would you be kind
> enough to point out which columns in top & ps will be of my interest?

How can we answer what is of interest to you?  

Ed




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Why ftp time out??

2002-03-30 Thread Nitebirdz

On Sat, Mar 30, 2002 at 06:49:20AM +, Vimol wrote:
> I am using normal dial up connection. And using ftp command to download 
> files. 
> 
> Sometime the following 2 things happen while downloading files:
> 1. It gives Connection time out. And the file was partialy downloaded.
> 2. If net connection is break while downloading, the process is hang for 
> ever. It does not come out or it does not detect the net connection break.
> 
> Q1. Why is connection time out is happen while downloading ??
> Q2. What is exact technical reason for time out??
> Q3. Why it does not come out after net connection break ??
> 
> 
> Kvimol
> 


My experience has been that in most of the cases it is due to network
congestion or other associated problems.  In that sense, there is little
you can do about it.  I believe 'ncftp' allows you to resume FTP downloads
where you left them, but you should verify this point by reading the man
page for the application.



Nitebirdz

Mozilla--> http://www.mozilla.org/
Linux XFS--> http://oss.sgi.com/projects/xfs/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: i cann't use any of these services

2002-03-30 Thread Nitebirdz

On Sat, Mar 30, 2002 at 08:04:26AM +0200, Hytham Shehab wrote:
> hi guys,
> whn i get connected - thanks for all help u gave me - i cann't use finger, whois 
>and much other usefull utils, why?, i only have a PPP account, does it necessary to 
>have a shell account to do so?
> 
> --
> Hytham Shehab


What error do you get?  Are you sure you are using the commands correctly?
What are those "other useful utils"?  

You can only use finger to obtain information about a user on a given UNIX
or Linux system.  Are you using it on your own system?  Keep in mind that
you can use it then even if you are not connected to the Net via PPP.  No
matter what though you should make sure it is correctly configured via 
xinetd to allow socket connections.  However, 'finger' is not secure so
you are better off by closing that port.

As for the 'whois' command, make sure you use it as in 'whois yahoo.com'
and it should return you information about that domain.  Of course, you
need to be connected to the Internet at that time.



Nitebirdz

Mozilla--> http://www.mozilla.org/
Linux XFS--> http://oss.sgi.com/projects/xfs/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Program resources usage monitoring

2002-03-30 Thread ABrady

On Sat, 30 Mar 2002 20:33:23 +0800
"David Chao" <[EMAIL PROTECTED]> quietly intimated:

> Hi Ben,
> 
> >top and ps will both do what you are looking for.  There's also gtop
> >(GUI Gnome version of top) and gitps (text-based GUI version of ps),
> >and a whole slew of others I'm sure.  top is my favorite, though.
> 
> I once heard somewhere that top does not show an accurate memory
> usage. How true is that? Besides, where can I find an explanation of
> those columns in top? I don't remember seeing them in the manpage. And
> would you be kind enough to point out which columns in top & ps will
> be of my interest?
> 
> Thanks in advance,
> David

man top

-- 
Well, what was the ham cured OF?



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Program resources usage monitoring

2002-03-30 Thread David Chao

Hi Ben,

>top and ps will both do what you are looking for.  There's also gtop
>(GUI Gnome version of top) and gitps (text-based GUI version of ps),
>and a whole slew of others I'm sure.  top is my favorite, though.

I once heard somewhere that top does not show an accurate memory usage. How
true is that? Besides, where can I find an explanation of those columns in
top? I don't remember seeing them in the manpage. And would you be kind
enough to point out which columns in top & ps will be of my interest?

Thanks in advance,
David



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Program resources usage monitoring

2002-03-30 Thread Ben Logan

On Sat, Mar 30, 2002 at 01:54:47PM +0800, David Chao wrote:
> Hi List,
> 
> I am looking for a tool that will allow me to see the memory usage and CPU
> usage of a program that is running. Best if it can give me a computed
> average of the CPU usage as well. Any recommendations?

top and ps will both do what you are looking for.  There's also gtop
(GUI Gnome version of top) and gitps (text-based GUI version of ps),
and a whole slew of others I'm sure.  top is my favorite, though.

Regards,
Ben

-- 
Ben Logan: ben at wblogan dot net
OpenPGP Key KeyID: A1ADD1F0

Put not your trust in money, but put your money in trust.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: up2date

2002-03-30 Thread Ed . Greshko

On Fri, 29 Mar 2002, Bborie Park wrote:

> I'm a newbie to up2date and don't want to trash it.  When you execute
> the command up2date --configure, the following displays

> 6.  removeSkipList ['kernel*']

> Is it possible for anyone to explain what #6 does?  Is it alright if I
> blank that one out?

Basically, it tells you what packages will be skipped for automatic 
retrevial and installation.  The default is to automatically skip the 
kernel installs.

I would not blank it out.  Generally, it is a good thing to skip updating 
your kernel by default.  This is especially true when you get to the stage 
where you compile and install a custom kernel.

Regards,
Ed




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Firewall question

2002-03-30 Thread Pieter De Wit

Hello,

As long as your users doesn't find out about the other network segment ?!?

Cheers,

Pieter

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 2:02 AM
To: [EMAIL PROTECTED]
Subject: Firewall question


Hellp Redhat-lis members. 
I am sorry if I sound like I don't know what I am doing.
I don't.

Is it possible to set up a firewall with the 2 NIC cards on the
same network?








___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list