HDTenEightyP/NetNews huggingface dataset:
From: joey@protocol.zycad.com (Joey Lai (JcL))
Newsgroups: comp.sys.sun.admin
Subject: Increase resource datasize
Date: 14 Dec 1992 16:44:44 -0500
Organization: Protocol A Division of Zycad Corp
Distribution: world
NNTP-Posting-Host: badboy.protocol.zycad.com
Keywords: datasize


I need to increase my resource datasize from 524280 kbytes to maybe twice the
size.  I reconfigure the kernel by adding the following line:

options MAXDSIZ (1024*1024*1024)


I compiled, installed new kernel and reboot the system without errors.  The
problem is the new kernel is not doing anything new to me.  I still stuck at
524280 kbytes datasize limit.  Any ideas out there ???
I'm running SunOS 4.1.2 with 128 MB of memory, tons of swap space (approx. 1 GB)

As far as I know AIX running version 3.2, the maximum datasize is 256 MB.  How about
SunOS ???

Any ideas or comments please E-mail to:

  joey@protocol.zycad.com


Thanks in advance.



==================================================================================
Joey Lai				voice: 	(201)347-7900
Protocol, A Division of Zycad		fax:	(201)347-0303
500 International Drive			E-mail:	joey@protocol.zycad.com
Mount Olive, NJ 07828
==================================================================================
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.sys.sun.admin
Subject: Re: Sun vs. Solbourne console speed
Date: 13 Dec 92 20:22:09 GMT
Distribution: na
Organization: Auspex Systems, Santa Clara

>OK.  The *why* is that, as I understand it, they fucked up and forgot to
>make the interpreter cacheable.

Actually, it was "the primitive text display subroutines".  To quote the
paper "Open Boot Firmware", by Mitch Bradley (Mr. Open Boot), in the
Winter 1992 USENIX proceedings:

	4.2.  Mistakes

	     The Open Boot architecture is in its second revision (Open
	Boot 2.x).  In the second revision, we had the opportunity (or
	luxury!) to correct many of the mistakes we made in version 1.

	     The problems with version 1 resulted from a number of
	factors, including time pressure, our own ignorance, and "the
	first cut is always wrong" syndrome.  Some of those version 1
	problems include:

		...

	o Text Display Performance

	     In some Open Boot implementations, the text display
	     performance leaves something to be desired.  This is mostly
	     attributable to a bug in the code; the primitive text
	     display subroutines were supposed to be executed from
	     cached RAM, but due to a bug, the cache was not being
	     enabled for that page.   Consequently, those routines were
	     being executed from ROM, which is about 50 times slower
	     than cache!

No, I don't know why not enabling the cache caused the routines to be
executed from ROM, nor do I know whether he meant to say that they were
being executed from RAM rather than from, if you will, the cache.

In any case, if the intent behind asking "why" this happened was to
elicit proof of one's theory that it was some Corporate Plot by Sun to
force people to use window systems, or something such as that, the above
doesn't provide such proof (of course, *true* conspiracy theorists
construct their theories in such a way as to be able to explain away
*all* evidence that contradicts it...).
From: jk@teal.csn.org (John Kranz)
Newsgroups: comp.sys.sun.admin
Subject: Bootable 8mm tape?
Date: 21 Dec 92 04:50:15 GMT
Distribution: na
Organization: Colorado SuperNet, Inc.

I have seen them with my own eyes but have never seen
any documentation on how to create a bootable 8mm tape.

Any tips would be HUGELY appreciated.

Thanks,
jk@csn.org
Newsgroups: comp.sys.sun.admin
From: doug@happy.vf.ge.com (Doug Hughes)
Subject: hosts.lpd doesn't work
Followup-To: comp.sys.sun.admin
Reply-To: doug@happy.vf.ge.com
Organization: GE Aerospace - VF
Date: Fri, 11 Dec 1992 22:20:39 GMT


When I put an entry in hosts.lpd, the remote machine thinks
it is not authorized to print to my machine. However, if I put
a plus in hosts.lpd everything works fine. It also works if
I put the machine in hosts.equiv. However, all things considered,
I'd rather have the + in hosts.lpd than putting the machine in
hosts.equiv.  I've got NIS setup and the nameserver running.
I've got the -B option set in the NIS makefile. I even tried
putting the remote machine in the hosts file just in case..
Nothing seemed to help. Any ideas?

-- 
_____________________________________________________________
Doug Hughes
Software Developer - GE Aerospace (M&DSO), Valley Forge, PA
doug@happy.vf.ge.com	or	hughes@sde.mdso.vf.ge.com
Newsgroups: comp.sys.sun.admin
From: dsc@leo.DIALix.oz.au (David Scott-Courtland (Contractor))
Subject: Exabyte 8500 stacker driver query
Reply-To: dsc@leo.DIALix.oz.au
Organization: Western Mining Corp.
Date: Wed, 16 Dec 92 11:59:50 GMT

G'Day from Sunny W.A.

	I work as a Systems Admin Person (SAP) on a remote minesite in
	West Australia. They have a carton of Sun's (IPX/IPX/SS2). I have
	restructured the Leinster Nickel Operations systems to be
	server oriented. The main server is an IPX with presto card,
	64M, 1 x 424M, 2 x 669M, 1 x 1.3G, 3 x 1.4G, cd and exabyte
	8500 stacker. It's the last one I need some advice on.

	The issue is backups (isn't it always?). I have evaluated
	Networker and BudTool and in conjunction with the Technical
	Group here have decided that they are over-kill for the sites
	needs. I have written a dump script that puts a tape header, a
	file list for partitions and simply done a zero level dump onto
	each tape each night. Then I knocked up an xview program to
	give an interactive front end to the recovery. The whole system
	has been in place now for about three months and has been working
	very well. Absolutely no complaints and it serves the needs exactly.

	The issue I have is around the stacker. The stacker has two
	scsi targets, one for the tape unit itself and the second for
	the robotic arm. The robotic arm operates in a sequential mode
	normally and when one tape is ejected, it simply puts it away
	and gets the next one up the stack and inserts it into the
	drive. This means that when a user wishs to recover a file,
	they have to manually operate the buttons on the front of the
	unit to 'select' the next tape to be used. After the recovery,
	they have to 'select' the correct tape that WAS in the drive
	and do another eject to make the arm put that correct backup
	tape back in.

	Wouldn't it be nice to be able to control the arm via software?
	Well. I have read just about every reference to scsi in the
	manual set and scoured the man pages for details on how to
	control that damn device with no luck. Does anyone know of any
	manual, faq or PD stuff that I can read on how to issue scsi
	control requests to a target? I have checked in the
	/sys/sun4c/scsi directories and found many references to
	functions like scsi_reset(), scsi_control() and so on, but no
	detail, and detail is what I need. Any ideas? I understand it 
	will probably require driver code, but that's ok I've written
	drivers before.

	Dave.

+=======================================================================+
|  ,-_|\   David Scott-Courtland - Systems Software Engineer            |
| /     \  Consulting to Western Mining Corporation			|
| *_,-._/  Home: (09) 370 2303  LNO (090) 265 5479                      |
|      v   decnet:    lnos02::dsc    internet:   dsc@leo.DIALix.oz.au   |
+=======================================================================+

Newsgroups: comp.sys.sun.admin
From: hue@island.COM (Pond Scum)
Subject: Re: Reducing minfree on big disks
Organization: Island Graphics Corp.
Date: Fri, 18 Dec 1992 20:17:32 GMT

dhiltz@whsun1.wh.whoi.edu (David Hiltz) writes:
>Any problems with reducing the minfree value on a 1.3gig drive
>down to 2% or 3% from 10%?  It seems a shame not to be able to
>access that extra 100+ MB.  

If you're just looking for more space, and you're not using the disk for
news, I would recommend increasing the bytes per inode when you newfs
the disk.  I think the default is 2048; increasing it to something like
8192 or 16384 will get you at least 5% more space.  Use fsdump to tell
you how many inodes are used if you're not sure how many you can safely
give up.


-Jonathan	hue@island.COM
Newsgroups: comp.sys.sun.admin
From: kapela@prism.poly.edu (Theodore S. Kapela)
Subject: Re: Need to let Non-Root use Mount
Organization: Polytechnic University, New York
Date: Mon, 14 Dec 92 14:03:27 GMT

This has been brought up several times in the past, and someone always
makes the same suggestion.  (Hopefully) before someone gets "burned"
I thought it wise to mention this. . .

In article <1931@enst.enst.fr> tardieu@inf.enst.fr writes:
>In article <hq8qvm+@lynx.unm.edu>, khan@us17501.mdc.com (Naseer Khan) writes:
>-> Hello Sun Gurus,
>-> 
>-> The command they need to execute is 'mount -r /dev/sr0 /cdrom'
>-> So, I thought I'd see if I could put that in a shell file and
>-> set it's permission to 4755 (with setuid) and have it owned
>-> by root.  I didn't have much hope for this, suspecting that the
>-> shell probably wouldn't be passing the user-id around.  Well,
>-> I guess I was right in my pessimism.  It gives the same old

Set-UID shell scripts are generally *BAD* for security.

>main()
>{
>	if (getuid()==getpwnam("username")->pw_uid) {
>		setuid(0);
>		execl("/usr/etc/mount","mount","param1","param2",...,(char *)0);
>		}
>	else write(2,"Permission denied\n",18);
>}
>
>where you put the username instead of 'username', and the parameters you 
>want to give to mount instead of 'param1',...
>

NO NO NO NO NO!!!!  This is an even worse security risk than Set-UID shell
scripts (You can thank Sun for that).  /usr/etc/mount does *NOT* handle the
actual mounting of the device.  Instead, it does an execlp - NOTE THE
"p" in the funtion name - to mount the actual device.  If you look in /usr/etc,
you will see a bunch of files "mount_*".  These are what actually do the
mounting, and, even though /usr/etc/mount is the one that complains about
your perms, it is these that actually need you to be root.

>You need to BE root to execute the mount command, not to have the effective uid
>root. 
>

The reason that just setting your effective uid to 0 (IE the setuid shell
script) does not work is that effective uid is *NOT* preserved accross the
execlp() in /usr/etc/mount.

Now - in case anyone hasn't noticed yet, I specifically pointed out which 
version of the exec() routines is used.  If you don't know why I said this, 
or where the security risk is, you should see the man pages for execl()
(and friends. . .)

If you want to write a proper wrapper for /usr/etc/mount to let normal
users mount/umount the cdrom (or floppy, or tape drive. . .), you
must search the environment for the "PATH", and munge it so it *only*
contains /usr/etc (getenv()/putenv() will work fine here).  In the
case of SunOS, you should also REMOVE any LD_LIBRARY_PATH you may
find.  You may also set up a simple access control list using a
unix group.  Add a group to /etc/group (say, "mounters") that contains
those users you want to be able to use your "mount" wrapper.  Then, 
search the group list (via getgrnam) for permission.


-- 
..............................................................................
 Theodore S. Kapela				kapela@poly.edu
 Center for Applied Large-Scale Computing	
 Polytechnic University
From: Saeedi@cup.portal.com (Steven J Saeedi)
Newsgroups: comp.sys.sun.admin
Subject: AutoCad on PCs using PC-NFS file corruption
Date: Wed, 16 Dec 92 00:09:55 PST
Organization: The Portal System (TM)
Distribution: usa

Hello,

I have a question to pose the Net and see if anyone out there has had the same 
experiences that I'm experiencing.  This is related to AutoCad release 11 
running on Intel-based machines connected to a server using PC-NFS 4.0.  The 
server is a Sun Sparcstation 2 running SunOs 4.1.1.

I was involved in the installation of the Sun and the connecting of the PCs to 
the server via an ethernet network.  At the same time I installed the server, 
the AutoCad software was upgraded to release 11.  Ever since then, they have 
been experiencing file corruption on the AutoCad data files.  I am trying to 
figure out if this is a network related issue or an AutoCad related one.  Funny
 
thing is that release 11 of AutoCad has a new "feature":  Recover damaged 
files.  This is the feature that needs to be used to recover these damaged 
files.  The corruption also occurs when the files are saved to the "C:" drives 
as well.  I'm pretty sure that rules out a network related issue with PC-NFS, 
but I'm checking to cover my bases.

If anyone has had experiences with this type of scenario, or one similar to 
this, I would certainly appreciate it.

Thanks in advance,

-- Steve Saeedi
   saeedi@cup.portal.com
Xref: sparky comp.sys.sun.admin:9357 comp.sys.sun.misc:5819
From: jh@cadre.com (Joe Hartley)
Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc
Subject: Re: SPARC Seriel <==> Apple LW IIg
Date: 11 Dec 92 22:43:19 GMT
Article-I.D.: fripp.1992Dec11.224319.13994
Reply-To: jh@cadre.com
Organization: Cadre Technologies, Inc.

In article 1g8589INNme8@rave.larc.nasa.gov, arras@shark.icase.edu (Michael Arras) writes:
>
>	I've heard that the Apple terminal I/O code in the LaserWriter IIg
>(and IIf) is buggy.  I've also heard that there is PostScript which can be
>downloaded to the printer to fix this problem.  Can anybody that has this
>fix send it to me?  I'd like to hear from anybody that has an Apple LW IIg
>(or IIf) talking with their Sun SPARC over the RS-232 connection.  What
>does your printcap look like?  Thank you.
>

I've got a LaserWriter IIg, which I got after having lots of success
with a IINTX connected to an SLC's serial port.  I had quite a bit of
trouble getting the IIg connected to the serial port of an IPC running
SunOS 4.1.1.  In fact, once a day, the printer would just stop
working.  Print jobs would line up in the queue, and nothing I did
short of power-cycling the IIg *and* rebooting the IPC would fix the
problem.  I was getting very tired of rebooting my machine.

The story has a happy ending, though.  Last week I replaced my IPC with 
an IPX running SunOS 4.1.3, and everything's been working fine.  I don't
know of any problems in the IIg's I/O code, but it wouldn't surprise me.

Now, there are some gyrations I've had to go through.  First off, though,
let me show the printcap entry:

lw:\
        :br#19200:lp=/dev/ttyb:mx#0:sf:sh:rw:\
        :ms=ixon,ixoff,-parity,-isig,igncr,cstopb,-echok:\
        :lf=/usr/spool/lw/log:sd=/usr/spool/lw:

So far, so good.  Now, I started running into a problem while printing from
Liken, the Mac emulator, which specifically requires a LaserWriterII!  The
kind folks at Liken gave me a short script which I now use wherever I would
use an "lpr -Plw".  Here it is:

#!/bin/csh -f
sed -e "/^ok/,/^%%/d" $1 | lpr -Plw

As it stands right now, this will not print plain text files.  For any ASCII
to PostScript conversion, I use the program "asc2ps", which is part of the
freely available package psroff.  That package also allows you to build in
an automatic ASCII-to-PS filter in the printcap, but I haven't gotten to it
yet :-)

Hope this helps!

===============================================================================
Joe Hartley          | jh@cadre.com  -  Whenever you find that you are on the
Cadre Technologies   | side of the majority, it is time to reform. - M. Twain
222 Richmond St.     | --------------------------------------------------------
Providence, RI 02903 | Overman 1st Class - the Kilgore Trout Memorial Clench
(401) 351-5950 x266  |            of the Church of the SubGenius  
===============================================================================
Newsgroups: comp.sys.sun.admin
From: bogstad@gauss.cs.jhu.edu (Bill Bogstad)
Subject: Re: Sun vs. Solbourne console speed
Organization: Johns Hopkins Computer Science Department, Baltimore, MD
Distribution: na
Date: Fri, 18 Dec 1992 08:08:39 GMT

In article <15984@auspex-gw.auspex.com> guy@Auspex.COM (Guy Harris) writes:
>....
>Or, to put it another way, I've seen no evidence whatsoever that it's a
>case of "let's deliberately make the console slow".  At most, it's a
>case of "yeah, the console is slow, but we don't think it's worth our
>while doing things differently to make it faster."

	I buy that on the older machines.  I'm curious about one thing
though.  What is the screen speed on the LX, Classic, and SS10s?  The claim
made by Sun's own employee at USENIX was that the slow screen speed was the
result of a minor bug (and implies an easy fix).  I would think that any
reasonable vendor would roll all of the known bug fixes into the next major
release.  I would have thought would this would appear on the the machines I
mention above.  If not does this mean that the other bugs mentioned in the
paper are still there as well?  If yes, they are slow at bug fixing (some
would say this is typical of Sun).  If no, the conspiracy theories start
again.

				Bill Bogstad
From: tkevans@eplrx7.es.duPont.com (Tim Evans)
Newsgroups: comp.sys.sun.admin
Subject: printcap needed for HP Paint Jet
Date: 16 Dec 92 21:28:36 GMT
Reply-To: tkevans@eplrx7.es.dupont.com
Organization: DuPont Engineering Physics Laboratory

I'm looking for a printcap entry for an HP Paint Jet printer--the
original model (not the XL300).  Thanks.

Alternatively, does NewsPrint support this printer?
-- 
Tim Evans                     |    E.I. du Pont de Nemours & Co.
tkevans@eplrx7.es.dupont.com  |    Experimental Station
(302) 695-9353/7395           |    P.O. Box 80357
EVANSTK AT A1 AT ESVAX        |    Wilmington, Delaware 19880-0357
Newsgroups: comp.sys.sun.admin
From: johnj@welchgate.welch.jhu.edu (John A. Johnston)
Subject: telnetd banner, source or hacks?
Organization: Johns Hopkins Univ. Welch Medical Library
Distribution: usa
Date: Fri, 11 Dec 1992 20:15:40 GMT


A group at the library would like to have a more extensive login banner
displayed when patrons connect to their 690 via network (telnet,
rlogin). [SunOS 4.1.2]

Telnetd seems to have the message it displays at connection time hard
coded in, versus how it can be done with a tty by manipulating
gettytab.

I'm wondering if anyone has done this bit of system customization, and
how?  The telnetd can probably be found is source form but I'm no C
whiz.

Any hints or tips would be appreciated.  Many thanks.
-johnj
From: envbvs@epb11.lbl.gov (Brian V. Smith)
Newsgroups: comp.sys.sun.admin
Subject: dial-in/dial-out on Sparc ELC
Date: 17 Dec 1992 21:39:14 GMT
Organization: lbl
Distribution: world
NNTP-Posting-Host: 128.3.12.123

I would like to be able to allow dial-in and out access to/from our
Sparc ELC.  I have set up /etc/gettytab for dial-in logins and /etc/dialers
for outgoing tip access, but sometimes when I try to use tip to dial out,
it says all ports busy, and sometimes when I do succeed in using tip, then
init spins forever and dial-in access doesn't work anymore.  

After init gets stuck, it ignores any changes to /etc/gettytab after that
(even, of course after kill -HUP 1 ).
 
I am running SunOs 4.1.2.

I have read the FAQ about this, but the ELC doesn't come with the 
"Systems and Network Administration Guide", only something called
"Systems and Network Manager's Guide", which refers the reader to the
Administration Guide for incoming calls!

Strange that they should refer to a manual that doesn't come with the machine.
Any ideas out there?

Here is what I have in /etc/ttytab:

ttya    "/usr/etc/getty std.2400"       vt100         on modem



-- 
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL; they don't pay me enough for that.
From: be193@cleveland.Freenet.Edu (Mathews A Emmanuel)
Newsgroups: comp.sys.sun.admin
Subject: HELP IN ADDING Panasonic KX-P4450i to SS2
Date: 14 Dec 1992 21:02:57 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: be193@cleveland.Freenet.Edu
NNTP-Posting-Host: hela.ins.cwru.edu


Need Help in Installing Panasonic KX-P4450i to Sun Sparc Station 2.
We had a sparc printer connected to SS2 through a SBus card on
device lp=/dev/lpvi0. The sparc printer died of fuser problem.
We are trying to connect a Panasonic KX-P4450i like the way it
said in the man pages. That is connected the printer to port A.
emulated the printer to to RS232C. connected using rs232 cable.
The computer is also adjusted to rs232C.

Then gave the command stty9600;
cat /etc/printcap > /dev/ttya
Nothing is printed. What am I missing? Does it need a separate
device driver or is it due to the earlier Sbus and News software 
installation. 

What are we really missing? Any help will be appreciated

Mat

Xref: sparky comp.sys.sun.admin:9592 comp.unix.misc:4626
From: jbotz@mtholyoke.edu (Jurgen Botz)
Newsgroups: comp.sys.sun.admin,comp.unix.misc
Subject: Finger problems under SunOS 4.1.x
Date: 18 Dec 92 19:46:37 GMT
Organization: Mount Holyoke College

A machine I'm responsible for (Sparc2, SunOS 4.1.2) is exhibiting
some odd behavior with 'finger'.  Specifically, 'finger -q <user>'
works, but 'finger <user>' just hangs.  Doing 'finger <user>@grendel'
(grendel is the machine in question) from another system also hangs,
and aborting leaves a fingerd process accumulating CPU time forever.

The fact that it works with '-q' leads me to believe that it has
some problem trying to get information out of the password database
(the info it displays with the -q option doesn't include anything
that needs to be looked up in the PW database).  I'm running NIS,
but everything else seems to be able to access the password DB just
fine.

Any leads or suggestions on how to proceed in debugging this
would be appreciated.

--
Jurgen Botz                  |   Internet: JBotz@mtholyoke.edu
Academic Systems Consultant  |     Bitnet: JBotz@mhc.bitnet
Mount Holyoke College        |      Voice: (US) 413-538-2375 (daytime)
South Hadley, MA, USA        | Snail Mail: J. Botz, 01075-0629
From: jdb@arp.anu.edu.au (John D. Barlow)
Newsgroups: comp.sys.sun.admin
Subject: Re: Using rdist instead of NIS/YP?
Date: 17 Dec 1992 03:11:19 GMT
Organization: Centre for Information Science Research, ANU, Canberra, Australia
Distribution: world
NNTP-Posting-Host: 150.203.20.12

In article <1992Dec11.211922.12767@alf.cooper.edu>, hak@alf.cooper.edu (Jeff Hakner) writes:
|> Anyone out there using rdist instead of NIS/YP for passwd serving?
|> What are your experiences & recommendations?

I use it.  Greatly recommended (ie: I haven't had any problems with it
yet :-).  I have npasswd installed, and a script that tells users if they
are on the wrong host to change the password (and tells them to run
npasswd on the other host, and also warns them of the time delay in
propagating the new passwd file).

I now use rdist to "mirror" disk partitions as well.  I specify /usr/new
(full of public domain software) and it trundles away copying to relevant
hosts.

I believe security is a concern, and you may want to get the latest rdist
in source form (6.0.0 if memory serves me).

-- 
John Barlow, Parallel Computing Research Facility, Australian National
University, I-Block, PO Box 4, Canberra, 2601, Australia.
email = John.Barlow@anu.edu.au
[International = +61 6, Australia = 06] [Phone = 2492930, Fax = 2490747]