Subject: Linux-Admin Digest #26
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Mon, 5 Sep 94 20:15:35 EDT

Linux-Admin Digest #26, Volume #2                 Mon, 5 Sep 94 20:15:35 EDT

Contents:
  Re: [HELP]  NIGHTMARE CONFIGURING THE NETWORK WITH A 3C503/16 PLEASE HELP !! (Miguel de Icaza)
  Re: periodic execution (Robert W. Brewer)
  ALEX, AFS on Linux? [Was: Is it possible to have NFS via TERM] (Dan Connolly)
  Re: [ALERT] Password problem with Linux (Robert W. Brewer)
  Re: HORRIBLE SWAP THRASHING BUG(feature?) (please try this) (Jim Gifford)
  Re: [ALERT] Password problem with Linux (Jerry Ablan)
  Re: [ALERT] Password problem with Linux (Jerry Ablan)
  How to set up a Linux PC as an X-terminal (Harald Milz)
  Q: Can I boot Linux over a network? (Harald Milz)
  Re: linux & ISDN (Gregory Trubetskoy)
  open an x-window with login: prompt (XiaoFei Wang)
  middle butt of a mouse (XiaoFei Wang)
  Re: colors with DJ 550C ?? (Robert Wolter)
  GNU Finger 1.3.7? (Michael Wight)
  Re: Monitoring TTY's .. (Ivan Parga)
  Re: Linux Accounting (Juha Virtanen)
  Re: colors with DJ 550C ?? (Eugene Austin III Gibbs)

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

From: [email-masked] (Miguel de Icaza)
Crossposted-To: comp.os.linux.development,comp.os.linux.help
Subject: Re: [HELP]  NIGHTMARE CONFIGURING THE NETWORK WITH A 3C503/16 PLEASE HELP !!
Date: 05 Sep 1994 17:02:15 GMT

> o I have tried to install NetKit A and B and noticed that ifconfig
>   returns something like
> 
>       IRQ=0 and BaseAddr=0.
> 
>       Also HWaddr=00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

I had a similar problem with the DEPCA driver in some 1.1.1x or 2x
version of the kernel, now it's fixed, but what I did that time was to
hard code the IRQ value in the Space.c file in ~linux/drivers/net.

Miguel.

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

From: [email-masked] (Robert W. Brewer)
Subject: Re: periodic execution
Date: 5 Sep 1994 17:08:15 GMT
Reply-To: [email-masked]

Better still, try killall.  It's in the latest procps suite and does
exactly what you want.

-Rob
--
Robert W. Brewer  "Whoever drinks of the water that I shall give him 
[email-masked]    will never thirst."  --Jesus Christ (John 4:14)

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

From: [email-masked] (Dan Connolly)
Subject: ALEX, AFS on Linux? [Was: Is it possible to have NFS via TERM]
Date: 05 Sep 1994 18:17:29 GMT

I recall some references to ALEX, some ftp-based filesystem.
I asked archie, and came up empty. I can't find any more
info on the ALEX filesystem. Anybody out there wanna send
me some pointers?

By the way... has anybody tried AFS on Linux? I'm curious
to know what folks' experiences were.

[AFS has the advantage of replicated fileservers... plus,
I think you could use it's local write-back cache as a way
to use the files while you're not connected to the server...
then when you reestablish the network link, AFS would go
like crazy updating all the files. Fantasy mabye? ]

In article <[email-masked]> [email-masked] (Bill C. Riemers) writes:

   From: [email-masked] (Bill C. Riemers)
   Newsgroups: comp.os.linux.admin
   Date: 1 Sep 94 17:51:46 GMT
   References: <[email-masked]>
           <[email-masked]>
   Reply-To: [email-masked]
   Lines: 28

   >>>>> "Jagadeesh" == Jagadeesh Krishnamurthy Venugopal <[email-masked]> writes:

       >> Is it possible to have NFS via TERM-connected network ?

       Jagadeesh> I am not too certain about this but I remember having
       Jagadeesh> read somewhere that NFS is a connectionless protocol
       Jagadeesh> and term is only for connection priented services, so I
       Jagadeesh> dont think you can get one.

       Jagadeesh> But who knows!

   That was true with term 1.X versions.  Term 2.X supports
   connectionless protocals.  However, NFS requires binding
   to a port < 1024 on a machine that is connected with a
   networking protocal supported by the kerenel.  So for right
   now, NFS still won't work over term.

--
Daniel W. Connolly        "We believe in the interconnectedness of all things"
Software Engineer, Hal Software Systems, OLIAS project   (512) 834-9962 x5010
<[email-masked]>                   http://www.hal.com/%7Econnolly/index.html

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

From: [email-masked] (Robert W. Brewer)
Subject: Re: [ALERT] Password problem with Linux
Date: 5 Sep 1994 18:24:21 GMT
Reply-To: [email-masked]

Alex Nicolaou ([email-masked]) wrote:
>simply compiled it out of the box so I probably missed a configuration file - 
>perhaps you can tell me how to make it require longer passwords.

I just compiled the shadow package from sunsite.  (3.3.2 maybe?) 
The file config.h is what you want to edit;  it has a define
to allow DOUBLE_LENGTH_PW or something like that.

-Rob
--
Robert W. Brewer  "Whoever drinks of the water that I shall give him 
[email-masked]    will never thirst."  --Jesus Christ (John 4:14)

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

From: [email-masked] (Jim Gifford)
Crossposted-To: comp.os.linux.development
Subject: Re: HORRIBLE SWAP THRASHING BUG(feature?) (please try this)
Date: 5 Sep 1994 18:30:11 GMT

Russell Leighton ([email-masked]) wrote:

:       HORRIBLE SWAP THRASHING BUG (please try this)

: A simple program that runs consistantly in ~1.25min on my 
: SGI 33Mhz r3k Indigo completely ruins my Linux box.
: Please run the short program "thrash" (see end) and let me know
: how it performs on your system...for me this is a 
: serious problem.

: Will adding more memory make the situation better? How much more?
: Will another Linux release behave better?

: Thanks.

: Russ

: Configuration:
:       Linux 1.1.48
:       P90 PCI
:       16M ram
:       >80Mbytes swap (1 18M partition, 4 16M files)

My setup:
        Linux 1.1.49
        486/66 EISA
        16M ram
        33M swap
        aha1542 and st11200 (1.06 GB)

: Symptoms:
:       1. run "thrash" once (~4min)...everything is okay
:       2. run "thrash" again (~1 hour!) ... system is very sluggish
:       3. run "thrash" again (> ~1 hour!) ... nothing runs, locked

: Directions:
:       0. Compile "thrash"
:               gcc -O2 -m486 thrash.c -o thrash

Did this.

:       1. Make a big file (~100Mbytes) :
:               dd if=/dev/zero of=bigfile bs=1024 count=100000
:       2. run "thrash"
:               time thrash bigfile
:       3. run "thrash"
:               time thrash bigfile
:       4. run "thrash"
:               time thrash bigfile

I wrote a simple shell script to do 1 2 3 & 4(included later)

:       5. if you get this far send me email and tell me why!
I don't know why, but I will post instead in case someone might know why.

================ /root/thrashlog.sh  Exec with sh /root/thrashlog.sh======
#!/bin/sh
touch /var/adm/thrash.log
echo This file created by thrashlog.sh >>/var/adm/thrash.log
echo /var/adm/thrash.log >>/var/adm/thrash.log
echo >>/var/adm/thrash.log
echo Creating ~100MB file useing dd if=/dev/zero of=bigfile bs=1024 count=100000 >>/var/adm/thrash.log
echo >>/var/adm/thrash.log
echo Starting First run of time thrash bigfile >>/var/adm/thrash.log
time thrash bigfile >>/var/adm/thrash.log 2>&1
echo >>/var/adm/thrash.log
echo Starting Second run of time thrash bigfile >>/var/adm/thrash.log
time thrash bigfile >>/var/adm/thrash.log 2>&1
echo >>/var/adm/thrash.log
echo Starting Third run of time thrash bigfile >>/var/adm/thrash.log
time thrash bigfile >>/var/adm/thrash.log 2>&1
echo >>/var/adm/thrash.log
echo thrashlog.sh finished >>/var/adm/thrash.log
==========================================
=======================/var/adm/thrash.log Created with above script========
This file created by thrashlog.sh
/var/adm/thrash.log

Creating ~100MB file useing dd if=/dev/zero of=bigfile bs=1024 count=100000

Starting First run of time thrash bigfile

Size=102400000
21.19user 21.14system 3:55.79elapsed 17%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+0minor)pagefaults 0swaps

Starting Second run of time thrash bigfile

Size=102400000
20.50user 20.66system 3:27.03elapsed 19%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+0minor)pagefaults 0swaps

Starting Third run of time thrash bigfile

Size=102400000
21.51user 19.78system 3:27.84elapsed 19%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+0minor)pagefaults 0swaps

thrashlog.sh finished
===============================
My guess is that maybe you have too MUCH swap.  Also, swap files are not as
good as a partition.  I was also running normal processes on this box
includeing a primary nameserver, top with update set to 1 second, and
minicom...

Hope this helps in some way.  Please note that i put a \n in the fprintf in
thrash.c.

Jim
[email-masked]

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

From: [email-masked] (Jerry Ablan)
Subject: Re: [ALERT] Password problem with Linux
Date: 5 Sep 1994 13:51:56 -0500

On Sun, 4 Sep 1994 01:48:59 GMT, Alex Nicolaou spake thusly:
: [email-masked] (Jerry Ablan) writes:

: >I just found a most heinous thing. I had my root password set to
: >'squiggle*halbert' a long, but good password.

: Hope you've already changed all these passwords you so obligingly posted:)

Of course.

: >However, by mistake, when su'ing, I only typed in squiggle and IT LET ME IN!
: >I further tested another password of mine that ended in a number and I left
: >off the number (i.e. Butthole7, only typed Butthole), and it again let me
: >pass.

: >So I need to know if I'm goofy and this is cool or did I find something that
: >everyone's known about or is it something new?

: Sorry to dissapoint you - old, old fact: many systems limit password to 8 
: characters; you'll notice all your passwords are too long, which is the 
: real problem - nothing to do with numbers or letters or anything like that.

: For this reason system admins should probably be telling people to _precede_
: their passwords with all the special CRACK foiling characters ...

Will do.

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

From: [email-masked] (Jerry Ablan)
Subject: Re: [ALERT] Password problem with Linux
Date: 5 Sep 1994 13:52:50 -0500

On Mon, 5 Sep 1994 04:05:40 GMT, Jason Multari spake thusly:
: Jerry Ablan ([email-masked]) wrote:
: : I just found a most heinous thing. I had my root password set to
: : 'squiggle*halbert' a long, but good password.

: : However, by mistake, when su'ing, I only typed in squiggle and IT LET ME IN!
: : I further tested another password of mine that ended in a number and I left
: : off the number (i.e. Butthole7, only typed Butthole), and it again let me
: : pass.

: Like, oh my god! It's almost like unix passwords have been only been 8 
: characters for like 30 years!....

Well, I'm not yet 30 years old. 

: You cant be serious. 

I was serious. I thought there was a problem. Sorry.

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

From: [email-masked] (Harald Milz)
Subject: How to set up a Linux PC as an X-terminal
Reply-To: [email-masked]
Date: Mon, 5 Sep 1994 17:15:33 GMT

It may have been mentioned here already. I didn't find it in one of the
HOWTOs (although this would fit into the Installation-HOWTO or the 
XFree86-HOWTO). I apologize if you find this is not the right group for 
that.

To setup a Linux PC as an X-terminal, you simply have to call the 
X server with the option "-indirect <hostname>" to get a chooser 
and "-query <hostname>" to get an xdm login from that host. I added
those options to the xinit call in startx which is probably not the 
right place but at least something to start with. 

Does anyone have a complete Xterminal setup, i.e. boot the PC and
get the chooser/xdm login? Omitting all stuff that is not needed?

-- 
Graduate life: It's not just a job.  It's an indenture.
-- 
Harald Milz ([email-masked])      WWW: http://www.ix.de/editors/hm.html
iX Multiuser Multitasking Magazine      phone +49 (511) 53 52-377
Helstorfer Str. 7, D-30625 Hannover     fax   +49 (511) 53 52-378
Opinions stated herein are my own, not necessarily my employer's.

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

From: [email-masked] (Harald Milz)
Subject: Q: Can I boot Linux over a network?
Reply-To: [email-masked]
Date: Mon, 5 Sep 1994 17:28:01 GMT

This has been discussed here not long ago, but I haven't saved the articles.
Can anyone give me a pointer where to look how to boot Linux from a remote
host via TFTP or BOOTP? THX. 

-- 
Resisting temptation is easier when you think you'll probably get
another chance later on.
-- 
Harald Milz ([email-masked])      WWW: http://www.ix.de/editors/hm.html
iX Multiuser Multitasking Magazine      phone +49 (511) 53 52-377
Helstorfer Str. 7, D-30625 Hannover     fax   +49 (511) 53 52-378
Opinions stated herein are my own, not necessarily my employer's.

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

From: [email-masked] (Gregory Trubetskoy)
Subject: Re: linux & ISDN
Date: 5 Sep 1994 18:44:50 GMT

Dave Gardner ([email-masked]) wrote:
: Sterling Ledet ([email-masked]) wrote:
: : What is required to set up an ISDN line with linux? Does the necessary
: : software exist? What would be the necessary hardware?

: As far as I know, you'll be able to use all the same software you have/use
: now for your Internet connection over an ISDN line.  So if you use
: SLIP/PPP to get connected, you should be able to continue doing the same
: old thing.  As for the hardware, expect to spend about $600-800 for it. 
: According to the info sheets I just got from Pacific Bell's ISDN office,
: here's a list of the equipment you will have to have: 

I heard there is something called ISDN driver for Linux. I aslo heard 
that PPP is the de facto standard for ISDN connections. I am confused.

:       1)  Network Termination 1 (NT1).  This is a piece of
:       2)  Power supply for the NT1.  ISDN needs constant
:       3)  Terminal Adapter (TA).  This can be a card that

A good place to look for cheap suppliers is comp....isdn group. I forgot 
the exact name.

: You can optionally get an ISDN phone which plugs right into the NT1, but
: it costs about $400 right now.  I believe they have some nifty features
: beyond the capabilities of normal phones, but I don't know any of them. 

You get things like return call, redial, 3 (and more) way calling, call 
forwarding, transfering, parking etc. Since these are all really part of 
the ISDN suite, all these POTS (plain old telephone service) phones do is 
provide buttons for these ISDN functions.

: Now, on to line fees: 

: Pacific Bell is charging $22.95 per month for a single ISDN line.  
: Installation is $34.75 if you keep the line installed for at least two 
: years, otherwise it's $125 more.

: Also, the cost for daytime rates (8 a.m. to 5 p.m.) is 4 cents for the 
: first minute, and 1 cent per minute thereafter, for local calls.  During 
: off-hours, it's free.  But you still have to add your telco's normal zone 
: and/or long distance fees to the above rates if you dial out of your area.

: Folks in Pacific Bell's jurisdiction can call 1-800-472-4736 for more
: information or a copy of the 9-page handout I received from them (home
: ISDN). 

In my area (Wash DC) Bell Atlantic (formerly C&P Bell) charges $19.50 
amonth, $37.50 installation. They also need to install a line and that's 
a hidden charge of $83.25(oops). Also there is 5c a minute charge, 
regardless of prime time. Seems like BellSouth has a better deal.

: Hope this helps a bit.

Hope so too.

--
================================================================
Gregory Trubetskoy                   [email-masked]
================================================================

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

From: XiaoFei Wang <[email-masked]>
Subject: open an x-window with login: prompt
Date: Mon, 5 Sep 1994 20:18:06 GMT

Hello, 

suppose I startx and then open a window of someone else's 
login, how should I do it? 

Thanks.

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

From: XiaoFei Wang <[email-masked]>
Subject: middle butt of a mouse
Date: Mon, 5 Sep 1994 20:22:27 GMT

Hello, I have a true microsoft mouse with only two buttons,
left and right. I can use the left to copy and left+right ( emulate the
middle butt ) to paste, under x-window. Now my question is how
can I config the mouse in such a way that I can use the left
butt to copy and right butt to paste? 

I have read the 'man fvwm' and .fvwm, but did not find the answer there
and people on irc #linux do not know. 

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

From: [email-masked] (Robert Wolter)
Subject: Re: colors with DJ 550C ??
Date: 5 Sep 1994 20:53:21 GMT

[email-masked] wrote:

: Hi folks,

: is there anybody who got a HP Deskjet 550C to work with colors ?
: If yes, please mail me some instructions.
: (My system is running DLD v1.2 (Deutsche Linux Distribution).) 

: Thanks in advance

:                     Pascal

: ------------------------------------------------------------------------
: Pascal Pellmont, Institute for physics, university of Basel
: E-Mail: [email-masked]
What exactly is your problem? 
The printer setup for Linux
or just a hardware problem with your HP Deskjet 550C?

I use ghostscript to convert color plot to hpdj and it works fine.

  Robert

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

From: [email-masked] (Michael Wight)
Subject: GNU Finger 1.3.7?
Date: 5 Sep 1994 22:37:24 GMT

Has anyone compiled GNU Finger for Linux?

-- 
Michael Wight         Hernia Movers, Inc.   Milwaukee, Wi
[email-masked]       "The Potenate of Totin' Freight"

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

Crossposted-To: comp.unix.misc,comp.os.linux.misc
From: [email-masked] (Ivan Parga)
Subject: Re: Monitoring TTY's ..
Date: Wed, 31 Aug 1994 23:01:54 GMT

Rob McKenzie (rpm@bcars601) wrote:
> [If this is the wrong group for this post please don't flame]

> I'm running a Linux box and would like to find out if there is software 
> that will allow me to monitor someone's tty.  We have had some problems 
> with people trying to break system security.. it would be nice to be able 
> to monitor and record the actions of these people live, while it happens.

> Any ideas?

I know that there is a software named "Peek & Spy" from Networking
Dynamics Corp... that software was developed for VAX/VMS at first,
but then was adapted for Unix, Software makes a spy over any tty,
of course you must be su to do that!...
The other way possible is TT-RECON from Software Partners/32, I think 
that software runs on Unix Systems...
I hope that be useful for you...

Ivan Parga
Unix System Administrator
Universidad de Santiago de Chile

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

From: [email-masked] (Juha Virtanen)
Subject: Re: Linux Accounting
Date: 05 Sep 1994 14:57:16 GMT
Reply-To: [email-masked]

>>>>> On 4 Sep 1994 01:36:27 GMT, [email-masked] (Tracy R. Reed) said:
:> Now I would like to know if there is a good accounting software for 
:> Linux. I checked sunsite.unc.edu and found acct-1.1.18, but I am running 
:> kernel 1.1.45. Is there any accounting software that I can use on this 
:> kernel? I could move down to 1.1.18, but I don't see linux-1.1.18.tar.gz 

It applies also newer kernels upto Linux-1.1.37 (or so).

Newer patches for newer kernels can be found with anon-ftp as:
iguana.hut.fi:/pub/linux/sources/Kernel/Patches/acct_for-1.1.38
(at least for kernels 1.1.38 and 1.1.39)
iguana.hut.fi:/pub/linux/sources/Kernel/Patches/acct_for-1.1.48
(at least for kernel 1.1.48, possibly 1.1.44 and newer)

As someone already mentioned, changes for newer kernels are minor
and only cosmetic.

Juha
--
THE CHEMIST'S RULE: Never take more than three data points. There will always
           be some kind of graph paper on which they fall in a straight line.

THE CHEMIST'S RULE, FIRST COROLLARY: If you have only one kind of graph paper,
           never take more than two data points.

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

From: [email-masked] (Eugene Austin III Gibbs)
Subject: Re: colors with DJ 550C ??
Date: 5 Sep 1994 18:36:12 -0500

Could someone please post a reply to this, rather than sending mail,
as I am fairly certain that there is more than one person out there
with a color DeskJet who would also appreciate the info.
Me, for example. 

Thanks in advance,
Austin Gibbs

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

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