HDTenEightyP/NetNews huggingface dataset:
From: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
Subject: Re: Suid/sgid
Reply-To: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
Organization: The Internet
Date: Wed, 26 Aug 1992 16:24:07 GMT

   From: rafal@utstat.uucp (Rafal Kustra (summer student))
   Date: Tue, 25 Aug 1992 23:09:07 GMT

   Either I don't understand the concept of suid/sgid
   (**very** possible) or there is something wrong.

   Say root creates a script like follows:
	   cat $*
   and sets it suid.

   <description of how the setuid shell script apparently didn't have
    root privs omitted>

This should probably be added to the FAQ.

Setuid shell scripts are a bad, bad, bad, bad, bad thing.  They
represent a gigantic security hole for your system.  There is either a
race condition you can exploit to break root, or (depending on how dumb
your shell is), you can sometimes just confuse it enough by using a
symlink to giving you a root shell.  

So on most modern Un*x systems (Linux included), setuid shell scripts
are specifically disabled by the kernel.  If you must have a shell
script which needs to run as root, write a small C program that execs
the shell script, and make sure that no one can spoof the C program into
running some other program besides your shell script.

							- Ted
From: u9050728@cs.uow.edu.au (Shane Kelvin Richards)
Newsgroups: comp.os.linux
Subject: maths & modems
Date: 30 Aug 92 10:48:29 GMT
Organization: Dept of Computer Science, Wollongong University, Australia


	Firstly I want to say thanx to everyone who answered my original
post helping me set up my linux system. Its now running fine.
	But! A couple more questions at this stage.

	I am using the standard mcc-interim (latest version 0.97p2).

	(1) I tried to compile one of my own programs which uses the math
fuction sqrt. The compiler complained about it, it seemed to have problems
linking in the library function.

	(2) How can I set up my modem so that friends can call in and use
my system. I tried setting up the inittab file - which seems to be okay.
But, it doesn't throw DTR high on the modem. So I forced the modem to forget
about DTR. Someone tried calling, the modem picked up the line and connect,
but linux didn't kick in for them. Nothing came up at their end - not even
garbage. What am I not doing?

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Shane Richards
u9050728@cs.uow.edu.au
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
From: s.telford@ed.ac.uk (Scott Telford)
Newsgroups: comp.os.linux
Subject: Re: GNU kids on the block?   (sorry... couldn't resist)
Keywords: Linux, GNU, FSF, Mach, single-server, volunteer
Date: 26 Aug 92 11:58:51 GMT
Organization: Dept of Computer Science, University of Edinburgh, UK.

In article <1992Aug25.123854.26792@uwm.edu>, rick@ee.uwm.edu (Rick Miller) writes:
> roland@prep.ai.mit.edu (Roland McGrath) writes:
> >The GNU Project would like to find a volunteer to work on a
> >single-server for the Mach 3.0 microkernel based on Linux.

> >Since AT&T's lawsuit, we can no longer rely on using BNR2SS, the
> >single-server based on the Berkeley Networking 2 release.

> I thought the GNU Hurd was supposed to be a UN*X look-alike *itself*.
> This sounds very fishy, folks.

Here's the relevant bit from the June 92 GNUS Bulletin:
===============================================================================
   * Free Unix Emulator for Mach

     Randall Dean at CMU is finishing up a free BSD-based Unix emulator for
     Mach.  It does not yet run reliably, but if it does become robust well
     before the Hurd is ready we will probably use it to create an early,
     completely free GNU system.  We do not expect tape distribution of this
     emulator before the next issue of the GNUs Bulletin.  Please don't ask us
     about this project; we will make an announcement when it is ready.

     Roland McGrath is porting the GNU C library to work with this emulator.

     (Copyright (C) 1992 Free Software Foundation, Inc.)
===============================================================================

Presumably, Randall's emulator has net/2 code in it, so the FSF want
to substitute bits of Linux instead. Sounds like a good idea: Linux
would then not only be an old-fashioned monolithic-kernel-style
Unix-clone but also form the basis of a next-generation microkernel
Unix system on top of Mach - this should please Andy Tanenbaum 8^).
Exactly how much code could be ported is questionable, I suppose.

-- 
Scott Telford, Dept of Computer Science,      electric mail: s.telford@ed.ac.uk
University of Edinburgh, Mayfield Rd, Edinburgh, EH9 3JZ, UK.
------- Rollin' over like a big, big cloud/Walkin' out in the Big Sky! --------
From: gt6698a@prism.gatech.EDU (Andrew Hobson)
Newsgroups: comp.os.linux
Subject: xv for 2.2.2d ?
Summary: does one exist?
Date: 3 Sep 92 21:55:13 GMT
Organization: Georgia Institute of Technology

Greets!

Is there an xv that has been compiled without the setjmp or longjmp
defined for X386 1.1 ?  The only copy I have been able to find so far
tells me that setjmp and longjmp are undefined.

Thanks for any help.


Andrew Hobson


-- 
Andrew Hobson                         Internet: gt6698a@prism.gatech.edu
"He who joyfully marches to music in rank and file has already
earned my contempt.  He has been given a large brain by mistake,
since for him the spinal cord would fully suffice."   -- Albert Einstein
Newsgroups: comp.os.linux
From: t-piersh@microsoft.com (Piers Haken)
Subject: Re: tar and compress
Date: 03 Sep 92 17:35:39 GMT
Organization: Microsoft Corp., Redmond, WA 98052

In article <182emuINNb8o@usenet.INS.CWRU.Edu> mal11@po.CWRU.Edu (Matthew A. Lewis) writes:
>
>
>could someone please provide the easiest US sites for obtaining compress
>and tar under MSDOS???? I've looked at some of the sites in the "FAQS"
>but with no luck.
>
>I thought they would be a wuarchive.....but I couldn't find 'em.
>Thanx in advance.
>

nothing in wuarchive.wustl.edu!mirrors/msdos/... ??

>-- 
>MaThiEu a. LeWis      "There is no middle ground/Or that's how it seems/For 
>Thieves Like Us        us to walk or to take/Instead we tumble down/Either
>mal11@po.cwru.edu      side left or right/To love or to hate."
>					-A Strange Kind of Love

Piers.
-- 
Disclaimer: These views are my own and not necessarily
            those of the company for which I work.
From: hal@pollux.cs.uga.edu (Hal N. Brooks)
Newsgroups: comp.os.linux
Subject: Re: Extended partition is not recongnized when boot from HD
Summary: same problem here
Date: 26 Aug 92 19:36:10 GMT
Article-I.D.: athena.1992Aug26.193610.24951
Organization: University of Georgia, Athens

In article <1992Aug26.144800.6995@cmcl2.nyu.edu> wuwei@acf3.nyu.edu (Wei Wu) writes:
>
>I have a system with 386DX/25, 8Mb RAM, IDE disk, AHA1542B and Fujitsu 
>SCSI disk, Linux 0.97-pl1.5.).
>On my IDE driver I have one primary partition for dos, one small
>primary partition for Linux root, and one extended partition all for
>OS/2.  On the SCSI disk I have three primary partitions for Linux,
>(two for data, one for swap) and one big extended partition divided
>two logical partitions, one for DOS and one for OS/2.
>
>My problem is this. When I boot Linux from floppy, everything is OK.
>In the boot up message, it stated that the primary and all the logical
>partitions are recongnized.
>
>However, if I boot the same image from hard disk, (shoelace installed)
>at boot up, it stated that the primary partitions are OK, the logical
>partition on IDE is recongnized, but for the SCSI disk, the primary
>partitions are recongnized , the logical partitions on the extended
>partitions are NOT recongnized, it gives error messages 'cann't read
>partition table on device 804' or something like that. Then I cann't 
>access the extended partition on SCSI disk.  
>Note that when I boot from floppy everything is fine, I CAN access 
>the extended partition on the SCSI disk just fine.
>
>Do you have any idea what the problem could be?
>
>Thanks in advance.
>
>Wei Wu (wuwei@acf3.nyu.edu)
>

I have the same problem.  I posted about my problem a couple of
weeks ago, but the only responses I got were email messages from
others (including Wei Wu) who are having the same problem.  I ONLY
have a SCSI drive, and I was using logical partitions for Linux /usr
and swap.  Everything's fine if I boot from floppy, but when I boot
from HD, I get a "Unable to read partition table of device 0801"
message.

I sounds like it must be SCSI related.  Perhaps some horrid thing
that OS/2 does (yes, I'm guilty), maybe because of a HPFS logical
partition?  I'm also using the 1542B, a Fujitsu M2624FA, and 0.97.

Any ideas, Drew?  

If anyone would like the exact boot-up messages that I get with
a floppy boot vs. a HD boot, let me know.  They were in my
original posting and I still have them around.

=============================================================================
 Hal N. Brooks     Voice: (706) 546-7792     Internet: hal@pollux.cs.uga.edu
=============================================================================
Newsgroups: comp.os.linux
From: cummings@tiger1.prime.com (Kevin J. Cummings)
Subject: Re: Best choice for booting from hard drive
Organization: Prime Computer, Inc.
Date: Tue, 1 Sep 1992 18:16:20 GMT

In article <1992Sep1.051139.12653@athena.mit.edu>, hammond@kwhpc.caseng.com (Kevin W. Hammond) writes:
> I'm looking for recommendations of boot programs so I can boot linux from my
> hard drive.  I am aware of shoelace and lilo, but am not aware of the diff-
> erences.
> 
> My current configuration consists of one hard drive in two partitions.  DOS
> is on the first partition and linux root is on the second.  I'm currently
> booting linux 0.97pl2 from floppy, but would like to change that to boot
> from the hard drive.
> 
> Opinions anyone?

I'm using BOOTLIN along with a DOS boot manager.  When you boot off of the hard
drive, you get a menu (from your CONFIG.SYS file on the DOS partition) which
allows you to select which configuration you want to boot.  One of those
choices can be the BOOTLIN program which will read your LINUX boot image out
of your DOS filesystem, and boot it for you.  BOOTLIN is free I beleive, but
the boot manager is shareware (it's mentioned in the BOOTLIN documentation what
it is.  I seem to remember getting it from wuarchive in the SIMTEL20 mirror).

I have had none of the 'uninitialized record' problems that shoelace and lilo
have had (probably because the boot file in the DOS file system has no holes in it).

BOOTLIN.ZIP (or something close to that name) is available on tsx-11.mit.edu.

=================================================================
Kevin J. Cummings                       PrimeService
20 Briarwood Road                       A Computervision Company
Framingham, Mass.                       500 Old Connecticut Path
					Framingham, Mass.
Work:  cummings@primerd.Prime.COM
Home:  cummings@kjc386.framingham.ma.us

Std. Disclaimer: "Mr. McKittrick, after careful consideration,
		  I've come to the conclusion that your new
		  defense system SUCKS..."   --  War Games
=================================================================
From: pi@oliver.sun.ac.za (Pieter Immelman)
Newsgroups: comp.os.linux
Subject: Need help in compiling smail-3.1.26
Date: 4 Sep 92 19:55:05 GMT
Reply-To: pi@cs.sun.ac.za
Organization: University of Stellenbosch, South Africa
X-Newsreader: Tin 1.1 PL5

Does anybody know what must be changed in the source/installation to
get smail linking?  Our current problem is that the linker is looking
for _lockf.  We had a prior problem with F_ULOCK, F_LOCK, F_TLOCK which
wasn't defined.  This was easily fixed ;) by adding it to unistd.h.
As we see it, we're either missing a library or _lockf has a different
name in Linux.

BTW, we're running mcc-interim 0.97p2...

Thanks in advance,
--
Pieter Immelman (pi@cs.sun.ac.za)             Telephone: +27 2231 774393
Department of Computer Science, University of Stellenbosch, South Africa
Newsgroups: comp.os.linux
From: t-piersh@microsoft.com (Piers Haken)
Subject: Re: transfering mtools from DOS partition to LINUX fs
Date: 03 Sep 92 17:38:30 GMT
Organization: Microsoft Corp., Redmond, WA 98052

In article <182mfdINN18v@usenet.INS.CWRU.Edu> mal11@po.CWRU.Edu (Matthew A. Lewis) writes:
>
>
>Does rawrite work for this??????
>
>I ran it and gave it mtools.n.tar.Z as the file to copy to my
>floppy drive....
>
>but then in Linux when i tried to mount /dev/fd1 I get an error
>message like no magic match or something.
>
>What is the simplest way to do this?
>
>thanx inadvance
>
>-- 
>MaThiEu a. LeWis      "There is no middle ground/Or that's how it seems/For 
>Thieves Like Us        us to walk or to take/Instead we tumble down/Either
>mal11@po.cwru.edu      side left or right/To love or to hate."
>					-A Strange Kind of Love

What you can do is this.

  ln /dev/fd1 /dev/fd1.Z
Which will create a device suitable for use with zcat...
then 

  zcat /dev/fd1.Z | tar -xvf -
will uncompress the floppy and feed it through tar, extracting as it goes.

Piers.
-- 
Disclaimer: These views are my own and not necessarily
            those of the company for which I work.
Newsgroups: comp.os.linux
From: rafal@utstat.uucp (Rafal Kustra (summer student))
Subject: gcc.2.2.2d-question(s)
Organization: University of Toronto, Dept. of Statistics
Date: Thu, 27 Aug 1992 16:15:18 GMT

I'm about to install new gcc and would like to ask some
questions:
1) I'm getting it from tsx-11. Is install there fixed?
2) I've read all docs. Now how should I proceed with
header files- I have linux0.96c but want to change it to
0.97pl1. To my understanding I should:
	i) Install .97pl1 source.
	ii)Install .97pl1inc files
	iii) install gcc (as per readme)
	iv) compile the kernel by erasing all
	-Inostdinclude from Makefile.

Now step 2.iv) is the one I fear the most. Is there any
header files linking to be done?

Please help and thanx for amazing system !!!

			Rafal

PS: could someone email me the one-line fix to .97pl1?
I can't run pl2 because of ati driver.
-- 
/|| Numbers exist only in our minds. There is no physical entity that
 ||_is_ number 1. If there were, 1 would be in a place of honor in 
 || some great museum of science, and past it would file a steady
==== stream of mathematicians gazing at 1 in wonder and awe.
From: rafetmad@cheshire.oxy.edu (David Giller)
Newsgroups: comp.os.linux
Subject: Re: GWM under X11
Date: 31 Aug 92 00:37:44 GMT
Organization: Occidental College, Los Angeles, CA 90041

erc@unislc.uucp (Ed Carp) wrote:
>Gee, I've heard of Gay White Males and Transvestite White Makes, but what is
>ZWM?  Zulu White Males?  Isn't that a contradiction in terms? :)

It's about the only free ?WM name I could think of.  I thought about QWM, but
the Queer Window Manager just didn't roll off the toungue as nicely as
the Zounds Window Manager.

To the overly sensitive: No, that was not a homosexual joke.

To tell you the truth, it doesn't stand for anything yet.  Any suggestions?

-Dave

-- 
David Giller, Box 134 | Q: How many Oregonians does it take to screw in a light
Occidental College    | bulb?  A: Three.  One to replace the bulb, and two to
1600 Campus Road      | fend off all the Californians trying to share the
Los Angeles, CA 90041 | experience. ---------------------------rafetmad@oxy.edu
From: bboerner@novell.com (Brendan B. Boerner)
Newsgroups: comp.os.linux
Subject: Re: getting "bogus do_no_page"; strange vi behavior
Date: 31 Aug 92 22:37:42 GMT
Organization: Novell, Inc. --Austin

In article <1992Aug31.195805.16530@klaava.Helsinki.FI> torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) writes:
>The "bogus do_no_page" error seems to happen on older 386 chips: they
>sometimes give spurious page-faults.  The linux approach is just to
>print the warning message and return: it seems to work, and the 386 will
>happily do the page translation correctly the next time around.  You
>should be able to safely uncomment the printk() that prints the message:
>especially if linux doesn't seem to mind, and you have no other
>problems. 

That sounds reasonable - this is an old machine.

>I think this is due to an incorrect /etc/termcap: the correct fix is
>naturally just to dump 'vi' and start using some emacs-like editor :-)
>If that isn't possible, try getting a new termcap from a newer rootdisk,
>and the problem should hopefully disappear. 

Well, I use vi like I use edlin on DOS - get in, get out.  I save Emacs
for when I don't mind waiting. :-)  Anyway, thanks, I'll check into
it.

Brendan
-- 
Brendan B. Boerner		Phone: 512/346-8380
Internet: bboerner@novell.com	MHS: bboerner@novell
Please use ^^^^^^^^^^^^^^^^^ if replying by mail.
From: thumper@cs.montana.edu (Wade Hasbrouck)
Newsgroups: comp.os.linux
Subject: bash documentation
Date: 29 Aug 92 21:26:08 GMT
Organization: Dept. of Computer Science, MSU, Bozeman Mt 59717


I have just started using linux.  I have version 0.96c+, I haven't gotten
0.97 yet because I know you guys are fixing bugs in it and I figured I would
have enough problem getting setup so I settled for 0.96c+.  Now for the question
Where can I find documentation on bash.  Right now all I want to do is set the
path so I don't have to type in these long directory every time I want to 
execute a program.  I did find bash.dvi on tsx-11, but it is not text, it is
a bunch of binary code.  Even man pages would be a help, even though I do not
know how to install man pages.  Also is there similar stuff for X windows, so
I can try and fidle with the Xconfig stuff to get it to display decently, so 
I don't have to bother you guys with my questions.  Just in case you are curious
I installed the distribution available from sc.tamu.edu.


Thanks for the time,
Newsgroups: comp.os.linux
From: n217cg@tamuts.tamu.edu (Scott Taylor)
Subject: Re: How to run a second modem on COM3, IRQ5
Followup-To: comp.os.linux
Summary: no problemo
Keywords: setserial, modems, IRQ
Organization: ~/lib/organization
Date: Thu, 3 Sep 1992 05:52:26 GMT

In article <1992Sep2.202602.18765@magnus.acs.ohio-state.edu> bjones@magnus.acs.ohio-state.edu (William A Jones) writes:
>I just obatined a Gateway Telepath modem from a coworker who decided that he
>didn't want it anymore.  So, now I have two high speed modems.  But, after
>reading the documentation, I discovered that the Telepath can be configured
>to use any of the 4 COM ports as IRQ5.  So, what I was hoping to do is
>keep my current installation (Microsoft Mouse on COM1, IRQ4; modem on
>COM2, IRQ3) and run the Gateway on COM3 (or COM4) using IRQ5.  Is this
>possible?  If so, what changes (I'm sure there are some) would I need to
>make to the kernel?  What else would I have to do to get this to happen?
>
You shouldn't need to make any changes to the kernel (assuming you are  running
anything newer than 0.96a) to get this to work.  I currently am running my modem
(2400 baud internal) as a third serial port using IRQ 5; the manual calls it
COM3 IRQ 5 or COM6 (don't you love DOS?).  It works fine.  What you will need
is the program setserial.c that was posted here some time ago; it's probably
available from a fine ftp site near you, or I can mail it to you.  Also, make 
sure that the adress of the modem doesn't conflict with the addresses of your
other serial ports; setting it up as COM3 should be OK.  Shut down your PC, put 
in the card, and reboot.  Linux should report three serial ports.  Make sure
you have a /dev/ttys3 (assuming that the other two serial ports are ttys1 and 
ttys2); you can make it with "mknod /dev/ttys3 c 4 66".  Then run setserial:
"setserial /dev/ttys3 0x03e8 5" (for COM3, IRQ 5, of course).  Be careful, 
since setserial can lock up your system if anything is incorrect (either 
the args to setserial or your modem configuration).  After that, you should
be in business.  You may want to put your setserial command in /etc/rc (or
rc.local), so that the modem is set up every time you reboot.

BTW, I am running 0.96c pl2; I assume  the procedure is the same for 0.97
and that setserial is still necessary and still works. Please feel free
to correct  me if I'm wrong (it won't be a new experience ;-) )

>Thanks,
>
>Bill
>
>
>

Scott Taylor
n217cg@tamuts.tamu.edu
Newsgroups: comp.os.linux
From: jwinstea@fenris.claremont.edu (Jim Winstead Jr.)
Subject: Re: UP and RUNNING
Keywords: help needed !
Organization: Harvey Mudd College, WIBSTR
Date: Wed, 2 Sep 1992 16:47:54 GMT

When you set your distribution to 'usa', you are cutting out a large
section of the Linux community, including Linus Torvalds, the author.

In article <BtyKMI.Aus@mentor.cc.purdue.edu> eoi@mace.cc.purdue.edu (Chenmin Zhang) writes:
>     I have a Seagate 107 M (or 102 M, depend on what is 1M) hardrive.  I 
>followed the installation guide, but I found there is no "psdisk" which is
>supposed to be a safe partition utility.  I do find one "fdisk" but have
>to detail documentation.  I used DOS partition program "fdisk" to partition
>my hard drive as one 15M primary DOS partition, one 63M extended DOS. 
>I left about 24M preparing for 18M + 6M for linux and linux swap.  I don't
>know this will work or not.  Should I partition hard drive using LINUX
>"psdisk" or "fdisk", or using DOS first, and leave some space for LINUX.
>BTW, I am using LINUX 0.97 version on tsx-11.mit.edu.

pfdisk (not psdisk) is no longer on the root disk - it was replaced by
the better fdisk from Owen LeBlanc which is also used on the MCC
Interim releases.  This was called 'efdisk' on a previous release, but
I have since moved it over to 'fdisk' after adding a quick hack to get
more use out of it.  :)  Just a historical note of no consequence.

Now, the real answers to your problems - the excellent documentation
to fdisk is on the root disk you downloaded.  Log in as 'intro', and
type fdisk at the prompt - it explains how to use fdisk, and the
basics of what partitions are, etc.

The best thing to do would be to use the DOS fdisk to create your DOS
partitions, leaving room for Linux partitions, and then create the
Linux partitions using Linux.  Works for me every time.
-- 
                                    +      Jim Winstead Jr. (CSci '95)
                                    |      Harvey Mudd College, WIBSTR
                                    |   jwinstea@jarthur.Claremont.EDU
                                    + or jwinstea@fenris.Claremont.EDU
Newsgroups: comp.os.linux
From: lfoard@Turing.ORG (Lawrence C. Foard)
Subject: PPP
Organization: The Turing Project, Charlottesville Virginia.
Date: Fri, 28 Aug 1992 17:48:36 GMT

Eventually I would like to get a 56K baud line from uunet to run a public
access unix system. According to uunet a router costs $4000 (more than
my computer!), will it be possible for the Linux TCP/IP code to support 
synchronous PPP connections? If not whats involved in writting PPP code
that would work with the service uunet provides? 

-- 
>>Unix/C Contract worker available 5 years C/unix work experience<<  ______
Available for Telecommuting/Travel and contracts on the T Line       \    /
in the Boston MA area. Send me e-mail for a copy of my Resume.        \  /
       -- VWIS 508-793-9568 (2400 baud), Linux support BBS.--          \/
From: clyde2+@pitt.edu (James C Elder)
Newsgroups: comp.os.linux
Subject: Does anyone use AFS for Linux storage site.
Keywords: AFS,
Date: 30 Aug 92 07:23:38 GMT
Organization: University of Pittsburgh - CIS(S&N)


	Does anyone have Linux available from AFS space? I can use FTP without any 
     difficulties, but it would be simpler yet to just link in to a stable source. 


     Thank you,
		Jim
	jce@blue-gray.cis.pitt.edu	OR   clyde2@unixd2.cis.pitt.edu
Newsgroups: comp.os.linux