Subject: Linux-Admin Digest #166
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sun, 9 Oct 94 06:13:17 EDT

Linux-Admin Digest #166, Volume #2                Sun, 9 Oct 94 06:13:17 EDT

Contents:
  Re: Linux NOT logging people out on hangup (Rocco Caputo)
  DX2-66 @ 80MHz (was: AMD mystery chip etc. etc.) (Andrew Robert Ellsworth)
  Re: /etc/utmp not writable by xterm's.  Why? (Michael Haardt)
  Where to install updates/additions? (Francis J. Bruening)
  [Q] I/O error with sendmail (Tim Bass (Network Systems Engineer))
  Re: SCSI vs IDE (Jeff Kesselman)
  NT and Linux (Hieu Bui)
  [Q] HP JetDirect Support on Linux??? (Larry Schmitt)
  Re: linux C++ class browser?? (Randy Hootman)
  Re: what's wrong with my agetty? (Gert Doering)
  Re: SCO UNIX Binary Compatibility (Sebastian W. Bunka)
  Re: Best SCSI-II and 8mm tape (TlingitMan)
  Re: Telnet & ftp freeze! (Ralph Sims)
  Re: HELP! Floppy mount problems 1.1.49 - 1.1.51!!!! (Rene COUGNENC)
  Re: RPC.Portmap Probs (William B. Cattell)
  Re: 80x50 screen (Stormy Henderson)
  Re: New Adeptec SCSI not detected (Juergen Fischer)
  Re: what does a hosts.allow look like? (Carlos Dominguez)

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

From: [email-masked] (Rocco Caputo)
Subject: Re: Linux NOT logging people out on hangup
Date: Tue, 4 Oct 1994 20:05:39 GMT

I had a run-in with the comp.os.linux.development people over this
several months ago.

The general consensus is:

  Linux strives for POSIX compliance.
  POSIX states that the kernel sends HUP signals only to session leaders.
  POSIX states that session leaders should relay SIGHUP to children.
  Many session leaders (shells, usually) don't follow the POSIX spec.
  Lots of processes wind up chewing up CPU time.

So lots of multi-user admins wind up working around this POSIX "feature"
by writing daemons to kill the processes that Linux doesn't.

If it's any consolation, I've seen a large-scale commercial provider
running AIX grind to a halt because the OS is POSIX compliant and the
shells or applications [kermit, ytalk, and lynx were the major problems]
aren't.  They've got a daemon to work around POSIX now, too.

Good luck, everyone!

Rocco
(Who also has a daemon to work around this wonderful POSIX feature.)

--
-><- Signature.

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

From: [email-masked] (Andrew Robert Ellsworth)
Crossposted-To: comp.sys.ibm.pc.hardware.systems,comp.os.linux.misc
Subject: DX2-66 @ 80MHz (was: AMD mystery chip etc. etc.)
Date: 8 Oct 1994 12:47:40 -0500

>I heard that AMD's version is more reliable than Intel's, and that many
>people have overclocked it to 80 MHz with no problems.  There was even
>a rumor going around that AMD would start to sell them as 486DX2-80's.
>If you see an AMD 486DX2-80 system for sale, I guess the rumor is true.

I've -heard- of many people overclocking Intel DX2-66's as well, and even went
so far as to contact some fellow overseas (via the net of course) who was 
running his at 80 MHz.  I have a DX2-66 (SL enhanced, if that matters -- but
it still runs at 5 volts) and a clock-selectable motherboard (25,33,40,50).  
I'd -like- to be able to get a >20% increase in speed by moving a jumper, but
my main concern is the operaing temperature of the chip.  The way my MB is set
up, I have room for about a 3/8" high heat sink on the chip, but a CPU fan 
blocks three of my ISA slots (excellent engineering...), so I rigged a CPU fan
to blow -across- my heat sink, which is better than nothing at all.  Unlike
my friend's P60, which will fry eggs, I can -just barely- keep my finger on my
heat sink without it getting too hot to touch.  I'm just wondering if I can
keep my chip within specs (assuming it doesn't kill it right off the bat) with
the jig-rigged cooling setup I've got now.

Anyone have any input on this?

Andy Ellsworth
[email-masked]

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

From: Michael Haardt <(michael)[email-masked]>
Subject: Re: /etc/utmp not writable by xterm's.  Why?
Date: Wed,  5 Oct 94 18:47:26 MET

[email-masked] (Joel M. Hoffman) writes:
> If I change it manually to 666, the logins are recorded, but when I
> reboot, the perms get changed back.  Anyone know why?

Because utmp should not be writable.  At best it allows users to fake
whatever, at worst it is a security hole which may allow file
manipulation.  I got told there already was a CERT advisory about that
long time ago, so no reason to scream in excitement :)

> More to the point, is there a better solution to this?

Yes.  Solaris has a suid root program for making and removing utmp
entries.  That way you don't need to have n suid root programs.  I am
not sure, but I think you can also allocate a pty that way.  Not that I
am really happy about that solution, but it certainly is better than
how it is done with Linux and SunOS.

Michael
--
Twiggs and root are a wonderful tree (tm) Twiggs & root 1992 :-)

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

From: [email-masked] (Francis J. Bruening)
Subject: Where to install updates/additions?
Date: 08 Oct 1994 18:16:05 GMT
Reply-To: [email-masked]

Hi,

I think this is probably a general unix sys admin question, but
thought other "new" sysadmins might benefit from the answer.

Basically, I'm in the process of grabbing some apps off the net,
(OK, so they're mostly games.. ;-) and am wondering where the
standard or "correct" place is to install them.

I know to put the executables and man pages in the /usr/local
tree. HOWEVER, my question is where do I keep the sources. For example,
installing crossfire (an X role playing game) installs correctly in
my home directory, but I'd like to move it somewhere general.

Should I make a /usr/local/packages? What do others do? In addition, 
when I upgrade existing packages do I replace the old ones (ie. Xpm) or
move the new release to /usr/local and ensure my $PATH finds the new one
first?

I'll summarize the info I get back.

thanks!
--
==============================================================================
  Francis J. Bruening                             [email-masked]
  Tektronix                                             T&M Central Software
  PO Box 500 M/S:47-704                                Voice: (503) 627-1023
  Beaverton OR.  97076-4600                            Fax:   (503) 627-5587
==============================================================================

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

From: [email-masked] (Tim Bass (Network Systems Engineer))
Subject: [Q] I/O error with sendmail
Date: 9 Oct 1994 00:45:03 GMT

Sendmail sends mail just fine.  Receiving mail gives
the error:

linux[\64]/tmp> /usr/lib/sendmail -v root < /tmp/testmessage
root... Connecting to linux.silkroad.com (local)...
lmail: write failed to temp file /tmp/lmail1465
root... I/O error
linux[\65]/tmp> 

Any ideas?

BTW:  The /tmp/lmail* file(s) are created.

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

From: [email-masked] (Jeff Kesselman)
Subject: Re: SCSI vs IDE
Date: Thu, 6 Oct 1994 06:09:13 GMT

In article <[email-masked]>,
Mark A. Davis <[email-masked]> wrote:
>[email-masked] (Iain J. Bryson) writes:
>
>>Hi.  I am interested in hearing people advocating
>>which is better, IDE or SCSI.  One big advantage
>>for SCSI would be more disks and CD-ROMS not
>>taking up a slot... But it that worth the 
>>extra cost of a (good?) controller?  How about
>>speed?
>
>SCSI is faster, more flexible, allows more types of devices (just about 
>anything), does not slow down the CPU, works infinately better with
>multitasking, has devices which really cost very little more than other
>types, allows connection of up to seven devices per controller, is more
>standardized, is universally accepted, ensures you will keep your
>investment in SCSI devices, is much more portable, etc....
>-- 
>  /--------------------------------------------------------------------------\
>  | Mark A. Davis     | Lake Taylor Hospital | Norfolk,VA (804)-461-5001x431 |
>  | Director/SysAdmin | Information Systems  |    [email-masked]       |
>  \--------------------------------------------------------------------------/

All this is true but its NOT always the interface that makes the 
difference.  Much like steros systems, your transfer rate will only be as 
good as your worst component.  As an example, I have a large, slow SCSI 
drive on my  system and a much more modern IDE drive.  I get best 
performance by using my IDE, not my SCSI for swap....

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

From: [email-masked] (Hieu Bui)
Subject: NT and Linux
Date: 4 Oct 1994 22:10:23 GMT

Hi all.  I'm thinking about getting Windoze NT 3.5 to see if it runs better
than my Windoze for Workgroups... Anyways, right now I'm booting Linux using
Loadlin 1.4 and my MS-DOS 6.2 startup menu.  Anyways, I was wondering,
before I install NT, if I should worry about finding another way to boot
Linux.  I had a friend who had NT 3.1 and he booted that from a DOS 6.2
menu so if NT 3.5 works the same then Loadlin would still work.  Sorry if
this post is to the wrong group but I thought I'd try here first.  Thanks
in advance for any help.  (email reply would be greatly appreciated)

Hieu Bui    [email-masked]
Undergraduate Student
Harvey Mudd College, Claremont CA 

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

From: [email-masked] (Larry Schmitt)
Subject: [Q] HP JetDirect Support on Linux???
Date: 4 Oct 94 17:09:10 -0500

Hi All - We are considering placing our HP Laser Printers directly on the
network using the HP Jet Direct interface.  Has anyone been able to configure
one of these printers in a Linux environment.  The perferred method is to use a
bootp server.  Any help will be appreciated greatly.

Thanks - Larry Schmitt

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

From: [email-masked] (Randy Hootman)
Subject: Re: linux C++ class browser??
Date: Tue, 4 Oct 1994 17:58:55 GMT

The xcoral editor has a built in browser. You can get it from my ftp 
site:

ftp.netcom.com:/pub/rph

Hope this helps.

Randy

: Hello,

:       Anyone be so kind as to tell where I can get
: a C++ class browser & a solid class hierarchy that
: works under linux/XFree386???????

: Thanx
: -- 
: --------------------------------------------------
: -  Adrian Mancini ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
: --------------------------------------------------
: -  The worst fear is fear of a dream. ~~~~~~~~~~~~
: --------------------------------------------------
-- 

///////////////////////////////////////////////////////////////////////
     "In recognizing the humanity of our fellow beings,
      we pay ourselves the highest tribute." - Thurgood Marshall
//////////////////////////////////////////////////////////////////////
Randy Hootman                Randysoft Software             (408) 229-0119

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

From: [email-masked] (Gert Doering)
Subject: Re: what's wrong with my agetty?
Date: Sat, 8 Oct 1994 09:56:08 GMT

[email-masked] (Kenneth H. Gantz) writes:

>I'm trying to add a dumb terminal to my linux machine.
>Here's what I've done so far. I've connected an ADDS terminal
>to my comm 3 port via a null modem cable. I placed the following

Just a guess: try a full-featured cable, or change your cable to make sure
that the CTS, DSR and DCD lines are active on the Linux side (wire them to
DTR). Possibly the kernel flow control gets confused by not connected
(i.e. floating) control lines.

gert
-- 
Yield to temptation ... it may not pass your way again!  --  Lazarus Long
                                                            //www.muc.de/~gert
Gert Doering - Munich, Germany                             [email-masked]
fax: +49-89-3243328                         [email-masked]

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

From: [email-masked] (Sebastian W. Bunka)
Subject: Re: SCO UNIX Binary Compatibility
Date: 7 Oct 1994 07:53:39 GMT
Reply-To: [email-masked]

Steve Miller ([email-masked]) wrote:
: I read an article in a recent Unix magazine that Linux can run SCO
: Unix binaries. What do I need to do this? (I have SLS 99.12 installed)

Upgrade your Kernel to (at least) 1.1.24 - get:
bdflush (update replacement) sunsite -> kernel/v1.1
modules (for inserting and removing of loadable modules) same
iBCS2-emulator (the emulator) sunsite -> slackware-source/extra-stuff...

compile; insmod iBCS - ready.

Get WP51 demo from ftp.wordperfect.com:/unix/WP51/demo/sco.z
Get wpfix.tgz from sunsite
runs fine!

Get Xess3-demo from ftp.uu.net:/vendor/ais/xess3
runs faster than lotus 123 for Windo$e ;-)
(Stupid, but working: Mosaic for Sco; Xarchie for Sco...)

Have fun!
Sebastian
--

email:                   [ [email-masked] ]
voice:                   FAX:
+43-1-71155260           +43-1-7149110
Location: earth, europe, austria, vienna  Inst. of Bacteriology  Vet.Univ.

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

From: [email-masked] (TlingitMan)
Subject: Re: Best SCSI-II and 8mm tape
Date: 6 Oct 1994 22:17:10 -0400

In article <[email-masked]>,
[email-masked] (Mark Grennan) writes:

My Exabyte 8505 has been measured to sustain 400MB/sec in 8k or greater
blocks on my 486DX33EISA*8MBRAM*ADAPTEC1742, even with a few retries.

Beat that!  As well, it is a good 10% faster than the dozen or so 8500s I
have and twice as fast as the 8200s.  

CARDS: The 1542C is a bit slower due to the fact that it can't queue up as
many SCSI commands as the 1742. I can't get the 2740 to work with the
alpha driver I have, but I think the drive becomes the limiting factor
then. Of course the Busteks are nearly perfect but cheaper clones of
excellent Adaptec products.

Future Domain 16xxISA and 18xxISA cards are next fastest, and then the
Always 2000's.

The WD7000 is slow, but faster than any other 8 bit or NCR5380 out there.
As well, they take more away from the processor.

You might say I have a variety.

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

From: [email-masked] (Ralph Sims)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.development
Subject: Re: Telnet & ftp freeze!
Date: 7 Oct 1994 01:36:59 GMT

[email-masked] (Colin Beckmann) writes:

>: And what about those of us that DON'T see it?  Basic setup is a
>: dedicated PPP link on a 14.4 dialup, NET-3 stuff, ppd 2.1.2a,
>: etc., with an InfoMagic/TransAmeritech CD-ROM combined install.

>I am NOT seeing th problem,  Have a  14.4 modem using NET-3 pppd 2.2.2a with 
>slackware 1.2 , and kernel 1.1.30.  I have downloaded 20 and 30 megs in a
>single session via ftp and never had a problem.  I regularly rlogin to
>other sites, once again without problem

Well, the only thing I didn't add was 1.1.51 for the kernel.  While
nothing is locking up, there is a lag while telnetting with an FTP
session going on that is annoying.  I've received a patch that I
hope to be able to roll in this weekend and do some serious testing.
Other things that run are Sendmail+IDA as a daemon, xntpd, and
CERN's web server.  The ftp session definitely takes over the system.

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

From: [email-masked] (Rene COUGNENC)
Subject: Re: HELP! Floppy mount problems 1.1.49 - 1.1.51!!!!
Date: 7 Oct 1994 02:09:09 GMT
Reply-To: [email-masked] (Rene COUGNENC)

Ce brave Andre Robotewsky ecrit:

> Hi there,
> I've seen a bunch of posts related to the floppy mount problems with
> the 1.1.51 Kernel, but so far, I haven't seen any answers...

I have seen a lot...
And this is now fixed in patch52.

--
 linux linux linux linux -[ [email-masked] ]- linux linux linux 

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

From: [email-masked] (William B. Cattell)
Subject: Re: RPC.Portmap Probs
Date: Sat, 8 Oct 1994 05:04:29 GMT

Mitchum DSouza ([email-masked]) wrote:

: Doesn't seem to me like your portmapper is running. Is it ?? Does rpc.portmap
: appear in your process table ? What does

:       rpcinfo -p 

: say ??

: Mitch

I run the rpcinfo -p and it gives me;

   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
 545580417    1   udp    654
 545580417    1   tcp    656
    100003    2   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100005    1   udp    656  mountd
    100005    1   tcp    658  mountd
    150001    1   udp    677

I think I probably have a corrupted portmapper on the 386/25 system.  I 
will test that later tonight/tomorrow morning.  Thanks.

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

From: [email-masked] (Stormy Henderson)
Subject: Re: 80x50 screen
Date: 8 Oct 1994 15:54:27 -0400
Reply-To: [email-masked]

   |> It will display all the available text VGA modes for your card. 
                      ^^^

Actually, not all.  I found a kernel patch in c.o.l.d that adds 4 new text
modes to any vga card, 80x30, 80x36, 80x40, 80x44...80x36 is perfect for 15"
monitors with the lat2-12 font.  When I found this patch I deleted Xwindow, no
need for it anymore.  (c:

Be happy...

- Stormy the happinator     "The Moving Finger writes; and, having writ
                             Moves on: nor all your Piety nor Wit
  Reply to:                  Shall lure it back to cancel half a line, 
  [email-masked]    Nor all your Tears wash out a Word of it."

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

From: [email-masked] (Juergen Fischer)
Subject: Re: New Adeptec SCSI not detected
Date: 7 Oct 1994 09:03:57 +0100

In <[email-masked]> leadfoot@leftlane (Mark Curtis) writes:

>I'm using an aha1542CF at port 230, IRQ 11, and DMA 7.  Would I use
>ramdisk aha152x=0x230,11,7,1, or isn't this correct?  What does the
>1 at the end of this option do?  I'm trying to install the Slackware
>1.2 release off the CD included with the book "Internet CD".  I just
>haven't been able to get the kernel to see my AHA-1542CF SCSI
>controller when it boots so I can't complete the installation.

You didn't get it.  The aha152x line (and driver) is only
necessary if your using a AIC-6260 or AIC-6360 based controller
(aha1505, aha1510, aha1515, aha152x, SB 16 SCSI-2 and various
other computers that come with a SCSI-controller on board;
including the ZEOS board).

If you're still interested in the trailing 1:  The aha152x
driver supports the dis-/reconnect feature of SCSI devices, but
it can be disabled (by giving a 0 as last argument).

As usual on problems relating to scsi on linux: there is a
SCSI-Howto that answers most questions.

Juergen

-- 
 Juergen Fischer                       cs student @ Fachhochschule Ostfriesland
 Schulstrasse 18                      Fachbereich Elektrotechnik und Informatik 
 26506 Norden (Germany)                                   26723 Emden (Germany)
      +49-4931-168199 / [email-masked] / fido: 2:2426/1010.14

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

From: [email-masked] (Carlos Dominguez)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: what does a hosts.allow look like?
Date: 6 Oct 1994 23:07:45 -0400

Rob Newberry ([email-masked]) wrote:

: I'm constantly getting "malformed entry" errors with my hosts.allow file.  Can 
: someone post one here, or mail me a copy of theirs or a faked one to let me 
: know what it needs to look like?

Try using "man 5 hosts_access" to get the proper structure.

Hope this helps..

-- 
  __  __   __ | .__.  __. ::::  Carlos Dominguez - proprietor - sysadmin  
 |    __| |   | |  | |__  ::::  [email-masked]
 |__ |__| |   | |__| .__| ::::  Basselope *nix systems
  ---------------------------   Internet services consulting is our forte

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

** 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-masked]

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

    Internet: [email-masked]

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

End of Linux-Admin Digest
******************************