Files
oldlinux-files/docs/mail-archive/linux-admin/Volume2/digest213
2024-02-19 00:23:35 -05:00

851 lines
30 KiB
Plaintext

From: Digestifier <Linux-Admin-Request@senator-bedfellow.mit.edu>
To: Linux-Admin@senator-bedfellow.mit.edu
Reply-To: Linux-Admin@senator-bedfellow.mit.edu
Date: Tue, 18 Oct 94 14:13:35 EDT
Subject: Linux-Admin Digest #213
Linux-Admin Digest #213, Volume #2 Tue, 18 Oct 94 14:13:35 EDT
Contents:
Re: Logitech 3 Button Mouse Under XFree.. Howto? (Virgil Sealy)
Slack 1.2: bad data in /etc/utmp (albayrak@cc.helsinki.fi)
Help -> InterViews Package: Compiling on linux box??? (Adrian Mancini)
Re: Recommendation: Partitioning Linux (John R. Campbell)
Re: ftp sites for linux (Mubashir Cheema)
Re: Compressed FS for Linux? (Jason McNeill)
Re: Mystery Chip...AMD (John Palaima)
Re: Mystery Chip...AMD (John Palaima)
Re: Cron Problems - Script runs from sh (Joel M. Hoffman)
Modem setup (Hans de Vreught)
Re: XFree86-3.1 - Whoopee! (Rene COUGNENC)
Re: Logitech 3 Button Mouse Under XFree.. Howto? (Brent Earl)
Problems printing .dvi files (Nathan Gilbert)
Re: smail configuration woes... (David Kastrup)
Re: mgetty -- how to setup?? (Arnoud Martens)
HELP CRASH!!! File System Hosed (Tony Schwartz)
Re: Please don't post sec (Scott Jennings)
Re: Please don't post security holess... (Scott Jennings)
Re: Please don't post security holess... (Scott Jennings)
Re: [Q] unerase? undelete? (Guess who?)
[BUGFIX]: memory consumption (fs/buffer.c) (Mark W. Watson)
Setting up X-Server on a Toshiba Laptop T1910CS (Norbert Kuemin)
Re: Why does /bin/login and /usr/bin/newgrp not have setuid bit set? (David Kastrup)
Re: Why does /bin/login and /usr/bin/newgrp not have setuid bit set? (Paul Smith)
How do I use XDM? (Rasta Smurf)
----------------------------------------------------------------------------
From: virgil@cybernetics.net (Virgil Sealy)
Crossposted-To: comp.os.linux.help
Subject: Re: Logitech 3 Button Mouse Under XFree.. Howto?
Date: 18 Oct 1994 04:53:30 GMT
The real problem is that there are about 12 different kinds of
Logitech 3 button mice. That is why so many different folks are
giving good but conflicting advice. So I thought I would add
mine as well :-)
Start off by looking at the bottom of your mouse, it won't mind.
Find the Model Number (M/N: _________) and the country it came
from. You can count on people that quote the same MN and country
as you have to have the config setup you need. Others may also
be right but you can't be sure.
It seems that Logitech has started using software under DOS/Windows
on some of its mice to get 3 button input out of mice that X thinks
are 2 buttons.
Use the following steps to get things working.
1) Try Microsoft without Emulate3Buttons.
2) If the mouse seems to move OK but the middle button does not work,
add the Emulate3Button switch and you are set.
3) If the mouse move strangely, try using Logitech, still without the
Emulate3Buttons.
4) Same as before on step 2.
5) Try MouseMan with and without Emulate3Buttons.
Good luck. I found that the 'First Mouse' (about $20 at Egghead)
works fine and is a true 3 button mouse (i.e. I don't have to use
the Emulate3Buttons). Many of the expensive mice are 2 button
mice in 3 button clothes.
We might want to start a Logitech mouse matrix for new users.
/vs
------------------------------
From: albayrak@cc.helsinki.fi
Subject: Slack 1.2: bad data in /etc/utmp
Date: 18 Oct 1994 07:32:12 GMT
Since I have installed Slackware 1.2 commands like 'w' and
'talk' haven't worked. Both w programs (bassman and procps)
say 'bad data in /etc/utmp'. I have tried to fix the problem by
deleting the file /etc/utmp with no success.
Either these programs try to read wrong format or some
of those programs writing /etc/utmp are corrupting the data.
What exactly is causing the problem?
-Ali- <albayrak@cc.helsinki.fi>
------------------------------
From: amancini@bmerhbbe.bnr.ca (Adrian Mancini)
Subject: Help -> InterViews Package: Compiling on linux box???
Date: 18 Oct 1994 14:22:14 GMT
Please Help me figure out my I only get *.o files and never get
the actual iclass, idraw, ... binaries!!!
STEPS:
I got iv.3.1 and the g++.3.1 patches for my linux box.
I ensured I had more than 50 Mb free space on my drive.
I unpacked both tar files and applied the g++ patch.
I edited gcc.def & replaced the appropriate paths to the include files
and the libraries.
I edited local.def and uncommented the "gcc line" & updated the X11
paths per my system.
`make CPU` returns LINUX so I moved the iv-x386.cf file to iv-linux.cf
I changed dir to /usr/src/iv
I did setenv CPU `make CPU`
I did the make World ( XCONFIGDIR not needed since it is at /usr/lib/X11/config)
This finished and consumed about 35 Mb as opposed to the suggestes 18Mb
I then did the make install which ran quickly and added only 1 Mb or so to
my drive!!! (Only error ever was some char constant in one source file)
PROBLEM:
After the make install I looked in my installation dir /usr/local/iv only
to find NO binaries except the cpu* imkxxx .....
I examined the Makefiles only to discover that NO linking is being done on
the *.o files in iv/src/bin/<package>!!
What is going on here?? ANYONE??
Thank You
Adrian Mancini
--
==================================================
- Adrian Mancini ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==================================================
- The worst fear is fear of a dream. ~~~~~~~~~~~~
==================================================
------------------------------
From: soup@penrij.UUCP (John R. Campbell)
Subject: Re: Recommendation: Partitioning Linux
Date: Wed, 12 Oct 1994 13:19:28 GMT
giguere@dracma.mrnews (marshall giguere) writes:
>1. Is it necessary to have both root and usr partition?
No, but it *is* handy. If I'd thought about it more, I would've had
a separate /var filesystem. I didn't put /usr in it's own filesystem;
/home is a symbolic link to /work/home, and I put all kinds of things
in my /work filesystem.
>2. What's the necessary size for a root partition.
It depends on what you're loading. If I combine *all* in one partition
and install everything (Slackware 1.1.2 w/0.99pl15), this will suck up
abt 180 MB *before* I add my /u/bin tree...
>Currently I'm planning a layout something like this:
>Root: 35meg
>Swap: 16meg
>Usr: (the rest of the disk)
Well, place the swap partition FIRST on the disk, so it is as close to
the root filesystem's inode table. When you start swapping, you want
to minimize HDA motion.
Actually, you *don't* want a lot of filesystems on 1 disk, but it *does*
make life easier.
--
------------------------------------------------------------------------------
John R. Campbell, Speaker to Machines | Grace is sufficient;
soup@penrij.UUCP, soup%penrij@kd3bj.ampr.org | Joy is now unemployed.
soup@sonosam.wisdom.bubble.org | - Heather Campbell
------------------------------
From: cheema@earth.sparco.com (Mubashir Cheema)
Subject: Re: ftp sites for linux
Date: 16 Oct 1994 22:03:03 -0500
smcpeek@isr0830.urh.uiuc.edu (Shawn D. McPeek) writes:
>Chris Sorge (crsorge@sgcpu1.sdrc.com) wrote:
>: Hi all,
>: This is my first time posting in this group, and would really appreciate
>: help you could give me as far as sites go to ftp linux. All responses
>: are greatly appreciated. Thanks in advance.
>sunsite.unc.edu
or try
ftp.gtlug.org
Mubashir Cheema - new, expanded .sig - cheema@sparco.com
------------------------------
From: mcneill@xenon.cchem.berkeley.edu (Jason McNeill)
Subject: Re: Compressed FS for Linux?
Date: 18 Oct 1994 07:06:06 GMT
Jeff Kesselman (jeffpk@netcom.com) wrote:
: I don't know if this is a general faeture, but my Fall94 Yygdrasil has
: the ability to recognize the .gz extension and decompress a file as it
: loads it into memory- kinda a neat little trick.
: JK
I remember having recently seen a patched libc on Sunsite that claims
to do this. It's called zlibc, I think.
-Jason
--
Jason D. McNeill
MS 293, Dept. Chem.
University of California
Berkeley, CA 94720
(510) 642-6389
mcneill@XENON.CChem.Berkeley.EDU
------------------------------
From: jolt@gnu.ai.mit.edu (John Palaima)
Crossposted-To: comp.sys.ibm.pc.hardware.systems,comp.os.linux.misc
Subject: Re: Mystery Chip...AMD
Date: 18 Oct 1994 14:20:49 GMT
In article <37loc2$acb@gate.fzi.de>, Michael Berthold <berthold@fzi.de> wrote:
>|> wholesale relabling DX/2-66s to DX/2-80s.
>
>Why should they do that???
Because it is cheaper than making a new batch of chips. :)
--
Richard Cooley Extraordinaire "Yeah. Arrgh."
rcooley96@dgl.ssc.mass.edu These are my opinions, not MIT's etc...
rcooley@nyx.cs.du.edu Linux Linux Linux Linux Linux
"LILO - it's not just a boot loader, it's a way of life" -- me
------------------------------
From: jolt@gnu.ai.mit.edu (John Palaima)
Crossposted-To: comp.sys.ibm.pc.hardware.systems,comp.os.linux.misc
Subject: Re: Mystery Chip...AMD
Date: 18 Oct 1994 14:38:06 GMT
In article <37lne1$acb@gate.fzi.de>, Michael Berthold <berthold@fzi.de> wrote:
>In article <37hgfh$71n@venera.isi.edu>,
>daniel@isi.edu (Daniel Zappala) writes:
>|> In article <37h24oINN15j@life.ai.mit.edu>,
>|>jolt@gnu.ai.mit.edu (John Palaima) writes:
>|> > take bets that new 66Mhz chips will be "crippled" so they can't be over-
>|> > clocked? :)
>|> > --
>I have doubts.
It depends. It would force you to buy a "genuine" DX2-80 (read: spend more
money) -- although someone said it was only about $20 more--in this case, it
seems to be almost stupid to continue to make the 66Mhz version!
>|> But a DX2-80 can't be just a relabeled, overclocked DX2-66.
>|>It's bus speed has to be 40 Mhz.
You're missing the point, I think: A DX2-66 system has a motherboard with
a clock crystal that enables the system to run at 33Mhz (if I'm not mistaken,
the crystal *is* 66Mhz). If I have a motherboard that allows me to set
multiple clock rates (and I do :) than I can rip the xtal out, replace it
with a faster one, and set the jumpers to say I'm running at 40Mhz, not 33.
"overclocking" in this case, means to run the chip out of spec by running a
chip designed for 33Mhz at 40Mhz. I think you misunderstood me. Do you
understand now? If not, maybe someone can do a better job than me:)
--
Richard Cooley Extraordinaire "Yeah. Arrgh."
rcooley96@dgl.ssc.mass.edu These are my opinions, not MIT's etc...
rcooley@nyx.cs.du.edu Linux Linux Linux Linux Linux
"LILO - it's not just a boot loader, it's a way of life" -- me
------------------------------
From: joel@wam.umd.edu (Joel M. Hoffman)
Subject: Re: Cron Problems - Script runs from sh
Date: Tue, 18 Oct 1994 14:14:13 GMT
[who wrote what deleted]
>: >I am having trouble with some scripts running fine from a prompt, but not
>: >from cron. Here's one of the scripts. Anyone else have problems like this?
>: >
>: [script snipt]
>
>: I haven't played with cron yet on Linux, but on several other Un*ces
>: it *requires* that scripts be written in Bourne shell.
If this is a real limitation of cron (I suspect it may be) it's easy
to get around. Write a sh-shell wrapper for your (say) csh script:
#!/bin/sh
#
# call this file myscript.sh
#
#
exec csh < real.myscript
-Joel
(joel@wam.umd.edu)
--
=============================================================================
|_|~~ Germany, Europe. 1944. "The diameter of the bomb was 30 centimeters,
__|~| 16 Million DEAD. and the diameter of its destruction, about 7
meters, and in it four killed and 11 wounded.
cnc Bosnia, Europe. 1994. And around these, in a larger circle of pain
cnc HOW MANY MORE? and time, are scattered two hospitals and one
cemetery. But the young woman who was buried in
the place from where she came, at a distance of more than
than 100 kilometers, enlarges the circle considerably. And the
lonely man who is mourning her death in a distant country incorporates
into the circle the whole world. And I won't speak of the cry of the orphans
that reaches God's chair and from there makes the circle endless and godless."
=============================================================================
Tell Clinton to stop the genocide: president@whitehouse.gov
------------------------------
From: hdev@cp.tn.tudelft.nl (Hans de Vreught)
Subject: Modem setup
Reply-To: J.P.M.deVreught@CP.TN.TUDelft.NL (Hans de Vreught)
Date: Tue, 18 Oct 1994 13:49:27 GMT
I've got an internal 14k4 modem. When I set the baudrate in seyon to 38400 (cf
Serial-HOWTO) I was able to connect etc. It even gave "CONNECT 38400". Guess
that some hardware is trying to fool me (it looked like a 9600 baudrate to
me). Or can somebody explain this to me?
The more important question I have is the following one. What is the proper
way to get:
* V32
* V32bis
* V42
* V42bis
I never get these things right, but I believe it is:
* 9600 baud
* 14400 baud
* +compression
* +error correction
Thanx.
--
Hans de Vreught | John von Neumann:
J.P.M.deVreught@CP.TN.TUDelft.NL | Young man, in mathematics
Delft University of Technology | you don't understand things,
The Netherlands | you just get used to them.
------------------------------
From: rene@renux.frmug.fr.net (Rene COUGNENC)
Subject: Re: XFree86-3.1 - Whoopee!
Date: 16 Oct 1994 22:51:25 GMT
Reply-To: cougnenc@hsc.fr.net (Rene COUGNENC)
Ce brave Richard W Kaszeta ecrit:
> One important thing I've noticed is problems recompiling under 3.1
> involving ld. My copy of ld (slackware 2.0.1) is hard-coded to use
> libs in /usr/X386, so even when I thought I was fixing the problem, some
> old libs were being loaded (try running ldd on some of your favorite
> executables).
>
> Any ideas how I can _neatly_ fix this system?
I noticed this problem, and just made /usr/X386 a symbolic link
to the new stuff. (keeping the X11R5 in /usr/X11R5 and tell it
to ld.so.conf).
--
linux linux linux linux -[ cougnenc@renux.frmug.fr.net ]- linux linux linux
------------------------------
From: earl@MCS.COM (Brent Earl)
Crossposted-To: comp.os.linux.help
Subject: Re: Logitech 3 Button Mouse Under XFree.. Howto?
Date: 18 Oct 1994 11:18:55 -0500
Logitech mouseman, trackman, etc 3 button mice. Don't fool
with that Emulate3button stuff. Use Chordmiddle. Occasionally
x will foul up the middle button. Just test with a hold and
drag, (mine is a menu under button 2) if screwy things happen,
drop out of X and startx again.
------------------------------
From: nathan@eskimo.com (Nathan Gilbert)
Subject: Problems printing .dvi files
Date: Tue, 18 Oct 1994 14:34:10 GMT
I have been trying to print the various manuals that are preformated to
.dvi files. I have been useing the command "lpr -d [filenam]", but this
doesn't seem to work. Can anyone give me an idea as to what I need to
do. I have tried editing the printcap file, but linux doesn't seem to
want to accept the generic dot matrix entry that is there. Here is the
equipment that I am dealing with:
386 DX/40MHz
4 Megs RAM
IDE HD (120 MB linux partition)
Toshiba P351 24 pin dot matrix printer
Any help will be good. Thanks in advance.
Mail @:
nathan@eskimo.com
or
abigor@deeptht.armory.com
or Call
(206) 523-5360
Nathan %-)
------------------------------
From: dak@rama.informatik.rwth-aachen.de (David Kastrup)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: smail configuration woes...
Date: 18 Oct 1994 14:48:37 GMT
johnh@apiltd.demon.co.uk (John Hitchins) writes:
>Douglas Lenz (doug@interaccess) wrote:
>: I'm currently connecting to the internet via a dialin PPP connection. I've
>: configured smail to route mail through my PPP host as a smart_host (I'm using
>: it right now), but it only works if I'm actually connected via PPP. If I
>: try to send mail while I'm not connected, I get the following:
>: |------------------------- Failed addresses follow: ---------------------|
>: lenz@comm.mot.com ... transport smtp: connect: Network is unreachable
>: |------------------------- Message text follows: ------------------------|
>: I've tried using the 'retry' file and durations in my smail config, but it
>: insists on dying if my PPP connection is not up when I try to send mail.
>: Is there ANY way to be able to have smail retry sending mail if the smtp
>: connection is down?
Yes. Get a cleanly compiled version. The default smail at least on older
Slackware distributions (don't know if this has changed) seemingly
have this bug. Compiling smail yourself will stop that problem.
--
David Kastrup dak@pool.informatik.rwth-aachen.de
Tel: +49-241-72419 Fax: +49-241-79502
Goethestr. 20, D-52064 Aachen
--
David Kastrup dak@pool.informatik.rwth-aachen.de
Tel: +49-241-72419 Fax: +49-241-79502
Goethestr. 20, D-52064 Aachen
------------------------------
From: arnoud@ijssel.xs4all.nl (Arnoud Martens)
Subject: Re: mgetty -- how to setup??
Date: Sun, 16 Oct 1994 21:23:14 GMT
Reply-To: arnoudm@ijssel.xs4all.nl
To Siu Pong (BACS2 student) writes in newsgroup comp.os.linux.admin:
> Hello all,
> I've got the mgetty and have installed, however how can I config
> it?? The modem doesn't answer when a there's a call and when
> I type "mgetty", it said that
> mgetty FATAL : no line give
> What should I do now??
Read the docs! Hope for you Gert does not see this post ;-)
--
Name: Arnoud Martens, Utrecht, the Netherlands, tel: +31-30-732679
E-mail: arnoudm@ijssel.xs4all.nl, IBM: nlibm2wq (nlibm2wq@ibmmail.com)
------------------------------
From: tony@teleport.com (Tony Schwartz)
Subject: HELP CRASH!!! File System Hosed
Date: Sun, 16 Oct 1994 10:24:03
In the wee early hours of this morning, I was Linuxing away and my entire
system froze up on me. Finally after a long time, I had to hit the RESET
button.
Now, when I boot up, it gives me a prompt with the none in it.
(none)~/ (now)
brutus/ (in the past)
It appears all my stuff is there but I cant do anything with it. I tried to
do a fsck but couldnt find it. I tried to mount, dismount, halt, shutdown.
Nothing seems to work. In fact, only mount and dismount are even found. This
may be a path issue but I am not sure.
The mount and dismount commands produce an error saying something about
/etc/mtab~ cannot be created because file system is read only. I then went to
my boot diskettes and brought the system up also with read only.
I really need to get this back up and running soon. Any help or suggestions
would be greatly appreciated.
Tony Schwartz
Portland OR
------------------------------
From: smj@smudge.oro.net (Scott Jennings)
Subject: Re: Please don't post sec
Date: 16 Oct 1994 02:07:33 GMT
Riku Saikkonen (riku.saikkonen@compart.fi) wrote:
: >>I'm rather unconfortable with the posting of all of these security holes.
: >I disagree completely. This information should be disseminated freely.
: I too am for reporting everything at once. How else will the things get
: fixed? And, the truth often is that once someone discovers a security
I think like this: Now that I have found a hole, does knowing it exists
permit me to plug it?
If I can't think of any way knowing about the hole helps me, then I wouldn't
post it. But I can't imagine knowing about a hole and not being able to
envision *some* way of securing it. And if knowing about it allows me to
fix it, *not* posting it merely supports its persistence and is unethical.
-smj
------------------------------
From: smj@smudge.oro.net (Scott Jennings)
Subject: Re: Please don't post security holess...
Date: 16 Oct 1994 02:13:46 GMT
Isis Leslie (sheela@er7.rutgers.edu) wrote:
: All the attempts to hack my machine originated from a remote machine, in
: fact a single user workstation which has only one account besides root
: on it, who was in addition an employee of thenearby University. There was
: also the usual attempts to try and hack the ftp, nntp, rsh and rexec
: systems, and a quick identity trap easily tracjed the culprit down.
: At this time I'm undecided as to what action to take since this person
: isn't a student but a full time employee of the school.
You might wish to ponder that many folks have spent *years* in jail for
doing nothing more (or less) than that fellow has, and his future may
well be in your hands.
-smj
------------------------------
From: smj@smudge.oro.net (Scott Jennings)
Subject: Re: Please don't post security holess...
Date: 16 Oct 1994 02:21:53 GMT
M. K. Shenk (mkshenk@u.washington.edu) wrote:
: Oh, criminals. Give me a break. The criminals are the ones that mess with
: things. I consider myself a (wannabe, at least) hacker in the original
: sense, and in HS was a "hacker" in the new sense. I never altered
: ANYTHING. I got in, to get in, or to use a compiler. Nothing criminal about
: that (except in the eyes of the law.) Penetrating the security of a
I'm glad to see that you *are* aware that it *is* criminal
"in the eyes of the law".
But from your cavalier attitude, I suspect that you are *not* aware
of the severity of the penalties, and the court precidences.
(you might do well to *at*least* stop confessing to this behavior in past)
check it out.
-smj
------------------------------
From: someone@s96120.u96.stevens-tech.edu (Guess who?)
Subject: Re: [Q] unerase? undelete?
Reply-To: jmcphers@vaxc.stevens-tech.edu
Date: Sun, 16 Oct 1994 17:43:25 GMT
Frank B. Brokken (frank@icce.rug.nl) wrote:
: dinob@zems.etf.hr (Dino Butorac (III rac)) writes:
: >Is there any 'unerase' or 'undelete' utility for ext2fs? Accidentally I
: >rm'ed a bunch of once useful files, and I wasn't able to recover them...
: >I know, some of you are going to say: 'You should be more careful with
: >rm and such commands!' but it doesn't really help much. Thanx in advance!
[much deleted]
: Apart from that, no undelete/unerase exist.
[much more deleted]
Shouldn't there be a way to write one, though? I'm no kernel hacker, but I
just have this intuition that if MeSsy-Doz can write a pretty effective
undelete, linux should be able to too.
--
#------------------------------------------------------------------------#
| //\\ Jim McPherson | someone@s96120.u96.stevens-tech.edu |
| << >> Business Manger, WEXP | jmcphers@menger.eecs.stevens-tech.edu |
| \\// IDC Rep., Palmer 3rd. | jmcphers@vaxc.stevens-tech.edu |
#>----------------------------------------------------------------------<#
| "Insanity is necessary for understanding." |
#>----------------------------------------------------------------------<#
| GCS/MU d?>! H-() s+:++ g-(+)>! p1+ !au>- a-- w+ v(-)(?)@>--- C++(+++) |
| UL++++S+U+X(-) P? L++>+++ 3- E- N(-) K- W(---)>! M-- V-(--) |
| -po+ Y+ t+ !5 j R(+) G'''>'''' !tv() b+ D+ B-- e+(++)>+++ |
| u(-)(**) h()@ f+@ r++ n- y+(**) |
#------------------------------------------------------------------------#
------------------------------
Subject: [BUGFIX]: memory consumption (fs/buffer.c)
From: mark@wehi.EDU.AU (Mark W. Watson)
Date: 18 Oct 1994 02:11:02 GMT
I checked the FAQ and the source but could find no obvious place to send this
so its here ;-) This is NOT an official bug fix and may actually be grossly
incorrect, I am just trying to get it to the right person (people) for comment
or inclusion. Hopefully someone will tell me where this sort of discussion
should go.
System: Dual P90 with 96MB memory (yes, that is 96MB and a b****y fast PC)
AHA1542 SCSI controller and SCSI disks, tape, CD drive
Ethernet, networking, etc...
NO X
Problem: buffers grow until almost all memory is gone (known feature I know).
Not a problem except that memory is not returned fast enough. We
can experience 20-30 logins simultaneously, all starting the same
program and wanting a chunk of memory NOW!. buffers are not
released fast enough and the system crashes. (currently only a
theory until Wednesday night's big login test).
Fix 1: buffer.c had a hard-coded nr_free_pages check of 5, meaning that bufferf
could take all but the last 5 pages (about 20k). Is this a bug or was
it done deliberately? If deliberate, why?
Fix 2: For LARGE memory machines, increase the amount of memory protected from
stealing by buffer.c. Who really wants 95MB of buffers anyway ;-) ?
Patch follows;
*** linux/fs/buffer.c.orig Mon Oct 17 20:37:49 1994
--- linux/fs/buffer.c Mon Oct 17 20:43:18 1994
***************
*** 661,667 ****
/* Too bad, that was not enough. Try a little harder to grow some. */
! if (nr_free_pages > 5) {
if (grow_buffers(GFP_BUFFER, size)) {
needed -= PAGE_SIZE;
goto repeat0;
--- 661,667 ----
/* Too bad, that was not enough. Try a little harder to grow some. */
! if (nr_free_pages > min_free_pages) {
if (grow_buffers(GFP_BUFFER, size)) {
needed -= PAGE_SIZE;
goto repeat0;
***************
*** 1598,1604 ****
--- 1598,1610 ----
if (high_memory >= 4*1024*1024) {
min_free_pages = 200;
if(high_memory >= 16*1024*1024)
+ {
nr_hash = 16381;
+ if(high_memory >= 64*1024*1024)
+ min_free_pages = 2000;
+ else
+ min_free_pages = 500;
+ }
else
nr_hash = 4093;
} else {
--
Mark W. Watson, Systems and Network Admin. | mark@wehi.edu.au
The Walter and Eliza Hall Institute | Ph : +61 3 345 2555
P.O. Royal Melbourne Hospital | Fax: +61 3 347 0852
Australia 3050 | include all known disclaimers
here
------------------------------
From: kuemin@srapc101.alcatel.ch (Norbert Kuemin)
Subject: Setting up X-Server on a Toshiba Laptop T1910CS
Date: 18 Oct 1994 14:53:10 GMT
Reply-To: norbert.kuemin@alcatel.ch
Is There any posibility to set up an X-Server for a Toshiba T1910CS ?
If anyone has an Xconfig for this machine, please send it by email
TNX Norbert
------------------------------
From: dak@rama.informatik.rwth-aachen.de (David Kastrup)
Subject: Re: Why does /bin/login and /usr/bin/newgrp not have setuid bit set?
Date: 18 Oct 1994 14:51:58 GMT
ahn@wfu.edu (Dave Ahn) writes:
>Hello,
>I was adding my uid to a second gid in /etc/groups when I noticed that
>newgrp did not have the setuid root bit set. Obviously, without root uid,
>newgrp can't call setgid/setegid to change my process's gid. I thought
>this was strange and took a look at /bin/login, and it too has no
>setuid root bit set. This is not normal. Is there a known security
>hole or bug with these two programs? Or why would the permissions
>be incorrect? If I set the setuid bits, will that introduce a potential
>hole?
Both programs do not need to be setuid root. login is called by getty,
and has root permissions anyway, and newgrp is supposed only to change
the group id to legal group ids, namely those in the supplemental
group ids of the user.
As any setuid program is a potential security problem, having those
programs not needing setuid operation not using it is an intelligent
measure.
--
David Kastrup dak@pool.informatik.rwth-aachen.de
Tel: +49-241-72419 Fax: +49-241-79502
Goethestr. 20, D-52064 Aachen
--
David Kastrup dak@pool.informatik.rwth-aachen.de
Tel: +49-241-72419 Fax: +49-241-79502
Goethestr. 20, D-52064 Aachen
------------------------------
From: psmith@lemming.wellfleet.com (Paul Smith)
Subject: Re: Why does /bin/login and /usr/bin/newgrp not have setuid bit set?
Date: 18 Oct 1994 16:41:16 GMT
Reply-To: psmith@wellfleet.com
%% Regarding Re: Why does /bin/login and /usr/bin/newgrp not have setuid
%% bit set?; B.A.McCauley@bham.ac.uk writes:
bam> In article <380nee$phq@urmel.informatik.rwth-aachen.de>
bam> dak@rama.informatik.rwth-aachen.de (David Kastrup) writes:
>> login is called by getty,
>> and has root permissions anyway,
bam> Unless, of course, it isn't. Usual Unix semantics for
bam> /bin/login allow anyone to call it.
AHA!!
So *that's* the damn problem. Sheesh. On my Sun and other systems I
have a special WM menu option to kick off an xterm which is logged in as
root; I do this more or less:
xterm -title "ROOT" -C -e /bin/login root &
Works fine on SunOS et. al., but doesn't work at all on Linux (I am
always logged in as myself :)
One of those annoying things I just never got around to figuring out.
Well, that's trivially fixed...
--
===============================================================================
Paul D. Smith | That's the thing about being a boxer:
<psmith@wellfleet.com> | even when you're at the top of your field,
Wellfleet Communications, Inc. | people still hit you in the head.
Network Management Development | -- Paula Poundstone
===============================================================================
<Expressed above are my opinions. Wellfleet takes no responsibility for them.>
------------------------------
From: rsmurf@ritz.mordor.com (Rasta Smurf)
Subject: How do I use XDM?
Date: Sun, 16 Oct 1994 21:36:22 GMT
I've managed to get X Windows running unde Slackware Professional Linux 2.0
using the 1.1.18 kernel. I would like to set my system up to boot into X
Windows, but when I run XDM, it loads a login requester. When I log in it
acts like it's going to load X, but then it kicks me back to the login
requseter. Even when I login as root. Any suugestions? I'm running on a
486DX-33 with 8 megs, Cirrus Logic CL-GD5428 w/2megs DRAM, and a Sony CDU-33A
cdrom. I used ConfigXF86 to configure X, and can run it by typing 'startx'.
What am I doing wrong, or haven't done?
------------------------------
** 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: Linux-Admin-Request@NEWS-DIGESTS.MIT.EDU
You can send mail to the entire list (and comp.os.linux.admin) via:
Internet: Linux-Admin@NEWS-DIGESTS.MIT.EDU
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
******************************