HDTenEightyP/NetNews huggingface dataset:
From: matthews@oberon.umd.edu (Mike Matthews)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: Bad blocks on optical disks????
Date: 21 Nov 92 21:23:11 GMT
Organization: /etc/organization

In article <By08v7.BJL@ux1.cso.uiuc.edu> lemson@ux1.cso.uiuc.edu (David Lemson) writes:
>Unless I am mistaken, you must always use the raw device with fsck,
>so you must say 'fsck /dev/rod0a'.

Nope.  In the man pages:

     Checking the raw device is almost always faster.

You *want* to use the raw device, but you don't *have* to...

>David Lemson
------
Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
------
The day will come when the mystical generation of Jesus, by the Supreme Being
as his Father, in the womb of a virgin will be classified with the fable of
the generation of Minerva in the brain of Jupiter.  But we may hope that the
dawn of reason and freedom of thought in these United States will do away with
this artificial scaffolding and restore to us the primitive and genuine
doctrines of this most venerated Reformer of human errors.
- Thomas Jefferson



Newsgroups: comp.sys.next.sysadmin
From: wampner@next1 (Eric Wampner)
Subject: Next and Taylor UUCP
Organization: University of Central Florida
Distribution: na
Date: Tue, 24 Nov 1992 00:34:51 GMT

Okay, i am running 2.1, with 040 Next Cube.

Has anyone gotten taylor uucp 1.03 to compile properly on the next?

I compiled it without much trouble, but the trouble is that uucico 
does not seem to release the port after a caller has finished the
transaction (calling in). uucp works fine, but it takes a reboot
to fix the port. its not LockFiles, I looked in Debug (with all
enabled) and I don't see any messages about Closing or Reseting
the Port. So, is there a fix?

eric wampner
wampner@acme.ucf.edu
Newsgroups: comp.sys.next.sysadmin
From: paul@phoenix.Princeton.EDU (Paul Lansky)
Subject: 3.0 question
Originator: news@nimaster
Organization: Princeton University
Date: Wed, 18 Nov 1992 04:10:08 GMT


When I log on I get two copies of the following app running
/usr/lib/NextStep/Workspace.app/WM.app/AppFinder.tool

This seems to be searching through both my disks for
a *long* time.  I  killed these once, and I suspect this
may have munged my workspace manager, which subsequently
refused to come up no matter what.  I had to rebuild my 
disk.  (I hate 3.0!  the C compiler is also giving me
unbelievable grief).


Can someone tell me what is going on?

Thanks

Paul Lansky
paul@Princeton.edu

Newsgroups: comp.sys.next.sysadmin
From: matt@zeb.ame.nd.edu (Matthew J. Grismer)
Subject: Formatting to 1024 bytes/sector
Keywords: format,disk
Organization: University of Notre Dame
Date: Thu, 19 Nov 1992 15:59:35 GMT

I have a Micropolis 1684-7 SCSI drive that I would like to reformat to  
1024 bytes/sector. Can this be done with the disk utility under 3.0, and,  
if so, how do you do it? If it can't be done with disk, does anyone know  
of another way to do it?

--
Matthew J. Grismer             M          M  JJJJJJJJJJ  GGGGGGGG
matt@zeb.ame.nd.edu            M M      M M       J      G
NeXTmail preferred             M  M    M  M       J      G   GGGGG
                               M   M  M   M  J    J      G      G
                               M    MM    M  JJJJJJ      GGGGGGGG
From: patrick@norm (Patrick Bohrer)
Newsgroups: comp.sys.next.sysadmin
Subject: Running KSH as your user shell
Date: 18 Nov 92 15:25:22 GMT
Article-I.D.: oakhill.1992Nov18.152522.11535
Distribution: usa
Organization: Motorola Inc., Austin, Texas


Quite a while ago I built ksh on the NeXT and set it up in
Terminal to be my default shell.  But when I try to set it up
on the system as my default shell, I can't login on the NeXT
(It tells my that I have no user shell and that it will run
/bin/ksh and ignore output.  I click OK and it gives me a login
window again.)  But I can rlogin from another machine.
So I copied /bin/ksh to /bin/sh and set my user
shell to /bin/sh and everything works OK (albeit kludgy).  Does
anyone know how to specify ksh as a valid shell.  I appears that
loginwindow compares the name of your shell against some list of 
known user shells before it starts up the Workspace Manager
but I don't know where the list is.

Thanks in advance for any help,

--Pat
*************************************************************************
| Patrick Bohrer                  Internet: patrick@oakhill.sps.mot.com |   
| Motorola Incorporated           Phone   : (512) 891-3197              |
| Microprocessor Products Group   Fax     : (512) 891-3798              |
| RISC Software Design                                                  |
*************************************************************************
Organization: University of Illinois at Chicago
Date: Thursday, 19 Nov 1992 17:29:03 CST
From: Prasad Ravi <U21709@uicvm.uic.edu>
Newsgroups: comp.sys.next.sysadmin
Subject: /Net in 3.0

Hi there,

My Next gets stuck at

Mounting Remote File Systems
/Net
retrying
....
This is happens with all machines. Netinfo server and clients.
I know all automounts are associates with /Net. We are trying to
automount home directories from a SPARCstation. So, i simply type Ctrl C
but that does not mount any entries after the autonfsmount of /Net. I have
to manually mount everything following it. Do i even need the /Net entry?
If no. how can i get rid of it? Any ideas/comments/suggestions are welcome.
    Thanks -Rekha Illuri

Reply to

rilluri@is.rpslmc.edu
From: U27247@uicvm.uic.edu
Newsgroups: comp.sys.next.sysadmin
Subject: Netinfo Network
Date: 19 Nov 92 00:23:04 GMT
Article-I.D.: uicvm.92323.182305U27247
Organization: University of Illinois at Chicago

Hi,
We are obtainig about 50-100 next's in the following 6 months.
We are planning on using a some of the Next as Application, print,
fax, Netinfo, mail servers. My questions is how  many clients/server
is recommended( taking into acoount nfs links, network traffic etc.)
For example a single Netinfo/mail server can support upto how many clients?
 Any suggestions/comments appreciated.
Thanks
reply to

rilluri@is.rpslmc.edu
Newsgroups: comp.sys.next.sysadmin
From: gvh@metrosoft.com (Gordon Van Huizen)
Subject: Re: Sendmail config
Reply-To: gvh@metrosoft.com (Gordon Van Huizen)
Organization: Metrosoft
Date: Sun, 22 Nov 1992 20:50:54 GMT

In article <1992Nov21.055303.663@drefla.mese.com> matt@drefla.mese.com (Matt  
Brandt) writes:
> Has anyone else had the problems I've had getting sendmail to do the  
> right thing?

Good lord yes! We ended up using a sendmail.cf from PSI altough we still have a  
few problems with it. We hired a UNIX expert that helped some. I ended up  
buying several books to learn how rulesets worked, etc. What a pain. I'd say  
I've dumped several weeks and several hundred dollars into this. And it STILL  
doesn't work 100% right!

> Is there an easier way to do this (maybe with netinfo)? I can't believe  
> that NeXT overlooked what may well be one of the most common  
> configurations out there.
> 

Ditto. This has to be one of the largest voodoo aspects of UNIX. I'm amazed  
that no one has come up with something better. The difficulty is the number and  
variety of problems being addressed by the scheme. There are a few software  
packages available (one came bundled with Neuron modems - the reason we made  
*that* purchase) but they are very simplistic and only handle simple  
connections to one or two Internet access providers.

> What are your experiences with sendmail?
> 

Unpleasant and expensive. For being a virtual necessity to a member of this  
community it's crazy how complicated and unknown this area is.

Gordon
-- 
----------------------------------------------------------------
Gordon Van Huizen           vox: 619.488.9411  fax: 619.488.3045
Metrosoft                   gvh@metrosoft.com [NeXTmail welcome]
----------------------------------------------------------------
Newsgroups: comp.sys.next.sysadmin
From: sdunbar@mailbox.fwrdc.rtsg.mot.com  (Steven T. Dunbar)
Subject: loginwindow hooks- ARGHHHH!!!!
Organization: MOTOROLA 
Date: Thu, 19 Nov 1992 19:16:53 GMT

I'm trying to do some accounting of my log in time.

I wrote a login script like this:
#!/bin/csh
echo 'Login :' `/bin/date` >> ~/.worklog

and I wrote a logout script like this:
#!/bin/csh
echo 'Logout :' `/bin/date` >> ~/.worklog

I then did (as root):

dwrite loginwindow LoginHook /usr/local/bin/loginscript
dwrite loginwindow LogoutHook /usr/local/bin/logoutscript

I logged out of the console, used 'exit' to reload the 
loginwindow, logged in, and it doesn't work.

the scripts work just fine from the command line.

I rebooted the machine... still didn't work...

Anyone know why this is failing???

Thanks!!!

Steve
---
____________________________________________________________________________
Steven T. Dunbar                          sdunbar@mailbox.fwrdc.rtsg.mot.com
Development Engineer                      (817) 232-6080

Motorola GSS Cellular Infrastructure Group - Ft. Worth Research & Development
____________________________________________________________________________

Newsgroups: comp.sys.next.sysadmin
From: korp@eid.anl.gov (Peter A. Korp)
Subject: NXHost across SLIP
Keywords: NXHost, SLIP, broken, help
Organization: Argonne National Laboratory, Argonne, Illinois
Date: Mon, 23 Nov 1992 20:22:29 GMT


I have set up SLIP from the archives and though I can get all sorts of  
programs talking over it, (ping, telnet, rlogin, X stuff) I can't seem to  
make the -NXHost option do a darned thing. It says it cannot connect.

Whats up?? It seems like after a while I lose the ability to NXHost to
real machines too.

Help....

--
	Peter A. Korp
	Assistant Scientist
	Argonne National Laboratory
	korp@eid.anl.gov
Newsgroups: comp.sys.next.sysadmin
From: Kambiz Aghaiepour <kambiz@oceania.com>
Subject: Re: Running KSH as your user shell
Reply-To: kambiz@oceania.com
Organization: Oceania Health Care Systems
Distribution: usa
Date: Wed, 18 Nov 1992 20:28:20 GMT


patrick@norm writes:
> I appears that
> loginwindow compares the name of your shell against some list of 
> known user shells before it starts up the Workspace Manager
> but I don't know where the list is.
> 
> Thanks in advance for any help,

This is probably going to show up as the 20th followup answer to this
question, but here goes.

The list is kept in /etc/shells.  If the file does not exists, then only
/bin/sh and /bin/csh are accepted.  Look at /usr/local/bin/bash if you're
interested in alternative shells.

--Kambiz

-- 
 \o__O   o    Kambiz Aghaiepour           - |  kambiz@oceania.com       o   o
   \_   /|\   Oceania Health Care Systems |\-  netcom!oceania!kambiz   //\ //\
    |\   |\   325 Lytton Ave, Suite 400   | |  FAX:   (415) 322-0142    //  //
   / /   |/   Palo Alto, CA 94301           |  Voice: (415) 322-0127    |\  ||
Newsgroups: comp.sys.next.sysadmin
From: gvh@metrosoft.com (Gordon Van Huizen)
Subject: Re: Removing fonts from the system (was Re: Adding fonts to the system)
Reply-To: gvh@metrosoft.com (Gordon Van Huizen)
Organization: Metrosoft
Date: Fri, 13 Nov 1992 23:18:14 GMT

In article <1992Nov9.002230.4660@afs.com> Michael_Pizolato@afs.com  
(Michael Pizolato) writes:
> We just took some fonts we don't use any more out of our  
/LocalLibrary/Fonts
> directory, yet they still appear in our font panel with the message
> <<Unusable font>> in the preview field.  What do we have to do to get  
rid of
> them altogether?
> 
> Thanx,
> Michael
> 
Run buildafmdir on /LocalLibrary/Fonts.

You may need to also run cacheAFMData.

This is made more bulletproof by first deleting .afmcache, .fontdirectory,  
and .fontlist from the directory.

-- 
----------------------------------------------------------------
Gordon Van Huizen           vox: 619.488.9411  fax: 619.488.3045
Metrosoft                   gvh@metrosoft.com [NeXTmail welcome]
----------------------------------------------------------------
From: joe@gauss.msri.org (Joe Christy)
Newsgroups: comp.sys.next.sysadmin
Subject: booting from an external HD
Date: 19 Nov 1992 18:26:20 GMT
Organization: Mathematical Sciences Research Institute
Distribution: world
Reply-To: joe@msri.org
NNTP-Posting-Host: 128.3.188.58
Keywords: boot device external

After being disappointed upgrading my home machine to 3.0 and finding that
I didn't have enough disc space, I ordered a 1.2 Gig external disc. What I'd
like to do is install the entire 3.0 on the external drive, move my local
trees over and reconfigure the internal drive as a swap partition. What
is the best way to do this? Is there a NeXT sanctified way beyond the
standard UNIX editing of /etc/rc, fstab, &c.? I imagine that I might have
to boot from an OD while moving the root partition from internal to external;
is there some other cleverer way that I haven't thought of?

Joe Christy   |      Head of Mathematical Computing      | Two wrongs
joe@msri.org  | Mathematical Sciences Research Institute | don't make a right,
(510)643-6069 |          1000 Centennial Drive           | but three lefts do
**************|           Berkeley, CA 94720             |********************
From: mary@uhunix.uhcc.Hawaii.Edu (Mary Selman)
Newsgroups: comp.sys.next.sysadmin
Subject: unable to read floppy disks
Date: 18 Nov 92 23:56:01 GMT
Organization: University of Hawaii

The internal floppy disk drive in my NeXTstation turbo color is giving
me trouble. All of a sudden I can not read floppies that have been
used with no trouble in the past. After inserting a diskette I get a
panel informing me that the floppy disk is unreadable. If I choose
to initialize the disk I get another panel indicating:"Error while
initializing disk: disk initialization failed", this last panel appears
after approximately 20 minutes! How can I figure out if this is a
hardware or software problem? Thanks!
					Fernando
Newsgroups: comp.sys.next.sysadmin
From: matt@drefla.mese.com (Matt Brandt)
Subject: Sendmail config
Organization: Applied Engineering
Date: Sat, 21 Nov 1992 05:53:03 GMT

Has anyone else had the problems I've had getting sendmail to do the  
right thing? My situation is that I have a stand-alone station which is  
part of a domain (mese.com) fed by a uucp link from my domain entry  
point (indigo.mese.com). The problems are numerous:

namely: sendmail wants all uucp paths to contain a !. This includes the  
return paths (?). It took a lot of munging on the sendmail.cf file to  
get it to pass a From: xxx <name@drefla.mese.com> line. The bloomin  
mailhost.sendmail.cf file even expects all known machines with @ paths  
to exist on the ethernet! Several rule modifications later I finally  
got there but what a pain.

Is there an easier way to do this (maybe with netinfo)? I can't believe  
that NeXT overlooked what may well be one of the most common  
configurations out there.

What are your experiences with sendmail?

Matt
Newsgroups: comp.sys.next.sysadmin
From: peter@tahiti.umhc.umn.edu (Peter Eisch)
Subject: Re: Swap File
Organization: University of Minnesota
Date: Mon, 16 Nov 1992 16:22:03 GMT

In article <lvv1fq@rpi.edu> gad@eclipse.its.rpi.edu (Garance A. Drosehn)  
writes:
[lots of complex ideas]

if you have a disk (external or otherwise) that you want to swap off of,  
simply:

# disk -L swapdisk /dev/rsd??

and reboot.  Replace the ?? above with the raw device/partition you desire  
to swap to.  I've only done this with the first partition on a device...

Check out /etc/rc.swap, /usr/etc/checkswap (checkswap(8)).

peter

peter@tahiti.umhc.umn.edu
// remember you're on your own.....but you know that already.....
Newsgroups: comp.sys.next.sysadmin
From: asd@sage.cc.purdue.edu (Doug McClure)
Subject: Find isn't working
Organization: Purdue University
Date: Mon, 23 Nov 1992 03:07:47 GMT

I've been trying to use find on my recently  3.0 upgraded system and
have been getting nothing.  I have this line in my crontab:

45 2 * * 7  root    /usr/lib/find/updatedb>/usr/adm/updatedb.log 2>&1

I even ran the updatedb manually.  But when I try and find something
it acts like the database isn't there.  What the hell is the problem?
This worked fine on my 2.1 system.  But then a LOT of things used to
work just FINE on my 2.1 and no longer on 3.0.

-dsm
From: eoliver@ralph.cs.haverford.edu (Erik Oliver)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: Need help implementing diskquota
Date: 16 Nov 92 13:23:08 GMT
Organization: Haverford College Computer Science Department

We have implemented diskquotas on our NeXT using a program which we
downloaded from a NeXT archive site.  It checks disk usage nightly and
disusers people who have been over their quota 7 out of the last 10
days, sys-admin configurable.  What it basically does is add a field to
the NetInfo Database called diskquota, additionally it can be used to
quota Printer access.

If you can't find it, email me and I will try to figure our where we got
our version from.

-Erik
Newsgroups: comp.sys.next.sysadmin
From: francisr@stupid.ucs.indiana.edu (Rob Francis)
Subject: CR/LF in Edit --> DOS --question
Organization: Indiana University
Date: Mon, 23 Nov 1992 19:53:53 GMT

Using Edit in 3.0, I'm finding that CR/LF's created in Edit are not
working if I read the ascii file on a DOS machine.  I poked all around
in Edit's preferences, thinking I just needed to specify something but
don't see anything.  Has anyone else run into this?  I could write a
filter, but it seems I really shouldn't have to... (-:

-rob
francisr@indiana.edu

Newsgroups: comp.sys.next.sysadmin
From: lytras@avalon.physik.unizh.ch (Apostolos Lytras)
Subject: Re: loginwindow hooks- ARGHHHH!!!!
Organization: Informatik Club d. Universitaet, Zuerich
Date: Mon, 23 Nov 1992 16:55:40 GMT

In article <17116@umd5.umd.edu> matthews@oberon.umd.edu (Mike Matthews) writes:
>In article <1992Nov20.134347.9096@ifi.unizh.ch> lytras@avalon.physik.unizh.ch (Apostolos Lytras) writes:
>>Argghhh.... root runs shellscripts!! DON'T DON'T DON'T! A shellscript
>>that is run by root *is* a threat to the security of your system and 
>>possibly of many other systems as well. Especially when it is supposed
>>to run inattendedly.
>Bull.

NOT.

>Do you know how many shell scripts there are on your system?  How 'bout
>/etc/rc?  Guess who runs it.

Please look at when /etc/rc is run. This is just a different case, but I
don't want to get into a discussion about unattendedly running shell
scripts here. I was making it clear that any unattendedly running shell script 
is a possible threat to system security. If you don't believe that, that
is your problem, not mine ;-).

>SETUID shell scripts, now there's a problem.  Not to mention *writeable*
>shell scripts that root runs.

He will probably not get his shell script to run as a LoginHook, for
various reasons. I don't know how secure the loginwindow application is,
but I hope it set the uid of anyone executing LoginHook to the real uid
(loginwindow itself runs probably setuid root, just as 'login' does). So
he can't just make the script executable by root, nor can he make the
logfile writable only by root, and anyone could fake the entries, which
he doesn't want, probably. The script and the log will be accessible by
anyone, no secure path, nothing. Then he will want to avoid that, so he
will put s-bit on his scripts and put them in "secure" paths.
Fortunately csh tests his real uid and even in suid root mode will not
run as root. This will just not work, but it may threaten his system. So
it is absolutely no "bull" to tell him not to do it, because you have to
fear that he will have to make his Scripts SUID root to run, if
loginwindow is an intelligent application. And that IS a security hole.

>>Besides, your programs look like a lot of redundancy to me. Every Login
>>and Logout gets logged (with time, connecting host etc.) in
>>/usr/adm/wtmp. There is also information about shutdowns, reboots and
>>crashes in that file.

Okay, before 3.0 you had to configure syslogd.conf to log everything, or
install the enormously helpful application "MOTD" which can be found on
the archives, so logins on the console would be logged as well... but
there ARE different ways of achieving this without additional
shellscripts and dwrites...

Cheers
- A.

-- 
	 lytras@ifi.unizh.ch   		|   Apostolos Lytras
	 lytras@avalon.physik.unizh.ch	|   Informatik Club der Uni
	 lytras@amiga.physik.unizh.ch  	|   Zuerich, SysAdmin
Newsgroups: comp.sys.next.sysadmin
From: rainer@ruble.fml.tuwien.ac.at (Rainer Staringer)
Subject: Re: NFS problems
Reply-To: rainer@eimoni.tuwien.ac.at
Organization: Technical University of Vienna
Date: Mon, 23 Nov 1992 08:07:15 GMT

In article <1ej08nINNdrn@menudo.uh.edu> sears@tree.egr.uh.edu (Paul S. Sears)  
writes:
> This sounds like the problem we were having here for awhile.  First, do a "ps  
> -aux" on your servers when your clients get the NFS server not responding  
> message.  See which process is using up the most cpu.  My hunch is that  
> lookupd might be the culprit.  It this is indeed the case, then your problem  
> most likely involves netgroups, if you are using them.  Please post more  
> information about your problem.

Yes, I am using a netgroup for restricting NFS access to our local bunch of
machines (4 NeXTs and a few PCs). Also the NeXTs have root NFS access.

> When the server panicked, there should have been a reason for the panic in  
the  
> little window.  It is very helpful to post the panic messages so we have a  
> better idea of what was going on.  

The problem with the panic messages is that they scroll by so quickly :-(
But I remember that it reported something like 'ns_abstimeout table overflow'
as the cause of the panic (this was the 3.0 host). I think it is also
interesting that it said 'NFS server ruble ok' (the 2.1 host), immediately
after the 'Killing all processes' message - looks to me like some sort of
deadlock which can only be broken by killing the right process.

	Rainer
--
Rainer Staringer                   | rainer@fml.tuwien.ac.at
Financial Markets Lab, TU Vienna   | +43 (1) 58801/8138
Newsgroups: comp.sys.next.sysadmin
From: Hartmut Benz <benz@nestor.uni-koblenz.de>
Subject: Re: Mail.app and Active.mbox
Organization: Universitaet Koblenz (FB Informatik)
Date: Wed, 18 Nov 1992 10:41:46 GMT

In article <16NOV199212022491@csa2.lbl.gov> seidl@csa2.lbl.gov (PETER SEIDL  
510-486-7653) writes:
> After a disappointing experience upgrading to 3.0 (another sad story), 
> I just ran into the following problem with the Mail application:
> 
> I normally have Mail autolaunched at log-in, but now it bombs 
> immediately.  The problem seems to be associated with trying to open 
> my Active.mbox. Here are some observations:
> 
> 1-  I can launch Mail by double clicking on other mailboxes.  But if 
> I try to open Active.mbox thru the Mailboxes button, it kills Mail.
> 
[...]
> 6- If I then make a brand new Active.mbox, it works - but I still cannot 
> access the mail in CopyOfActive.mbox with Mail.app.
> 
> 
> Did the Active.mbox get corrupted somehow? Is the problem is not 
> directly related to the switch to 3.0??

I encountered this promblem once. You may try this:
	Edit the file Active.mbox/mbox and scan the mail-header for
	non-ASCII characters (everything but [A-Za-z.()<> and so on].
	REMOVE this chars.
I had a ''Reply to'' field containing some german umlauts---This killd Mail.app

_______________________________________
Hartmut Benz                          | benz@infko.uni-koblenz.de
D-5400 Koblenz, Germany               |       (NeXTmail ok)
From: sritchie@cs.ubc.ca (Stuart Ritchie)
Newsgroups: comp.sys.next.sysadmin
Subject: where is installman?
Date: 23 Nov 1992 13:39:44 -0800
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
NNTP-Posting-Host: stephen.cs.ubc.ca

I've just built a disk from the 3.0 CD-ROM.  It's time to
play with /usr/local/man, but I can't find installman anywhere
in 3.0.  The man page points to /usr/lib/indexing, but it's
not there.  argh.

Newsgroups: comp.sys.next.sysadmin