HDTenEightyP/NetNews huggingface dataset:
From: rdavis@convex.com (Ray Davis)
Newsgroups: comp.unix.bsd,comp.unix.questions
Subject: Re: WEIRD IDEA? (chroot)
Date: 29 Dec 92 19:45:30 GMT
Organization: CONVEX Computer Corporation, Richardson, Tx., USA
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

karttu@mits.mdata.fi (Antti Karttunen) writes about using chroot(2)
for guest login security:

You're in the right direction.  I've done this before and it works
fine.  In my case, it was a bad idea to replace /bin/foo with a
symlink to /usr/customers/bin/foo, so I either made copies of the
files or I used a local nfs mount.  For each filesystem (/usr for
example) I created a /usr/secure directory which had the /usr
heierarchy in it and hard links to the files I needed.  If the
directory to be chrooted to was /usr/customers, then I would mount
each secure filesystem under that like:

    mount localhost:/usr/secure /usr/customers/usr

This of course will be more overhead than your symlink solution,
but might be useful for things like the mail spool directory.

>chroot function for these special users, in the patched login I'm
>about to hack.

You may not need to hack login if you don't want.  Just make these
users have a shell which is a setuid root program that does the
chroot and execs `/bin/login username' again (this will actually
be the /bin/login in the customers heierarchy).

>About devices in /dev,  man chroot  gives the following warning:
>
>  BUGS
>       One should exercise extreme caution when	referencing device
>       files in	the new	root file system.

This is because two separate device files pointing to the same
device may cause permission problems.

>3) If this chrooting is not so wonderful idea after all, does there
>exist SysV-esque rsh for BSD4.3 anywhere? (I mean the Restricted Shell,
>not Remote Shell). If you answer only to this last question, then
>please do it with mail, and I will then summarize.

An rsh will be much simpler, of course, but perhaps not as secure
since you have to worry not only about chdir and file access in
the shell but in every application you let them use.

We have a s5r2 sh and a ksh under ConvexOS (a 4.* derivative) which
can be used as a restricted rsh.  Of course this conflicts with the
BSD rsh networking command if you name them rsh, but you can name
them r*anything*sh (like rksh for example).

Have fun!
Ray
___
Ray Davis			   Convex Computer GmbH, Frankfurt, Germany
rdavis@masschaos.de.convex.com,   CompuServe: 72657,2154,   +49-69-666-8081
Newsgroups: comp.unix.bsd
From: roell@informatik.tu-muenchen.de (Thomas Roell)
Subject: Re: ET4000/W32 and VESA VL-Bus
	<1992Dec20.153314.24148@Informatik.TU-Muenchen.DE>
	<1992Dec22.125737.24088@cti-software.nl> <Bzqxx4.614@pix.com>
Organization: Inst. fuer Informatik, Technische Univ. Muenchen, Germany
Date: Thu, 31 Dec 1992 11:48:47 GMT

>  However I can't think of any way in which the 4000/W32 could be bad for X
>  that the S3 wasn't.  (it could include more windows stuff 'tho)  Except for
>  devoting a larger part of the chip for stuff useless to X...

Just one example, this time from the XGA. This XGA is tuned for
MS-Windows. MS-Windows allows you to have a fullblow bitmap as a
clipping area (of cource X does as well, but usually only rectangles
or a list thereof are used). The XGA implements this in hardware. But
one the other hand if you just want to have the good old scirroring
(i.e. only one clipping rectangle instead of a whole bitmap), the
performance penalty is significant, and you end up in doing software
clipping instead of the hardware clipping you can do with the S3 guys.

The point is that MS-Windows is in some places stuff with more
(unnecessary ?) features that slow sometimes down the more general
cases, when done in hardware.

- Thomas
--
-------------------------------------------------------------------------------
Das Reh springt hoch, 				e-mail: roell@sgcs.com
das Reh springt weit,				#include <sys/pizza.h>
was soll es tun, es hat ja Zeit ...
Newsgroups: comp.unix.bsd
From: hackney@moxie.hou.tx.us (Greg Hackney)
Subject: Re: 386BSD - Bug in UFS file system + proposed fix
Organization: Home
Date: Mon, 21 Dec 1992 20:36:07 GMT

terry@cs.weber.edu (Terry Lambert) writes:

> When "applying" your patch, I removed mine, putting the bug back into the
> code;
> Testing shows it working fine now.
> Sorry for the false alarm.

Thanks Terry for taking the time to look into it.

I've wondered why nobody has been complaining, as  I suspect they must be
having the same read permission problem when using 386BSD as a NFS file
server.
--
Greg Hackney
hackney@moxie.hou.tx.us


Newsgroups: comp.unix.bsd
From: jc@tackle.uucp (John Capo)
Subject: Re: Minor XFree86 problems, long function key string bug in elvis
Organization: Technology Atlanta Corporation
Date: Fri, 1 Jan 1993 02:27:52 GMT

In article <RICH.92Dec30003656@superego.Rice.edu> Rich@rice.edu writes:
>>>>>> In article <1992Dec30.005909.15079@tackle.uucp>, jc@tackle.uucp (John Capo) writes:
>
>J> I have XFree86 running and only have a few problems left to solve.
>
>J>     1. Auto-repeat is very slow.  I can turn it on and off via command
>J>        line switches or in Xconfig but I can't change the repeat or
>J>        delay rate.
>
>Well, xset can enable or disable the repeat but it doesn't have
>support for changing the rate or delay.  You should be able to use
>'AutoRepeat 500 5' in your Xconfig to set the delay and rate.
>
I have AutoRepeat in Xconfig and I have tried many different delays and
repeat values and nothing works.  The repeat rate I get is the same as I
do from the console which is about 4 characters/second.  Not very fast.
I was getting 10 or so characters per second with ISC.  I looked at the
keyboard driver and see nothing there so repeat must be a keyboard
function.  Any other ideas?

>J>     2. Num lock does not work at all.
>
>try adding 'ServerNumLock' to your xconfig:
>
I also have ServerNumLock in Xconfig and still nothing.

Thanks
--
John Capo       jc%tackle.uucp@mathcs.emory.edu   gatech!vta!tackle!jc
From: leisner@wrc.xerox.com ( Marty Leisner)
Newsgroups: comp.unix.bsd
Subject: Where are tar files of bsd net-2 tapes?
Date: 1 Jan 93 20:04:15 GMT
Reply-To: leisner@eso.mc.xerox.com
Organization: Xerox
X-Newsreader: TIN [version 1.1 PL8]

All the archives I've seen of the BSD  net-2 tapes are lots and lots of 
compressed files (i.e. on ftp.uu.net).

Where is everything in a few tar files (like the X11 distribution...)




--
marty
leisner.henr801c@xerox.com  leisner@eso.mc.xerox.com
Member of the League for Programming Freedom
Newsgroups: comp.unix.bsd
From: glenc@netcom.com (Glen Collins)
Subject: [386bsd] Install problems....
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Sun, 27 Dec 1992 06:04:30 GMT

Hello world again.

	After a few months of trying to get 386BSD to install either
manually or using the install program, I have notices something.
Everytime I run the following the system hangs!

	vi
	elvis
	disklabel
	newfs
	zcpio
	
	I think that about it... All off of either the dist or fixit
disk. I can boot both fine, run ls, stty, sh fine. Could there be
some type of memory problem I am having? Some kind of bios setup. I have
a 386-40 with the opti chipset and AMI bios. Is there some dos program
out there that I can use to debug this? It that possible? Is there
a kernal that has heavy debuging code in it avaliable? I mean plenty
of printf's and the like? So I can at least see what going on? Is
there some keys I can press to get debugging info on the kernal?
Help!

Glen Collins (glenc@netcom.com)

p.s. I have tried to  boot linux but the same problem occurs. Now that
seems like there maybe a problem with the board, eh? But I don't
have the background in 386bsd as the rest of you to deal with this!
:x


Newsgroups: comp.unix.bsd
From: draper@ais.org (Patrick Draper)
Subject: [386 BSD] Permissions set wrong - HELP
Organization: UMCC
Date: Fri, 1 Jan 1993 08:07:43 GMT

I installed 386 BSD on my system without a hitch, but now that I'm adding
users with non-root access, there's trouble.

The directory /tmp didn't have access for others to write to it. Also, the
directory /var/tmp didn't have access either.

Why are these directories set up this way? I switched them, but I don't know
what problems this will cause in the future.

Also, gcc doesn't produce a working executable for a hello world program
under a non-root user, but root can compile and run it just fine.

Thanks in advance for any help.


------------------////////////////////\\\\\\\\\\\\\\\\\\\\------------------
| Patrick Draper-ZBT       Disclaimer:  I can't control my fingers,        |
| draper@umcc.ais.org                   I can't control my toes! - Ramones |
| University of Michigan Computer Club                                     |
NO CARRIER                     We are a nation of laws, not people         |
------------------\\\\\\\\\\\\\\\\\\\\////////////////////------------------
From: reink@hpuamsa.neth.hp.com (Reinier Kleipool)
Newsgroups: comp.unix.bsd
Subject: Re: Install bindist from C: or FTP+NE1000
Date: 28 Dec 92 12:53:20 GMT
Organization: HP-Sales Office-The Netherlands

Hello,


  That is right. The ne driver is internal in the kernal only.
It does not have a /dev/ specialfile. So

  # ifconfig ne0 inet 192.1.1.1 netmask 255.255.255.0

should do it. But if you get the error (some IOCLT stuff): ne0 no such
interface. then your card is probably not recognised as a NE1000. If
it is recognised you should also see a message at boottime.

Reinier Kleipool.



  /\
-(  )-/##---------------------------------------------------------------------
  }{/   ##    One has to look out  -- Overschie ------------------------------
.====.        for engineers- they  -- Reinier Kleipool  ----------------------
| [] |   begin with sewing machi-  -- Mail -----------------------------------
|    |   nes and  end up with the  -- X400: C=nl A=400net P=hp O=hp S=Kleipool
|    |   atomic bomb.....          -- desk: Reinier Kleipool/ hpitcb/75     --
| [] |              Marcel Pagnol  -- unix: reink@hpuamsa.neth.hp.com       --
------------------------------------------------------------------------------
Xref: sparky comp.unix.bsd:10569 comp.os.linux:21455
From: rimkus@netcom.com (Mike Rimkus)
Newsgroups: comp.unix.bsd
Subject: Re: 386BSD Kernel hang problems on Gateway 2000 486/DX2
Date: 2 Jan 93 02:11:45 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

cchase@cs.cornell.edu (Craig Chase) writes:
> DS1437@acspr1.acs.brockport.edu writes:
>
>>    I am trying to install 386bsd on a GateWay 2000 486 50Mhz DX/2. The
>>system has a 205 Mb IDE Drive. I can run the install disk fine, however
>>when I boot off the hard drive the screen looks like this:
>>  ....
>>PANIC: Cannont mount root
>>trap type 12 code=fe060000 eip=fe01278a cs=8 eflags=10282 cr2 14 cpl a
>
> I had this problem too (I also have the gateway).  The problem seemed to go away
> when I truned off the primary cache.  I can't explain it.  Furthermore, 
> yesterday I turned it back on (with a patched kernel) and had no problems.

I was unable to boot Tiny 386BSD until I turned off my caches on my Gateway
486DX2-50. But now I run with caches turned on, no problems. Can't explain it.
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Newsgroups: comp.unix.bsd
Subject: Re: [386BSD] System ignores floppies.
Date: 21 Dec 1992 14:14:27 GMT
Organization: I.Physikalisches Institut RWTH-Aachen
Distribution: world
Reply-To: kuku@acds.physik.rwth-aachen.de
NNTP-Posting-Host: acds.physik.rwth-aachen.de


In article <Bz1GHp.16H@constellation.ecn.uoknor.edu>, ngorelic@speclab.cr.usgs.gov.cr.usgs.gov (Noel S. Gorelick) writes:

>When I them boot of the hard-drive, the floppies line is missing,
>and consequently, I cannot access the floppies from within the
>system.  If it makes any difference (and it probably does) I am
>running on a 300Meg SCSI drive w/Adaptec, AMI Bios, 486DX/33.
>
>Any thoughts?
>

I've been having this non existing floppy problem for months now and have
not yet tracked it down. I'm also using an ADAPTEC 1542B, with one 1.2 MB 5.25 drive attached. I'm running Julian Elischers scsibeta3 driver. But this problem
also existed before. Sometimes - very spuriously - the floppy is seen by
the autoconfig code. I also suspect that this behaviour has been introduced by the 'second drive' wd-patch which I also have in my kernel.

I found this not-recognizing of the floppy annoying, too but had no time to
deal with it. I have the problem on two different machines, one is running
from wd (IDE) disk, the other from SCSI disk with no wd in it.

--
--Chris
Christoph P. U. Kukulies
kuku@acds.physik.rwth-aachen.de
*** Error code 1
 
Stop.
Newsgroups: comp.unix.bsd
From: 48ganelin@cua.edu
Subject: MSDOS <--> [386BSD] partition ???
Organization: The Catholic University of America
Date: Tue, 22 Dec 1992 17:19:47 GMT


I have two-partitions (MS-DOS 5.0 and BSD) and I have problems
with exchange of files between these two partitions. Therefore

Three questions:

1. Is there a MS-DOS program to read files on BSD partition.
(i.e. to understand unix file structure)
2. Where can I find some documentation for mtools. There are no manual
   pages!
3. the command 
     mread "c:autoexec.bat"  (just for example)
  failed with message
  c: probable not MS-DOS partition.
  (I used standard fdisk from MS-DOS distribution.)

BTW. Why file whatis.db is absent. It would be very usefull
to have -k switch in man.

Pavel Ganelin
48ganelin@cua.edu


Newsgroups: comp.unix.bsd
From: julian@tfs.com (Julian Elischer)
Subject: Re: [386BSD] adding a new partition.
Organization: TRW Financial Systems
Date: Sun, 27 Dec 1992 23:16:25 GMT

In article <CC-MAIL+12_23_92_1#c#29PM+#091#386BSD#093#_adding_a_new_partition.*_S=BLANSFIE_OU=EM-01_O=CCMGW_PRMD=GOV+USDOE.G02_ADMD=ATTMAIL_C=US_@mailgw> /S=BLANSFIE/OU=EM-01/O=CCMGW/PRMD=GOV+USDOE.G02/ADMD=ATTMAIL/C=US/@mailgw.er.doe.gov writes:
>     I have a 200 MB hard disk that I has 2 partitions, on the first I have 
>     386BSD and on the other I have DOS.  I want to wipe the DOS partition 
>     and add it to 386BSD.  What would be the way to proceed?  Should I 
>     back-up all my files and reinstall or is there an easier, faster way?
>     
>     Any help appreciated.
>     
>     Mike
>     blansfie@mailgw.er.doe.gov
This known as the "pulling the rug out from under your own feet" trick.
I have actually done worse (shifted the root partition while running on it )
SO YES, IT CAN BE DONE.

your first job is to get a copy of the 386bsd version of fdisk
and it's man page (both installed on ref.tfs.com)

write a copy of the disktab entry which has all the partitions
exactly where they are now, but has another  partition covering
what used to be the dos Partition. (to be safe you could define the
new partition to not cover the first cylinder)
Note that partition d remains the whole disk, but c expands down
to cover the new unix partition size.

whether you define the first cylinder to be part of the unix
partition or not decides if your DOS MASTER BOOT RECORD will
be overwritten by disklabel. (if you want to boot straight
to unix fine, overwrite it).

Using fdisk (the 386bsd fdisk) ("fdisk -u /dev/rwd0d")
redefine the 386bsd partition to cover all the disk.

using disklabel -r -w wd0 <disktab> <label> <xxboot> <bootxx>
drop on the new label.

check the new disklabel with:
disklabel -r wd0

if it seems ok, and there are no overwritten partitions:
newfs wd0x (where x is the new partition) 

mount the new partition.


take backups before yopu try all this 8-)

julian
+----------------------------------+       ______ _  __
|   __--_|\  Julian Elischer       |       \     U \/ / On assignment
|  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
| (   OZ    ) 2118 Milvia st. Berkeley CA. \___   ___ | country !
+- X_.---._/  USA+(510) 704-3137(wk)           \_/   \\            
          v

Xref: sparky comp.unix.bsd:10550 alt.suit.att-bsdi:684
From: davidsen@ariel.crd.GE.COM (william E Davidsen)
Newsgroups: comp.unix.bsd,alt.suit.att-bsdi
Subject: Re: AT&T/USL CD-ROM Review Process
Date: 22 Dec 92 14:03:45 GMT
Reply-To: davidsen@crd.ge.com (bill davidsen)
Organization: GE Corporate R&D Center, Schenectady NY

In article <wilko.724689346@spoetnix.idca.tds.philips.nl>, wilko@russia.idca.tds.philips.nl (Wilko Bulte) writes:
| Yuck. All this makes me feel infected: I've seen AT&T and SCO source. Will
| this make me forever a no-go for GNU-ish software?

  Didn't they tell you that after you see the source they have to kill you?
-- 
bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
    Keyboard controller has been disabled, press F1 to continue.
From: reink@hpuamsa.neth.hp.com (Reinier Kleipool)
Date: Thu, 24 Dec 1992 15:05:00 GMT
Subject: Re: need help with slip problem.
Organization: HP-Sales Office-The Netherlands
Newsgroups: comp.unix.bsd

Hi,


  Well who hasn't...... I tried to slip with a friend who also has a
BSD386 system. We used the standard serial lines (com driver) with
a modem. We ifconfig'ed the sl0 interface, and then called the
other side with kermit (from /usr/othersrc/public/kermit-5a).
Used slattach. But if we try to ping each other, we see the modem
leds flicker, but the messages are not received. (100% packet loss)
we both had the terry's patchkit (#18 & #19) installed..
   maybe one out there knows whats going wrong....


Reinier Kleipool.

  /\
-(  )-/##---------------------------------------------------------------------
  }{/   ##    One has to look out  -- Overschie ------------------------------
.====.        for engineers- they  -- Reinier Kleipool  ----------------------
| [] |   begin with sewing machi-  -- Mail -----------------------------------
|    |   nes and  end up with the  -- X400: C=nl A=400net P=hp O=hp S=Kleipool
|    |   atomic bomb.....          -- desk: Reinier Kleipool/ hpitcb/75     --
| [] |              Marcel Pagnol  -- unix: reink@hpuamsa.neth.hp.com       --
------------------------------------------------------------------------------
Newsgroups: comp.unix.bsd
From: bachesta@pugsley.Data-IO.COM (Jim Bachesta)
Subject: Re: Booting Hints (was [386BSD Install] endless reboot cycle, help please)
Keywords: 386bsd install reboot 
Organization: Data I/O Corporation
Date: Tue, 22 Dec 1992 22:18:22 GMT

In article <BznJqC.A97@NeoSoft.com>, you write:
|> Disable all RAM shadowing options in the BIOS.
|> 
|> Try different scratchpad RAM options.
|> 
|> Remove all unnecessary boards.
|> 
|> Make sure system runs DOS OK.
|> 
|> Try booting in non-turbo mode.
|> 
|> Get a patched kernel from one of the archive sites.

Be careful on the shawdowing options. I spent a couple of months trying to
get BSD running on my system at home. It booted the floppy and installed the OS on the
hard disk ok. When it got to extracting the bin distribution it worked until I got 
to the final installation message. It hung requiring a reboot. The problem turned 
out to be the VGA Shawdow switch on the Motherboard. I had the remaping disabled. 
When I enabled Shadow memory it worked ok. I have a Micronics 20 Mhz Mother board 
with 10 Megs of RAM. The way I found the problem was through trial and error. The
switch was one of the few things left.

Good Luck.

Jim Bachesta
Data I/O Corporation
bachesta@Data-IO.COM

Newsgroups: comp.unix.bsd,comp.os.linux,comp.unix.pc-clone.32bit
From: jhallen@world.std.com (Joseph H Allen)
Subject: Need data for SC402 and Unterminal
Organization: The World Public Access UNIX, Brookline, MA
Date: Mon, 28 Dec 1992 21:28:19 GMT

I would like to write Linux drivers for Advanced Micro Research's Unterminal
(multiple video cards/keyboards in a single computer) and Archive Corp.'s
SC402 SCSI Controller.

To do this I need:

Programming info (OEM manual) for the SC402 controller and/or Archive's
address and phone number.  I haven't tried getting the information directly
from them since I lost their address.  The big chip on the SC402 says:

		ARCHIVE
		20940-001
		NCR0380704
		F841846
		N9029

If that sounds like a standard chip to anybody, let me know, it would also
be helpful.  The only thing on the SC402 board is that chip and some TTL (no
PALs).

and:

Programming info (OEM manual) for the AMR's Unterminal, the hercules-card
model.  I have tried to get the information from them, but they weren't
cooperative.  (some lame excuse about them having agreements with the
software companies which make their drivers- it's also possible that the
salesperson didn't know what he was talking about).  Too bad, since they
have a really nice product.  Anyway, before I start hacking, I wonder if
anyone has any info.

Any drivers I write will of course be donated to Linus.

I'm trying to switch OSs from Xenix to Linux in this one job I'm working on. 
Except for the missing drivers, Linux turns out to be ideal for the vertical
products which consultants like me put together.  It's not a big deal if the
SC402s won't work, I can just replace them with supported cards.  But the
Unterminal thing is a relatively big investment.  It would be really nice if
that could be made to work.  (next time I not going to use the cutesy
hardware- I'm going to switch to ethernet).
-- 
/*  jhallen@world.std.com (192.74.137.5) */               /* Joseph H. Allen */
int a[1817];main(z,p,q,r){for(p=80;q+p-80;p-=2*a[p])for(z=9;z--;)q=3&(r=time(0)
+r*57)/7,q=q?q-1?q-2?1-p%79?-1:0:p%79-77?1:0:p<1659?79:0:p>158?-79:0,q?!a[p+q*2
]?a[p+=a[p+=q]=q]=q:0:0;for(;q++-1817;)printf(q%79?"%c":"%c\n"," #"[!a[q-1]]);}
From: DS1437@acspr1.acs.brockport.edu
Newsgroups: comp.unix.bsd
Subject: Xfree86 Font directory problem?
Date: 29 Dec 1992 20:15:53 -0600
Organization: UTexas Mail-to-News Gateway
NNTP-Posting-Host: cs.utexas.edu

    I am having problems getting Xfree86 running, it seems to initiaize
the screen fine , but then switches back to text, and hangs the console
port (still can telnet in). I found out that there is an error that
the server is reporting but never showing, I can only get this error on
a system that is telneted in, it is:

failed to set default font path '/usr/X386/lib/X11/fonts/misc/,/usr/X386
/lib/X11/fonts/75dpi/'
Fatal server error:
could not open default font 'fixed'

    I am trying to install this on two machines, and it does the exact same
thing on both machines. Of course the directory entries are correct and
mkfontdir has been run in each directory. There is an fonts.alias file
in the misc directory that lists 'fixed' as misc-blahh-blahh and that
entry does appear in the fonts.dir as 6x13.psf.Z
    Does anyone know what is wrong? why isn't the server able to
set the font directories?

****************************************************************************
Name: Donald L. Schleede                      Snail-Mail:
Call: KB2LZF (kb2lzf@wb2wxq.ny.na.usa)          Dept. Earth Sciences
E-mail Addresses:                               SUNY Brockport
 ds1437@acspr1.acs.brockport.edu                Brockport, NY 14420
 dschleede@unidata.ucar.edu                   Twisted Pair:
 root@kb2lzf.UUCP                               (716) 395-5718
Planet: Earth
****************************************************************************

Newsgroups: comp.unix.bsd