HDTenEightyP/NetNews huggingface dataset:
From: ralphh@augeas.cs.athabascau.ca (Ralph Hand)
Newsgroups: comp.unix.admin,comp.unix.misc,comp.unix.questions,comp.unix.wizards
Subject: IP network interconnectivity
Summary: cant get my networks to connect properly
Keywords: IP addresses
Date: 7 Apr 92 16:49:25 GMT
Followup-To: comp.unix.admin


I have some problems with my network and I really hope that I can
get some good advice off the net.  I have been working on this
for several weeks now and for the life of me cannot get my mind
bent around what is wrong.

I have a collection of several networks . I am running Sun OS in various 
versions from 4.0.3 to 4.1.2


(197.9.200) -------------- (197.9.201) ----------- (139.48.38)
     |
     |
     |
     |
     |
(139.48.34)
     |
     |
     |
     |
     |
(197.9.204)

There are other branches but there are no problems with these links.
What I have done is start the conversion from one set of network numbers
to a different set.  

First I converted what is now (139.48.38) from (192.9.207) [(139.48.34) was
(192.9.203) at this point] After this conversion all was well in the world
and everyone could still talk to everyone else.

Then I did the second conversion and now (139.48.34) will not speak
to (139.48.38) and (197.9.200) will not speak to both networks at the
same time.  In essence I have created a breach in my network continuity.

I have put (139.48.0.0) in my netmaks file with a mask of (255.255.255.0)
I also tried just putting the two new networks in the netmask file.  Then
I tried putting all three entries in.  But I can still not get
(197.9.200) to speak to both networks at the same time.

I have read the manual and think I understand the two or three paragraphs
that actually apply.  Just in case it matters, we are not running NIS or
DNS and my superiors think that they would be a drain on resources
so they are not really an option.  Any help that anyone can give would be
greatly appreciated. Please try to reply by mail first so we don't add to
the general mayhem on the net.  If a summary is requested I will post it.

Again, thank you in advance.

Ralph Andrew Hand
Development Analyst
Alberta Cancer Board
9707-110 Street (Sixth Floor), Edmonton, AB, T5K 2L9, Canada  
DESK: (403) 482-9394  FAX: (403) 488-7809
From: woody@gergo.tamu.edu (Woody Lee)
Newsgroups: comp.unix.admin
Subject: Printcap entry for a DEC ln08r (DecLaser 3200)
Keywords: Printer,printcap
Date: 6 Apr 92 19:55:00 GMT
Distribution: usa
Organization: TAMU
News-Software: VAX/VMS VNEWS 1.41


I was hoping someone out there might be able to help me.  I need a printcap
entry for a DecLaser 3200 (LN08r).  It's seems like a great printer (13ppm)
but it's not going to help if I can't print to it ;-).

Thanks,

Woody Lee
Research Associate 
Texas A&M University
From: ssanbeg@visual.spk.wa.us (Scott Sanbeg)
Newsgroups: comp.unix.admin
Subject: Use of Pathalias.
Date: 15 Apr 92 01:09:46 GMT
Distribution: na
Organization: The Visual Market Public Access Site - Spokane, WA

Hello. I've seen posts around the net where one or more SysAdms run
pathalias every night or less frequently. I'd like to know more
about this practice, because my understanding is that I can run it
whenever I have a near-full set of maps online. The drawback to this
is that a FULL set of up-to-date maps is merely guesswork, as to when
to run pathalias. So, for the folks running it often, how do you do
this? Do you keep the maps after processing them through pathalias?
Will pathalias remove 'dead' sites automatically when 'upgrading' your
databank? Will pathalias remove an old, out-dated path to a site in
a databank when it sees that a new path exists for such site?
Scott

 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scott Sanbeg, UNIX Systems Administrator     Voice: 509/535-2561
ssanbeg@visual.spk.wa.us (or) visual!ssanbeg@tau-ceti.isc-br.com
From: hendrick@ctron.com (Jim Hendrick)
Newsgroups: comp.unix.admin
Subject: Source Control Software Query
Date: 13 Apr 92 19:27:41 GMT
Organization: Cabletron Systems Inc.

Hi
	Does anyone know of a source control system that does NOT
require that all the master file systems be exported read/write? It
would seem that this could be done using some sort of client-server model
so that submitting changes would request the server make these entried in
its database (rather than the client machine running an executable that does
a setuid to "source-control" and then modifies the source file system
directly). This would seem to provide (at least) two benefits, first
of all, network nfs traffic should be reduced, second it would seem to
be much more secure in that the actual master source database would not
be accessable to end users. If there is such a beast, please let me know
via email (as I will be posting this to several groups that I read only
occasionally).

Thanks!!

--
###########################################################################
### Jim Hendrick (hendrick@ctron.com)	###				###
### Cabletron Systems Inc.		###   " My opinions, etc are    ###
### P. O. Box 5005			### exclusively the property	###
### Rochester, NH 03867-5005		### of nobody in particular."	###
### (603) 332-9400 x1457		### 				###
###########################################################################
From: gahan@chinet.chi.il.us (Paul R. Schmidt)
Newsgroups: comp.unix.admin
Subject: Re: Backup Script
Date: 13 Apr 92 02:35:36 GMT
Distribution: usa
Organization: Chinet - Public Access UNIX

In article <6264@public.BTR.COM> thad@public.BTR.COM (Thaddeus P. Floryan) writes:
>In article <4043@astroatc.UUCP> weeks%astroatc.UUCP@uwvax (Patrick Weeks) writes:
>>[...]
>>Are there any commands in the bourne shell that will force a break out of the 
>>script when an error occurs??

[ stuff deleted ]

>The ``echo "...'' could, of course, be replaced by "exit 1" or whatever
>else is pertinent in your application to indicate a script failure.
>
>RTFM for use of "&&" also.  Or read comp.unix.shells for a week or so.

Since I can't remember if my mailed response bounced or not:

  Shouldn't putting a "set -e" at the top of the script achieve the
  desired result? Assuming of course that the desired result is to
  exit when a command returns a non-zero exit status to the shell.

Cheers,
Paul R. Schmidt
gahan@chinet.chi.il.us
Newsgroups: comp.unix.admin
From: todd@draco.macsch.com (Todd C. Williams)
Subject: Re: nfs mounting from hp to sun
Organization: MacNeal-Schwendler Corp.
Date: Fri, 17 Apr 92 07:59:03 GMT

In article <1992Apr16.221123.20920@dvorak.amd.com> hbowser@dvorak.amd.com (Horace Bowser) writes:
>>On the HP (running HP-UX 8.07)...
>Well, after much searching, i found an entry buried down in an HP manual 
>I can't believe that i have to export the entire file system to export
>some small, deeply burried subdirectory.
>Oh well, such is life, huh?

No.  such is HP-UX.   :-(
					-A satisfied SunOS user
-- 
Todd Williams    UNIX Systems Coordinator     todd@macsch.com    (213) 259-4973
MacNeal-Schwendler Corp. ("MSC"),  815 Colorado Blvd.,  Los Angeles, CA   90041
"The Democrats stand for nothing except 'I wish I was a Republican' and the
Republicans stand for raw, unbridled evil and greed and ignorance smothered
in balloons and ribbons."  -Frank Zappa, 1991  (Zappa for president!)
Newsgroups: comp.unix.admin,comp.unix.ultrix
From: pas@anchor.unh.edu (Paul A Sand)
Subject: Active Virtual Memory: Useful or Useless Statistic?
Followup-To: comp.unix.admin
Organization: University of New Hampshire
Date: Mon, 13 Apr 1992 13:52:06 GMT

From the paper "Tuning ULTRIX" by John Haxby [part of the "monitor"
distribution from gatekeeper.dec.com] (page 6):

    The most useful parameters that the vmstat gives are the sizes of
    the active virtual memory (AVM) and the size of the free list; ...

From the book _System Performance Tuning_ by Mike Loudikes (O'Reilly and
Associates, 1991), page 87:

    avm [is] The total amount of active virtual memory. I have never seen
    any use for this statistic...

Any comments? Who's right?
-- 
-- Paul A. Sand                | We regret the inconvenience.  We're doing 
-- University of New Hampshire | everything we can, which is nothing.
-- pas@kepler.unh.edu          |     (Paul Vixie)
From: neruda@mps.ohio-state.edu (Steven Neruda)
Newsgroups: comp.unix.admin
Subject: Disktab for Maxtor tahiti II (1 Gig)
Date: 17 Apr 92 18:50:00 GMT
Distribution: comp
Organization: The HydroLab, Ohio State Univ. Columbus Ohio


I'm in need of disk geometries for a Maxtor Tahiti II, 1 Gig/512 byte
sector.  I'll be using on a machine running ultrix if that make any
difference.

I usually just hack up something close from another disktab entry but a
magneto optical is such a different beastie I thought it might be best to
ask.

				Thanks in advance,
	
						Steve

Steve Neruda (neruda@mps.ohio-state.edu)
Sys Admin, The HydroLab (292-6193)
177 Scott Hall,  1090 Carmack Dr.
Columbus, OH 43210
Newsgroups: comp.unix.admin
From: tr@samadams.princeton.edu (Tom Reingold)
Subject: Re: Password admin question
Organization: Noo Joizy, USA
Distribution: comp.unix.admin
Date:  9 Apr 92 17:23:49 GMT

wallis@psychosis.ssc.gov (Dave Wallis) writes:

$ I am responsible for adminstration of about 80 (and growing) Unix
$ workstations. On a fair number of them, some non-admin types need to
$ have the root password for reasonable reasons. In order to limit the
$ access of these users, I have divided the machines up into about 10
$ groups, each of which will have a separate root password. My plan is
$ to change the passwords once a month, to keep them from propagating
$ too far.

$ So here's the question: is there a program out there somewhere that
$ will automatcially generate reasonable passwords (ie, pronounce-able
$ (and remberable), but not easily guessable? I shudder at the thought
$ of having to come up with 10 new passwords every month! (guess I could
$ delegate, huh?)

$ Also, if anyone else has found a similar situation, how have you
$ handled a relatively large number of root passwords without having to
$ resort to writing them down?

I like to do away with "root".  I keep the entry in the passwd
database, and keep it at the top of the file, with the password field
invalidated.  Then keep a superuser entry for each person who needs
it.  So the top of the passwd file looks like this

root:*:0:0:superuser:/:/bin/ksh
rjohn:abcdefghijklm:0:0:John Smith as root:/:/bin/ksh
rmary:abcdefghijklm:0:0:Mary Jones as root:/:/bin/ksh
rbob:abcdefghijklm:0:0:Bob Brown as root:/:/bin/ksh

Each person remembers his own superuser password.  He never gives it
out to anyone.  If this policy is adhered to, you don't have to worry
about "the" password being propogated.  If someone temporarily needs
superuser privileges, create a temporary superuser login for him.
Since no one gives passwords away, you don't have to change passwords
every month.

It would be advisable for each superuser to remember a different
superuser password for each machine, but that may be hard to do, so he
might have the same one for all or many machines.  Try to avoid this,
but in reality, many people do this.  If you don't copy passwd entries
from machine to machine and don't use YP, it will be hard to detect
anyway, since the encrypted passwords will vary from machine to
machine.
--
        Tom Reingold
        tr@samadams.princeton.edu  OR  ...!princeton!samadams!tr
        "Warning: Do not drive with Auto-Shade in place.  Remove
        from windshield before starting ignition."
Newsgroups: comp.unix.admin
From: mcglough@glas.rtsg.mot.com (Mark McGloughlin)
Subject: PLEASE READ: UNIX Admin Dept Size/Number of users 
Summary: How big is yours ?
Organization: Motorola Ireland Ltd., Cork, Ireland.
Date: Thu, 16 Apr 1992 15:35:08 GMT

Hi there,
We are currently having a staff overload problem in our Systems
Admin dept and I would be very interested to hear how big other
Admin departments are, as a ratio to the volume of supported equipment
and users. 

Briefly our network consists of:

	> 100 Sun 3 w/stations
	    6 Sun 3 Servers
	    1 Auspex Server
            2 Motorola 68K Unix Boxes
           11 IBM Compatible PC's

There is also a Test network of 3 Tandems and 2 Motorola 88K Unix Boxes
which gets an un-natural amount of re-configuration. The department is
responsible for all admin functions on all of the above machinery.

There is also an Oracle Database and all DBA duties are performed by this
group.

The group is also responsible for training and Third party software evaluation/
purchase/installation/maintenance. There is also a considerable amount of
internal systems software development of which the group gets 90%. Also - 
the group operates a help-desk for user queries ( approx 200 users)

Does this sound like your group ??

How many of you are there and what experience level have you ?

Please reply directly to me and if there is enough interest
I will write a white paper on sysadmin dept sizes and post it.

Thanks in advance,
Mark McGloughlin - Systems Admin
-- 
   _   _     Mark McGloughlin            | Ph:   +353-21-357101
 _/ \_/ \_   Motorola Ireland Ltd.       | Fax:  +353-21-357635        
/ \_/ \_/ \  Cellular Infrastructure Div | UUCP: uunet!motcid!glas!mcglough 
\_/ \_/ \_/  Blackrock, Cork, Ireland.   | Inet: mcglough@glas.rtsg.mot.com
Newsgroups: comp.unix.admin
From: moore@forty2.enet.dec.com
Subject: Can I monitor process slot and swap space usage with ISC-2.2?
Organization: Digital Equipment Corporation
Date: Tue, 7 Apr 1992 17:16:58 GMT

Simple question for those in the know, I suppose. My system consists of an
ISC-2.2 UNIX running on a 386 box.

Hello, my system refuses to works with certain large programs, and I was
wondering is there a real-time means to monitor process slot and swap space
usage on my system.

Thanks, Paul

--
voice:  (+44) 734/204267                  "If it works, don't fix it"
email:  moore@forty2.enet.dec.com
Newsgroups: comp.unix.admin
From: edgar@coco.ms.washington.edu (Edgar Karl Nielsen)
Subject: Tape backups of long filenames
Organization: Univ of Wash , Math Sciences Computing Center
Date: Wed, 8 Apr 1992 02:20:10 GMT

Hi,
	On our ULTRIX 4.2 system we are having problems with not being able to
backup files with long file names. We are using CAP to store macintosh
files on our UNIX system and so we get some weird names also. In addition, some
of our long file names are from LISP users.

Example file name:
/macs/ClassFolders/Mathematica Journals/Fall 1990 V1.2/Packages/Dubisch/1D Motion/.resource/Acceleration 

From what I can tell, gnutar/tar is basically limited to around 100
characters in the full pathname of a file.  From 'Torture-testing
Backup and Archive Programs: Things You Ought to Know But Probably
Would Rather Not', a USENIX/LISA paper by Zwicky, only dump and
afio(SUN OS?) could handle pathnames of 1023 characters, with most
implementations of tar and cpio being restricted to pathnames of 100
and 256 characters respectively.  Unfortunately, the ultrix cpio is
restricted to 128 characters.  From that paper, gnutar and dump seem to
be the better behaving backup methods when dealing with extreme situations.

Even a limit on full pathnames of 256 characters would at least get
us by for now.

So we have a bunch of files that are not being backed up. The only solutions
I see are:
	1) use dump
	2) modify gnutar to allow longer filenames. But this
		would make our gnutar tapes unreadable by unmodified gnutar
		programs.
	3) use pax. Some of our files still exceed the filename limits
		of this program.
	4) get a version of cpio that supports a 256 character pathname.
		And hope this stays sufficiently long!

So the question is, what are people using to get around this limitation.
We prefer to do unattended incremental backups 3 times a week, which
is why we are using gnutar. If we used dump this way, we run into the
problem of dump tapes being useless if a user is working on the system
at the same time. With gnutar, we should only lose the files/dirs that
are modified, if even that.

Please email to me and I will writeup a summary of what people use to do
this type of backup.

Thanks for any info,
Edgar Nielsen
-- 

All opinions are my own....
---------
Edgar Nielsen
From: jfh@rpp386.lonestar.org (John F Haugh II)
Newsgroups: comp.unix.admin
Subject: Re: Password admin question
Date: 13 Apr 92 18:25:17 GMT
Reply-To: jfh@rpp386.cactus.org (John F Haugh II)
Distribution: comp.unix.admin
Organization: On the Beach, Simpson Bay, Sint Maarten, Nederland Antilles
X-Random-Thought: Practice random kindness and senseless acts of beauty

In article <tr.702921111@samadams> tr@samadams.princeton.edu (Tom Reingold) writes:
>If someone knows the algorithm that "passgen" uses, he can guess what
>someone's password is.  While people often choose bad passwords, they
>can learn to choose good ones.  Programs cannot learn to choose good
>ones.  For example, if passgen uses the time of day to choose a random
>number and from that derives the password, a cracker only needs to know
>when the program was run to guess the password.

If it's the "passgen" that I think it is, it computes pseudo-random
numbers by having you hit the interrupt key while spinning away in a
loop of the form

	for (inter = 0;! inter;i++)
		;

with SIGINT set to a signal catcher that sets `intr'.  This isn't likely
to be easily breakable since the rate of change of "i" is very large
with respect to things like clock interrupts or other measuable values.

Take the lower bits of such a rapidly changing value at random intervals
is pretty safe and is one of the recommended ways per the "Password
Management Handbook" from the NCSC.
-- 
John F. Haugh II        | Every 56 days.   | UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 251-2151 | Give Blood, often.    | Domain: jfh@rpp386.cactus.org
"A countryman between two lawyers is like a fish between two cats."
		-- Benjamin Franklin
Newsgroups: comp.unix.admin
From: shore@adobe.com (Andrew Shore)
Subject: Re: How can non-super users use lpc?
Organization: Adobe Systems Incorporated
Distribution: usa
Date: Thu, 9 Apr 1992 23:10:04 GMT

In article <1368@npdiss1.StPaul.NCR.COM> mathieu@npdiss1.StPaul.NCR.COM (Tom Mathieu) writes:
Is there
>a way to allow someone other than root to execute all of the
>lpc commands (up/down/stop/start, etc)?

Here is what we do at adobe -- it's a small enough program that I don't feel
guilty about posting source here.  lpcmd is installed in /usr/local/bin
setuid root.

It logs actions via syslog.  Remember that it must (typically) be run on the
spooling host (not some remote host) to change the printer status.


/* lpcmd
 *
 * secure(?) "lpc" for general users
 *
 * Copyright (C) 1987 Adobe Systems Incorporated.  All Rights Reserved.
 *
 * allow lpc command access for non-superusers via a suid ROOT program
 *	operations are logged via the syslog mechanism
 *
 * syslog message will look like:
 * TIME HOST: PID lp: COMMAND	PRINTER	USER
 *
 */

#include <stdio.h>
#include <strings.h>
#include <pwd.h>
#include <syslog.h>

struct operation {    
    char *command;
} optable[] = {
    "stop",
    "start",
    "status",	/* not priv */
    "disable",
    "enable",
    "restart",	/* not priv */
    "clean",
    "abort",
    (char *) NULL
};


main(argc, argv)
int argc;
char **argv;
{
    char logmsg[512];
    char *cmd,*printer;
    struct operation *thisop;
    int ruid, euid;
    struct passwd *pswd;

    if (argc != 3) {
	fprintf(stderr,"usage: lpcmd command printer\n");
	exit (1);
    }
    cmd = argv[1];
    printer = argv[2];

    /* search optable for command */
    for (thisop = &optable[0]; thisop->command != NULL; thisop++) {
	if (strcmp(thisop->command, cmd) == 0) break;
    }
    if (thisop->command == NULL) {
	fprintf(stderr,"I don't understand %s, get help.\n",cmd);
	exit (1);
    }

    ruid = getuid();
    euid = geteuid();

    pswd = getpwuid(ruid);

    /* set the real user id to be the effective one */
    /* this makes us really be root, so that when we */
    /* exec lpc, it will let us do what we want */

    if (setreuid(euid, euid) != 0) {
	perror("setreuid");
	exit(1);
    }

#ifdef BSD4_3
    openlog("lpcmd",0,LOG_LPR);
    sprintf(logmsg,"%-10s%-14s%-9s", cmd, printer, pswd->pw_name);
    syslog(LOG_INFO,logmsg);
#else
    sprintf(logmsg,"lpcmd: %-10s%-14s%-9s", cmd, printer, pswd->pw_name);
    syslog(LOG_INFO,logmsg);
#endif
    closelog();

    /* exec lpc to do it, lpc is in one of two places */
    execl("/etc/lpc","lpc",cmd,printer,0);
    execl("/usr/etc/lpc","lpc",cmd,printer,0);

    /* should never get here */
    perror("exec lpc");
    exit(1);
}
Xref: sparky comp.unix.admin:2829 comp.unix.shell:2089
From: bill@chaos.cs.umn.edu
Newsgroups: comp.unix.admin,comp.unix.shell
Subject: Re: Help with admin shell script
Date: 16 Apr 92 22:50:50 GMT
Article-I.D.: chaos.bill.703464650
Organization: University of Minnesota, Minneapolis, CSci dept.

kozowski@ohsu.edu (Eric Kozowski) writes:

>I'm trying to write a shell script (preferably sh or ksh) that will add a
>user and set their password.  I would like to be able to do this by just
>giving the script a few command line arguments, one of which would be the
>user's password (not encrypted, of course :-) ).
>Here is what the command line should look like:

>scriptname username uid password GCOS_comment

>I've got everything to work, but the password mechanisim.  It should take
>the non-encrypted password from the command line and do the equivalant of
>the passwd command, or somehow stuff the password from the command line
>into the passwd command.

and what happens if i'm on that machine and do a ps -elf while this script 
is running? hummmmmmm???? well?????

--
bill@chaos.cs.umn.edu
Xref: sparky comp.unix.admin:2807 comp.unix.misc:2071 comp.unix.programmer:2396 comp.unix.questions:6222 comp.unix.ultrix:3842 comp.unix.wizards:2210
From: alan@shodha.enet.dec.com ( Alan's Home for Wayward Notes File.)
Newsgroups: comp.unix.admin,comp.unix.misc,comp.unix.programmer,comp.unix.questions,comp.unix.ultrix,comp.unix.wizards
Subject: Re: Looking for performance measurement tools
Summary: Get Monitor.
Date: 15 Apr 92 14:51:18 GMT
Followup-To: comp.unix.ultrix
Organization: Digital Equipment Corp. - Colorado Springs, CO.

In article <1992Apr14.141917.1071@ferrari.nmc.ed.ray.com>, fredrp@tif28.ed.ray.com (Fred Ross-Perry) writes:
> Hi,
> 
> I am looking for tools to measure the performance of an ULTRIX system.
> I prefer something that can measure cpu, memory, and IO bandwidth
> consumption of each process, as accuratley as possible, for an arbitrary
> window of time.

Get a copy of Monitor from gatekeeper.dec.com.  It's in 
/pub/DEC/monitor.tar.Z.  There is a collection option for
getting information about single processes.  Among the things
it collects are the rusage structures for the process.  The
buffered I/O counts are as close as you'll get for I/O being
done by the process.  I don't think the kernel collects any-
thing else.

Monitor only allows this data collection for one process, so
to watch multiple processes you'll need to run multiple copies
of Monitor or change it to do multiple processes.  For the
"arbitrary window of time", you'll also need to come up with
some way to stop collection automatically.
> 
> Thanks, 
> 
> -- 
> **********************************************
>  Fred Ross-Perry         Raytheon Company
-- 
Alan Rollow				alan@nabeth.cxo.dec.com