Linux-Misc Digest #17, Volume #24                 Sat, 1 Apr 00 13:13:03 EST

Contents:
  (OT) Duplex printing (Harold Stevens ** PLEASE SEE SIG **)
  Re: Check the date (Leonard Evens)
  Re: Boot into Linux w/out X starting ??? (Leonard Evens)
  Re: QUESTION! (Jan Schaumann)
  Re: How to manage Apache logs (Jan Schaumann)
  Re: A really quick one (Steve)
  Re: Electric Eyes VS fvwm (Rick)
  tripwire question (David Turley)
  Re: can't mkfs ?!?! ("Peter T. Breuer")
  Re: Check the date ("Peter T. Breuer")
  RedHat 6.2 and XEmacs (Andy9701)
  Linux and Windows (Phil Tucker)
  Installation of MySQL on Linux (Raymond)
  Re: Smail - mailing list - Security Violations (lanode)
  Re: Optimizing directory structures for ext2 fs and lots of files. (Christopher 
Browne)
  Re: Linux and Windows ("Peter T. Breuer")
  Re: compare big files with kind of checksum (peter pilsl)
  Re: pipes and xterms (Jonathan Stowe)
  FA: Red Hat Linux, Slackware & book, and various IBM PS/2 items ("Jesus M. 
Rodriguez")

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Harold Stevens ** PLEASE SEE SIG **)
Subject: (OT) Duplex printing
Date: Sat, 01 Apr 2000 15:15:43 GMT

In <8c3vuu$t3d$[EMAIL PROTECTED]>, Timothy J. Lee:

[Snip...]

|> But really, the printer should have duplexing on by default to
|> make things nicer for the users (easier to deal with duplexed
|> printouts) and save paper (money).  Only in the rare case of
|> printing things like labels is non-duplex preferable.

[Snip...]

In general I agree, but rumors persist among some printer maintenance
folks that most lasers deteriorate more quickly in a perpetual duplex
mode. This is based on the mechanical sheet feed reversal needed with
most (all?) laser duplex, as well as an elevated thermal duty cycle.

However, I don't have substantial sources supporting this notion.

--

Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
Pardon the bogus email domain (dseg etc.) in place for spambots.
Really it's (wyrd) at raytheon, dotted with com. DO NOT SPAM IT.
Standard Disclaimer: These are my opinions not Raytheon Company.


------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Check the date
Date: Sat, 01 Apr 2000 08:57:19 -0600

Tom Watson wrote:
> 
> Is this Microsoft thing true?
> 
> http://2000.camelot.ca/en/software.html

Try to order it.  It is supposedly only available to
residents of Quebec, and one must get an appropriate form
from some Quebec ministry with a suspicious sounding title.

Note the date!

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Boot into Linux w/out X starting ???
Date: Sat, 01 Apr 2000 08:50:57 -0600

Mike Murphy wrote:
> 
> I'm running RH 6.1. How do I boot into Linux without X starting
> automatically? X is set to start automatically now. My display is all
> messed up, I can't read the screen in X so I need to run  Xconfigurator
> outside of X. I tried my rescue disk but it didn't work.
> 
> thanks.....Mike

If you just want to run Xconfigurator to fix X, boot with
linux 3
at the Lilo boot prompt.   That will bring you up in run
level 3.  You can then login as root and run Xconfigurator.
To see if it works, use the command startx.

If you want permanently to be in runlevel 3, edit the file
/etc/inittab, and change the line
id:5:initdefault:
to
id:3:initdefault:

In run level 3, you get a simple terminal interface, aqnd after
you login, you use the command startx to start X and your
default desktop/window manager.  When you logout from it,
you will still be logged in at the terminal interface.

============================
Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Jan Schaumann <[EMAIL PROTECTED]>
Subject: Re: QUESTION!
Date: Sat, 01 Apr 2000 10:44:25 -0500

Johan Kullstam wrote:
> 
> "Jeffrey S. Kline" <[EMAIL PROTECTED]> writes:
> 
> > Another one who probably wants to pirate and play all those Windoz games
> > under something he doesn't want to pay for...
> 
> how can you avoid paying for windows?  it's pre-installed everywhere.
> (yes, i know you can build your own.  however you have to go out of
> your way to avoid it.)

You mean avoid paying for windows *and* using it, or avoid paying for
widows *since you don't use it anyway*?

the latter can be done, but it is a pain in the ass:
In the store, where you buy the computer, you bring you alternative
OS-install disk/floppy etc. With the sales-person watching you
(witness), you directly install another OS without *ever* booting into
windows (by booting into windows, you accpept the EULA). Then you start
fighting with the legal-department of MS, writing to them that you never
used windows, that you have witnesses and that you want you 130 bucks
back (or whatever the price is).
I have heard the story of a guy in australia who actually got the money
back, but it took himsomething lkke 6 months or so
(http://www.netcraft.com.au/geoffrey/toshiba.html)...

-Jan

-- 
Jan Schaumann
http://jschauma-0.dsl.speakeasy.net

Nothing makes a person more productive than the last minute.

------------------------------

From: Jan Schaumann <[EMAIL PROTECTED]>
Subject: Re: How to manage Apache logs
Date: Sat, 01 Apr 2000 10:46:39 -0500

Jonathan wrote:
> 
> Hi,
> I would like to know what is the best way to manage Apache's
> access_logs files? Suppose i need to get a monthly analysis report on
> hits. What i'm doing now is to stop the httpd daemon, backup the
> access_log to another place, and run 'echo 0' to the original file to
> clear up the logs. (Then, i would download the access_log file to my PC
> and analyse it using analog) Or is there a better way(e.g. automating
> by cron) that you guys use? Thanks for sharing any tips & tricks.

http://www.analog.cx/ on linux

-Jan

-- 
Jan Schaumann
http://jschauma-0.dsl.speakeasy.net

The only function of economic forecasting is to make astrology look
respectable.
                -- John Kenneth Galbraith

------------------------------

From: [EMAIL PROTECTED] (Steve)
Subject: Re: A really quick one
Reply-To: [EMAIL PROTECTED]
Date: 1 Apr 2000 17:04:35 GMT

On Fri, 31 Mar 2000 11:58:17 +0000, kev wrote:
>Hi,
>
>I've done this loads before, but for the life of me I can't remember
>fully the correct command now.
>I want to kill telnet and ftp on my machine. I have edited the file
>/etc/inetd.conf and commented out the telnet and ftp lines. It's the
>next step I can't quite remember. I tried 'killall -HUP inetd' but that
>didn't work. What am I missing?
>
>thanks,
>
>- Kev
>

I think what you're looking for is:

# /sbin/telinit q

as root.


-- 
Cheers
Steve              email mailto:[EMAIL PROTECTED]

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  4:49pm  up 1 day,  1:25,  6 users,  load average: 1.00, 1.10, 1.09

------------------------------

From: Rick <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: Electric Eyes VS fvwm
Date: Sat, 01 Apr 2000 11:10:07 -0500

Steve wrote:
> 
> On Sat, 01 Apr 2000 00:47:02 -0500, Rick wrote:
> >I have just started having a problem with electric eyes. I can start it
> >froma menuin fvwm2, but I cnat get it to do anything. But, when I start
> >it from an xterm or from another user account (not using fvwm2) it is
> >fine. Nay ideas on what is going on?
> >
> >Any and all help appreciated.
> 
> Find the config file in that users home directory and delete it, then
> try running it and I'd suggest it'll see that there's no config file
> there so will create a standard version that should work.
> 
> --
> Cheers
> Steve              email mailto:[EMAIL PROTECTED]

I have removed the .ee file and rerun electric eyes. Same results. I
cnat seem to run ee from fvwm2. I CAN run it from my account when I
start x with another user account, OR if use fvwm2 and start ee from a
terminal window. I also just found out if I use GNOME/Enlightenment I
can start ee from the menus that pop up from the panel, but not from the
menus that come up by clicking onthe desktop.

I am going to try reinstallin both electric eyes AND fvwm2 and see what
that does.

Any other ideas?

-- 
Rick
To reply by email remove NOSPAM from my address.

------------------------------

From: David Turley <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.slackware
Subject: tripwire question
Date: Sat, 01 Apr 2000 16:22:51 GMT

(no answer in linux.security)

After editing my boot scripts,  I expected Tripwire to complain, but it did
not catch the changed files. Here's the section from my policy file:

 (rulename = "Boot Scripts")
{  
/etc/rc.d/RC.samba           -> $(SEC_CONFIG);
/etc/rc.d/rc.0               -> $(SEC_CONFIG);
/etc/rc.d/rc.4               -> $(SEC_CONFIG);
/etc/rc.d/rc.6               -> $(SEC_CONFIG);
/etc/rc.d/rc.K               -> $(SEC_CONFIG);
/etc/rc.d/rc.M               -> $(SEC_CONFIG);
/etc/rc.d/rc.S               -> $(SEC_CONFIG);
}       

As a test I modified rc.0 and rc.4, yet here's the output from TW:

Rule Name                       Severity Level    Added    Removed  Modified
=========                       ==============    =====    =======  ========

Boot Scripts                    0                 0        0        0

What am I doing wrong here?



-- 
David Turley
[EMAIL PROTECTED]

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: can't mkfs ?!?!
Date: 1 Apr 2000 16:24:31 GMT

Steve <[EMAIL PROTECTED]> wrote:
: On Sat, 1 Apr 2000 09:35:14 +0200, Ohad M. Somjen wrote:
:>
:>   Device Boot    Start       End    Blocks   Id  System
:>/dev/hda1             1         7     56196   83  Linux
:>/dev/hda2             8        24    136552+  82  Linux swap
:>/dev/hda3            25       216   1542240   83  Linux
:>/dev/hda4           217       524   2474010    5  Extended
:>/dev/hda5           217       262    369463+  83  Linux
:>
:>

: It looks asthough hda4 and hda5 are overlaping. They both start

They are! By design. hda4 is the extended partition. hda5 is the (one
and only) logical partition inside it.

: on 217.  This is just a shot in the dark as I don't really know
: much about partitions and disks. 

Apparently.

The only thing notable about the table above is that he's left
cylinders 263 to 524 inclusive available for more partitions.

Peter

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Check the date
Date: 1 Apr 2000 16:25:39 GMT

Leonard Evens <[EMAIL PROTECTED]> wrote:
: Tom Watson wrote:
:> 
:> Is this Microsoft thing true?
:> 
:> http://2000.camelot.ca/en/software.html

: Try to order it.  It is supposedly only available to
: residents of Quebec, and one must get an appropriate form
: from some Quebec ministry with a suspicious sounding title.

The title being, of course, french for "april fool".

: Note the date!

Some people don't note anything.


Peter

------------------------------

From: Andy9701 <[EMAIL PROTECTED]>
Subject: RedHat 6.2 and XEmacs
Date: Sat, 01 Apr 2000 16:45:25 GMT

I just installed RedHat 6.2 yesterday, and I'm having some problems
with Emacs, I think.  Before I had RedHat 6.2, I was running 6.0, and
when I ran Emacs it came up in a nice window, with a nice font, colors,
etc.  However, now when I run it, it still works, but it doesn't look
as nice.  I think that I didn't install XEmacs, just emacs, but I'm not
entirely positive (I did click to select Emacs during setup, but I
didn't install individual packages inside it).  Do you think that is
why I'm not getting a "pretty" version of emacs in a window?  If that's
the case, is XEmacs available from the gnu ftp site?

Thanks,
Andy


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Phil Tucker <[EMAIL PROTECTED]>
Subject: Linux and Windows
Date: Sat, 01 Apr 2000 17:30:09 GMT

How do i setup a linux box so that windows clients can authenticate at log 
on and use shared resources. 

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: Raymond <[EMAIL PROTECTED]>
Subject: Installation of MySQL on Linux
Date: Sat, 01 Apr 2000 17:31:26 GMT

Dear All,

I have a linux server. When I login, I see :
=======================================
Red Hat Linux release 5.1 (Manhattan)
Kernel 2.0.34 on an i686
=======================================

I want to install MySQL on this linux server.
But on the page http://www.mysql.com, I found that:

=========================================================
Note that this RPM does not work on RedHat 5.x systems
beacause of glibc incompatibilities. Download the source
rpm and do a rpm --rebuild to get a 5.x RPM
=========================================================

I download the file "MySQL-3.22.32-1.src.rpm".
What should I do with this file then? I have tried :

prompt> rpm --rebuild MySQL-3.22.32-1.src.rpm

But I got the following message :
==================================================================
Installing MySQL-3_22_32-1_src.rpm
line 12: Unknown tag: Group(pt_BR):     Aplica��es/Banco_de_Dados
==================================================================
and it seems that in /usr/src/redhat/SOURCES/, a file called
mysql-3.22.32.tar.gz is created. What should I do next ?
How to install MySQL by rpm ? I am not familiar with linux and rpm.
Could you please tell me more about the procedures in installing
MySQL on Red Hat Linux release 5.1 ? Thank you very much.


Regards,
Raymond


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: lanode <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.smail
Subject: Re: Smail - mailing list - Security Violations
Date: Sat, 1 Apr 2000 18:28:18 +0100

[EMAIL PROTECTED] (Steffen Bardolatzi) wrote:
>On Fri, 31 Mar 2000 14:01:33 +0100, Donal <[EMAIL PROTECTED]> wr=
ote:



>Did you set the variable to allow to send to more then 100 recipients at=
 one
>time? The max. default is 100.
>
>smtp_max_recipients=3D200

I have only 4 entries in at the moment.


>
>
>I didn't try the list's file yet but does the Majordomo is running on th=
e IP of
>the localhost e.g. do you have set:
>
>smtp_remote_allow=3DlocalIP:IP
>
>Else SMail might think someone wants to send spam and refuses the connec=
tion
>with "Security Violation". Does Majardomo's domain name is entered as be=
ing local
>in SMails configuration (the IP number is *not* enough)?
>
>hostname=3Dlocalhost:domainname
>

I cannot find the smtp_remote_allow option anywhere. =20
I have tried   "smail -bP ALL | grep smtp"  and it doesn't show up.   I h=
ave
also checked "man smailconf" and "man smaildrct" but I cannot find it.
I think that you are right in suggesting permissions, but I don't know en=
ough
to track it down.
I have copied the output of an attempt to send to majordomo below.  I not=
ice
that it says    "expansion failed for user   and later  "owner (none)"

If I send to a mailing list called testlist I also get the same errors.


  bash-2.02# echo help | sendmail -v7 majordomo
  new spool file is /var/spool/smail/input/12bRgC-00027pC
  write_log: Received FROM:root PROGRAM:sendmail SIZE:62
  expand_string: expansion failed for ${user
  director aliases: matched majordomo, aliased to "|/usr/lib/majordomo/wr=
apper
  majordomo",   owner (none)
  process_field: entry
  enqueue_address("|/usr/lib/majordomo/wrapper majordomo")
  process_field: return (null)
  write_log: no valid recipients were found for this message
  write_log: Failed TO:"|/usr/lib/majordomo/wrapper majordomo" DIRECTOR:a=
liases
  ERROR:(ERR104) director aliases: security violation=20

Thanks
--=20
Donal




------------------------------

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Optimizing directory structures for ext2 fs and lots of files.
Reply-To: [EMAIL PROTECTED]
Date: Sat, 01 Apr 2000 17:43:44 GMT

Centuries ago, Nostradamus foresaw a time when Lincoln Yeoh would say:
>Hi,
>
>I've heard that ext2 fs becomes less efficient if there are tons of files
>in a directory.
>
>OK what if I have lots of files. How should they be split?
>By 100s?
>e.g.
>/opt/d0/file0
>..
>/opt/d0/file99
>
>/opt/d1/file100 
>..
>/opt/d1/file199
>
>
>/opt/d99/file9900
>..
>/opt/d99/file9999
>
>Or by 200s? 500s? or 1000s? 
>
>Basically how much time does it take to change one directory level, vs scan
>through 100 files. How flat should the "pyramid" be.
>
>I'll probably consider other file systems in the future (they have to be
>fast, cheap, reliable, robust and SMP safe). But meanwhile I'm sticking
>with ext2.

I think I'd go with the 100 option.  

It has the merit that you can go into the directory, type "ls," and 
get a list of files/directories that is not so large that it has to occupy
several screens.  

A couple other thoughts:

a) Use leading zeros so that these encoded filenames are of uniform
   length.
   For instance, /opt/d00, /opt/d02, ... /opt/d98, /opt/d99

Uniform lengths means that you can do matches via more specific
expressions that can be safer and possibly faster.

"ls /opt/d[0-9] /opt/d[0-9][0-9]"
   is not as good as
"ls /opt/d[0-9][0-9]"

b) If this stuff is cryptic, there's no merit in having long filenames.

/opt/d00/f210 is more compact than /opt/d00/file210, and is no less
understandable.

c) Be prepared to do a benchmark based on using 100 files/directory
as well as 1000 files/directory.  That's likely the most relevant
comparison.  You're not likely to see *great* benefit in moving from
100 files/directory to some "perfect sweet spot" of 345/directory.

d) Consider using hexadecimal values in the encoding, or, if you want
"several hundred" files per directory, the option of transforming to
"base 36," where you combine the 10 digits 0..9 with the 26 letters a..z
to provide you [10+26] * [10+26] or 1296 as the limit in two characters.
Small filenames are going to be more efficient to work with both in your
code and within the kernel's support for the filesystem.
-- 
--Kill Running Inferiors--
[EMAIL PROTECTED] - - <http://www.hex.net/~cbbrowne/lsf.html>

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Linux and Windows
Date: 1 Apr 2000 17:38:46 GMT

Phil Tucker <[EMAIL PROTECTED]> wrote:
: How do i setup a linux box so that windows clients can authenticate at log 
: on and use shared resources. 

Read the Samba-HOWTO and find out ...

Peter

------------------------------

From: peter pilsl <[EMAIL PROTECTED]>
Subject: Re: compare big files with kind of checksum
Date: Sat, 01 Apr 2000 17:45:57 GMT

In article <5hfF4.3530$[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> Centuries ago, Nostradamus foresaw a time when peter pilsl would say:
> 

this is definetely the best I�ve ever seen here ;)

peter

-- 
pilsl@
goldfisch.at.at

------------------------------

From: Jonathan Stowe <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.perl.misc
Subject: Re: pipes and xterms
Date: 1 Apr 2000 16:28:09 +0100
Reply-To: Jonathan Stowe <[EMAIL PROTECTED]>

<groups and followups trimmed>

In comp.lang.perl.misc Steven Szabo <[EMAIL PROTECTED]> wrote:
> Hi,
>  I was wondering if there is a chance to talk to an xterm like any other
> process in UNIX, is it possible to do something like this:
> 
> 0: #!/usr/misc/bin/perl
> 1: use Shell qw(Xterm);
> 2: $pid = open(XTERM, "| Xterm \&")||die("Can't fork XTERM\n");
> 3: local $SIG{PIPE} = sub { die "XTERM pipe broke\n" };
> 4: select(XTERM); $| = 1;                      # make it unbuffered
> 5: sleep 5;
> 6: print(XTERM "telnet somehost\n");
> 7: close(XTERM)||die "Can't close XTERM\n";
> 
> ?
> This doesn't work because the pipe breaks every time I try to write to
> it.
> 

Of course it wont work - the program 'xterm' does not read from its STDIN
in that way.  If you want to start xterm with a specific program you 
could do :

  system('xterm','-e','telnet','localhost');

For instance.  read the xterm manpage for more on its options.

If you want to actually control the xterm in someway you will have to
start messing with the X Events that are sent to the window and I dont
think you want to be doing that right now.

/J\
-- 
Jonathan Stowe
http://www.gellyfish.com
http://www.tackleway.co.uk

------------------------------

Date: Sat, 01 Apr 2000 13:05:37 -0500
From: "Jesus M. Rodriguez" <[EMAIL PROTECTED]>
Subject: FA: Red Hat Linux, Slackware & book, and various IBM PS/2 items

Check out my PS/2 auctions on eBay.

IBM 16/4 MB Token Ring (MCA)
http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=297992537

IBM PS/2 2.88MB Floppy drive
http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=298000215

IBM PS/2 57SLC2 (50MHz) System Board
http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=298170184


My other auctions that can be used with PS/2s are

Linux: Configuration & Installation (3rd. Edition)
w/ Slackware 3.3
http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=298103655

Intel 486 DX2 66 MHz CPU
http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=298004921

OFFICIAL Red Hat Linux 5.2 w/ powertools
http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=296124660

Happy Bidding.

Jesus Rodriguez
[EMAIL PROTECTED]


------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to