HDTenEightyP/NetNews huggingface dataset:
From: cbp@gmhgate.gmh.edu (Christopher Preston)
Subject: Re: 10BaseT Products
Keywords: 10BaseT
Organization: Grady Memorial Hospital
Date: Sun, 26 Jul 1992 03:14:11 GMT

In article <1992Jul23.224359.18779@colorado.edu> ornstein@refuge.Colorado.EDU (Ornstein Jason) writes:
>I am currently looking at some 10BaseT solutions and have three
>products in mind and I was hopeing to get some feedback from this
>newsgorup (and others if I knew which one's would be good to post too)
>
>The three products are
>
>CableTron MRX
>Allied Telesis AT-3012T
>Asante 10THUB/12
>
>I am only looking for 12 port passive hubs at the moment.  I would
>also like to here a lot from the people with the Asante Hub since it 
>has the cheapest price and is alledged to be a good product.
>
>Thanks.
>
>-- 
>Jason L. Ornstein                      internet: ornstein@Colorado.EDU
>University of Colorado, Boulder        Unix Administration/Programming        
>Unixops/Distributed Computing          (303) 492-6096

You might look at Synoptics and 3com as well.

cbp
---

-- 
Christopher Preston     | I represent no opinions but my own.
Datacommunications      | 
Grady Memorial Hospital | "Let them eat pork rinds" - G. Bush
From: bonney@esds.mdc.com
Newsgroups: comp.unix.admin
Date: 17 Jul 92 19:48 MDT
Subject: Re: Help Needed: How to send mail to "e
Nf-ID: #R:1992Jul16.224234.13551@cco.calte:-1588270126:1992Jul17.154852.4564@esds.mdc.c:1759522135:001:342
Nf-From: esds.mdc.com!bonney    Jul 17 19:48:00 1992


In article <1992Jul17.153708.3411@esds.mdc.com> bonney@esds.mdc.com (Greg Bonney) writes:
>I suggest you get a book called "UNIX System Administration", by Nemeth, Snyder,
>and Seebass, published by Prentice Hall.  This is the classic book that every

Correction to my previous post:
the book is called "UNIX System Administration Handbook".

Newsgroups: comp.unix.admin
From: bobc@cyclops.mis.Tandem.com (Bob Croft)
Subject: Re: Help Needed: How to send mail to "everybody" at once
Keywords: How I did it
Reply-To: croft_bob@Tandem.com
Organization: Tandem Computers
Date: Fri, 31 Jul 1992 15:01:51 GMT

Here's how I did it:

1 -  I made sure that all of the non-people (you know, root, bin, uucp, etc...) user names appeared in 
       the password file before the real people (fred, bobc, brent, etc...), and made the last non-user 
        name that preceeds the first user name nobody. 
2 -  I wrote the following shell and called it "/usr/lbin/mkmaillist":
      
        nobod=`grep -n nobody /etc/passwd | cut -d":" -f1`
        cut -d":" -f1 /etc/passwd | sed "1,$nobod d" | tr '\012' ' ' > /tmp/maillist

3 -  I then set up the following line in cron to run once a day:

           2 00 * * *  mailx -s "Maillist Make Done" root; /usr/lbin/mkmaillist

4 - Now whenever I need to send a mail message to every user on the machine, I just address it to
       /tmp/maillist like this:

       mail  `cat /tmp/maillist`
        {message text}
       .

        Everyone on the list gets the message!

Bob

-- 


Bob Croft
croft_bob@Tandem.com

*** This not the opinion of Tandem Computers ***
*** Tandem Computers is not Tandon or Tandy  ***
Newsgroups: comp.unix.admin
From: naughton@chinet.chi.il.us (Thomas Naughton)
Subject: Re: UUCP pkcget: alarms.
Date: Sun, 26 Jul 1992 17:04:33 GMT
Organization: Chinet - Public Access UNIX

In article <1541@b1.babss.UUCP> wadswort@babss.UUCP (John H. Wadsworth) writes:
>In article <1992Jul22.003758.25466@chinet.chi.il.us> naughton@chinet.chi.il.us (Thomas Naughton) writes:
> <problem getting pc with at&t unix to uucp with sun. alarms to death >
>
>I had the same problem with ISC 2.x. The fixes available were:
>1) User a slower speed. (a waste of a good modem)
>2) Get a serial board with 16550 (if supported by the driver)
>3) Replace the serial driver 
>
   Thanks to everyone who responded.  The problem was adequately solved
by turning flow control off (stupid me), but there are still alarms which
I will attribute the fact that I have a sh***y serial port.  If I send
the file in smaller chunks (<50k) things seem to transfer without aborting.

   Again, thanks for all the replies!

-- 
Thomas M. Naughton	              "Love is chemistry, but sex is physics"
naughton@nauts.chi.il.us (prefered)   naughton@chinet.chi.il.us (alternate)
Nobody is responsible for anything I say or do but me.  Sometimes not even me.
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.unix.admin
Subject: Re: multiple dumps on EXB-8200 8mm tape
Date: 25 Jul 92 18:22:58 GMT
Distribution: usa
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Jul24.181553.10455@kakwa.ucs.ualberta.ca> sherwood@fenris.space.ualberta.ca (Sherwood Botsford) writes:

| Bill Heiser writes
| > The problem I have is that when I write a tapefile to the non-rewinding
| > device, and then write another file, when I try to read the files I seem
| > to have to skip filemarks sometimes.  For example:  If I write a tape on
| > a SunOS 4.1.1_U1 or 4.0.3 system, I have a tape with several tapefiles.
| > If I try to read the tape by doing several consecutive 'restore' commands
| > on the non-rewinding device, the restores after the first one fail -- unless
| > I do a restore, then a "mt -f fsf 1".  So basically I seem to be getting
| > extra file marks!
| 
| This one threw me for a loop initially.
| The file mark is not (usually) explicitly written by the program, but is  
| written by the computer on closing the file.  It will aslo be done by the tape  
| if the previous command was write data, and the the current command is any tape  
| movement command.

This is incorrect.  The drive itself will *never* write a filemark.  It
will write an EOD mark if you are writing, then rewind, space backwards,
etc.

| Now, a filemark on either exabyte or DAT drives has a front and back side.   
| Front being on the Beginning of Tape side.  
| 
| Any command that writes to the tape, finishes with a write filemark, and   
| leaves the head on the back side of the mark, ready to write the next file.
| 
| Any command that reads the tape leaves the tape positioned on the BOT side of  
| the file mark.

Wrong.  A read that actually encounters the FM (e.g., a read when
positioned at the BOT side of a FM) will return no data (or short
count, if you had some data before you hit the FM), and the tape
will be positioned on the EOT side of the FM.  Exabyte has a nice
series of diagrams in their appendix covering just about every
possible case for FM's, EOD, etc. that explain this quite well.

| mt fsf's and bsf's behave this way too.  A bsf leaves the tape on the front  
| edge of the filemakr, and an fsf leaves it on the back.
| 
| So if you kill an operation, and want to reposition the tape to start it again,  
| you must do this:
| mt bsf 1
| mt fsf 1

This is wrong.  If you want to record on an Exabyte 8200, you
must be in one of 3 places: BOT, BOT side of a FM, or EOD.  If I
remember correctly, the 8500 will also allow you to record at the EOD
side of a FM.  So you do not want to do the mt fsf 1 after the bsf
if you want to overwrite some data on the tape for 8200's

--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Newsgroups: comp.unix.admin
From: ira@virtual.rdrc.rpi.edu (Ira Lee)
Subject: Looking for multi-chat or partyline software
Organization: Rensselaer Polytechnic Institute, Troy NY
Distribution: usa
Date: Tue, 21 Jul 1992 19:11:17 GMT

Hello,
I am looking for a program that lets multiple users from different
hosts chat at the same time.  I was about to write my own but decided
to check the net to see if it had already been done.

Any help would be greatly appreciated.
Thanks.
ira
Newsgroups: comp.unix.admin
From: htodd@gmuvax2.gmu.edu (Helen Todd)
Subject: Question about setting up directories for FTP access
Followup-To: sender
Organization: George Mason University, Fairfax Va.
Date: Wed, 22 Jul 1992 20:12:13 GMT

How does a person go about allowing a file system to be accessed
via ftp?  Is there a file to create where you can list the directories
or is it something else?  Thanks.
-Helen
-- 
These opinions do not belong to my employer.
Newsgroups: comp.unix.admin
From: jmsellen@watdragon.waterloo.edu
Subject: Re: allowing users root access to specific commands
Organization: DCS Software Activists Squad
Date: Sun, 26 Jul 1992 05:33:17 GMT

In article <Brwt1v.2pL@acsu.buffalo.edu> hinkle@cs.Buffalo.EDU (Steven J. Hinkle) writes:
|   We use a program called 'sudo'.  It is available via anonymous ftp from 
|boulder.colorado.edu in /pub/sa-book/sudo
|
|   In a file (/usr/local/adm/sudoers) you can specify a username, the commands
|that username can execute as root and a path that it has as root.
|
|   Works great.

Well, if I'm reading the code correctly, consider what happens if you have
a privileged user with userid "jmsmith", and user "jms" tries the sudo
command.  Check the use of strncmp() in isadoer().  Look for other strncmp()s
in the program.  Do they work?

"sudo" attempts to notify "root" via mail when someone tries to use "sudo"
who shouldn't be.  What happens if your nasty user has this
  alias root myuserid
in his/her .mailrc??

The mailmsg() routine has
    char cmd[80];
    (void) sprintf(cmd,
        "/usr/ucb/mail -s \"*SECURITY* %s@%s tried to execute %s\" %s ",
        user,hostname,*argv,ALERTMAIL);
If I'm counting correctly, there are 27 bytes available to hold user, hostname,
the command attempted, the ALERTMAIL userid, and the trailing '\0'.  And
hostname is declared as MAXHOSTNAMELEN long.  What happens when
sprintf overflows?

In create_file(), we have:
    descrip = open(file, O_TRUNC | O_CREAT | O_WRONLY, 0700);
    if(descrip == INVALID)
    {
        printf("Gag, couldn't open validation file.\en");
        exit(4);
    }
which isn't exactly confidence inspiring.

John Sellens
University of Waterloo
jmsellens@watdragon.uwaterloo.ca
Newsgroups: comp.unix.admin
From: bshaw@zephyr.hc.ti.com (Bob Shaw)
Subject: printcap for a TI2115 laser printer 
Organization: Texas Instruments
Date: Wed, 29 Jul 1992 13:12:31 GMT


Hi Folks

Say, I am looking for a printcap for a TI2115 laser printer
to be used on a Sun SS1 serial port  OS 4.1.2

Thanks in advance

Bob Shaw Texas Instruments
bshaw@hc.ti.com
Newsgroups: comp.unix.admin,comp.unix.shell,comp.unix.questions
From: trung@sundance.SJSU.EDU (Trung Tran)
Subject: Logging in as root within a shell script
Summary: How to...
Organization: San Jose State University - Math/CS Dept.
Date: 29 Jul 92 21:04:24 GMT

I would like to run a shell script which will ask me for the root's password
before allowing me to do some other administrative tasks.  Once a correct
password is entered, the script will go on executing the next command
(instead of starting a root shell).  When all tasks are done, it will
automatically log out of root shell and continue with the rest of the
script.  Can someone please tell me if this is possible to achieve.  If so,
how can it be done?  Or is it too risky?

Any respond is appreciated.  Thanks.
-- 
Trung Tran	(408) 924-5106
trung@sjsumcs.SJSU.EDU
Math & Computer Science Dept.
San Jose State University
Xref: sparky comp.unix.admin:4366 comp.sys.sun.admin:5075
From: akonstam@Alex.Engr.Trinity.Edu (aaron konstam)
Newsgroups: comp.unix.admin,comp.sys.sun.admin
Subject: A question about resolve.conf?
Date: 29 Jul 92 16:24:54 GMT
Distribution: usa
Organization: Trinity University, San Antonio TX. USA

The man page for resolv.conf says in part:
domain name         The default domain to  append  to  names
                    that do not have a dot in them, and used
                    in searches.

On non-sun machines this seems to result in the domain not
being appended if the name requested has a dot anywhere within it.
On Suns the domain is appended always unless the last
character in the name has a dot. Which is the correct interpretation?
Both are useful. Is this a bug or a feature?

-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Aaron Konstam - Computer Science Department
Trinity University , San Antonio, TX 78212
email: akonstam@trinity.edu
Newsgroups: comp.unix.admin
From: stritzi@Physik.TU-Muenchen.DE (Peer Stritzinger)
Subject: DNS for a few subdomains in a LAN
Keywords: dns subdomain
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
Date: Thu, 23 Jul 1992 10:47:07 GMT

Can DNS be set up in the following way:

1 Domain Name Server (primary) serving for the domain abc and the subdomains
sub1.abc, sub2.abc etc.?

What entries in named.boot do I need?

--
Peer Stritzinger
Phone: +(49)8141-90613
Internet: stritzi@physik.tu-muenchen.de
From: chip@eniac.seas.upenn.edu (Charles H. Buchholtz)
Newsgroups: comp.unix.admin
Subject: Re: Help Needed: How to send mail to "everybody" at once
Date: 23 Jul 92 13:33:59 GMT
Organization: University of Pennsylvania


kenk@sdc.com (Ken Konecki) writes:
> mail `awk -F: '{ print $1 }' /etc/passwd`


andrew@teslab.lab.oz.au (Andrew Phillips) writes:
>To just send to normal users (which is I think what was asked)
>
>mail `awk -F: '$3>199 && $3<10000 {print $1}' /etc/passwd`
>
>(The specific numbers may vary on some systems but on ours normal
>user numbers start at 200.)

On my system (Sun 4/690, SunOS 4.1.2, wc -l /etc/passwd => 2500), this
will give "too many arguments".  Also, on my system this approach will
drive the load average through the roof and make the system unusably
slow.  Mail simply starts sendmail working on the message and returns
immediately, so you'll have hundreds (if not thousands) of sendmail
processes all competeing for the same system resources dumped onto
your system.

If you set "sendwait" before calling mail, mail will wait until
sendmail finishes before returning, so that you will only have one
sendmail process running at a time.

I remind my users that *news* is designed to send the same message to
many people - only one copy is saved per site, and minimal storing and
forwarding is done.  Mail is very inefficient when sending the same
message to many people, because each person gets their own copy,
separately stored and processed.

However, there are times when you realy do want to send the same
message as mail to many people.  In that situation, I use the
following script:

----------------------------------------------------------------------
#!/bin/sh
# usage:
#    bulkmail message list 'This is the Subject'
#
# "message" is the name of the file that contains the body of the
# message.
#
# "list" is the name of a file which contains the addresses, one per
# line
#
# The third argument is the subject.  The subject should be put in
# quotes so that it is all one argument.  You may have to escape some
# special characters.

if [ $# != 3 ]
then
    echo usage:  bulkmail message list \'This is the subject\'
    exit 1
fi

sendwait=true
export sendwait

while read address
do
    /usr/ucb/mail -s "$3" $address < $1
done < $2
----------------------------------------------------------------------


Charles H. Buchholtz       Systems Programmer     chip@seas.upenn.edu
	      School of Engineering and Applied Science
		      University of Pennsylvania
Newsgroups: comp.unix.admin
From: naughton@chinet.chi.il.us (Thomas Naughton)
Subject: UUCP pkcget: alarms.
Date: Wed, 22 Jul 1992 00:37:58 GMT
Organization: Chinet - Public Access UNIX

   I'm trying to set up UUCP between my work and home.  At work I have
a Penril v.32 modem (with MNP) attached to a SUN sparcstation.  At home
I have a PC running AT&T's sysvr4.2.1 with a Telebit T1600 v.32 (with
MNP).  I can cu back and forth to each machine, but I can't seem to get
either to uucp a file to the other.  I've combed O'Reilly, but I can't
seem to find reference to my particular error message.  I'm not too
familiar with the Penril modems (I'd much prefer a Telebit) so if 
anyone could shed some light on the alarms, I'd appreciate it.  I'm 
not sure if it has something to do with MNP and the 'g' protocol or
with some sort of buffering that the Penril is doing.  Any help would
be gratefully appreciated.
   The Uutry from the SUN machine to the 386 UNIX follows: 
==================================================================
conn(nauts)
Device Type ACU wanted
gdial(hayes) called
expect: ("")
got it
expect: (OK^M)
ATE1M0V1X1Q0\F1S2=255S12=255^M^M^JOK^Mgot it
expect: (CONNECT)
^M^JCONNECTgot it
getto ret 7
expect: (9600)
 9600got it
expect: (960)
^M^J^M^JMNP 9600got it
expect: (in:)
^M^J^M^J^M^M^J^M^JWelcome to the AT&T 386 UNIX System^M^JSystem name: nauts^M^M^J^M^M^JNauts login:got it
expect: (word:)
 ^M^J^M^JWelcome to the AT&T 386 UNIX System^M^JSystem name: nauts^M^M^J^M^M^JNauts login: nuucp^M^JPassword:got it
Login Successful: System=nauts
msg-ROK
 Rmtname nauts, Role MASTER,  Ifn - 7, Loginuser - naughton
rmesg - 'P' got PGge
wmesg 'U'g
Proto started g
*** TOP ***  -  role=1, setline - X
Request: dublin!/usr/spool/uucppublic/fileaa --> nauts!~/fileaa (naughton)
wrktype - S
 wmesg 'S' /usr/spool/uucppublic/fileaa ~/fileaa naughton -dc D.0 644 naughton
rmesg - 'S' got SY
 PROCESS: msg - SY
SNDFILE:
pkcget: alarm 1
pkcget: alarm 2
pkcget: alarm 3
pkcget: alarm 4
pkcget: alarm 5
pkcget: alarm 6
pkcget: alarm 7
pkcget: alarm 8
pkcget: alarm 9
pkcget: alarm 10
cntrl - -1
send OO 0,exit code -1
Conversation Complete: Status FAILED

-- 
Thomas M. Naughton	              "Love is chemistry, but sex is physics"
naughton@nauts.chi.il.us (prefered)   naughton@chinet.chi.il.us (alternate)
Nobody is responsible for anything I say or do but me.  Sometimes not even me.
From: jamesd@techbook.com (James Deibele)
Newsgroups: comp.unix.admin
Subject: Re: anonymous ftp script..
Date: 23 Jul 92 05:11:34 GMT
Article-I.D.: techbook.1992Jul23.051134.26068
Distribution: world,local
Organization: TECHbooks of Beaverton Oregon - Public Access Unix

mshah@ece.arizona.edu (Munil A. Shah) writes:
>	I want to transfer many files by anonymous ftp. And I want to do
>it during the night by running a script. I am really poor with writing
>a script. How can I specify ftp commands(login name,password,get,etc..)
>in the script so that they should go run on ftp prompt and not on the shell
>prompt.?

Check out "autoftp", "batchftp" and "bftp".  I got mine from
oak.oakland.edu.  They do a really nice job of describing the files
available in their archives.  autoftp only works with them, batchftp is
a modfied version that works with other machines, and bftp looks very
BSD-ish (ULTRIX and SUNOS as OS choices).  Try archie for other
locations if you can't get to oakland.edu.

They didn't have the other part that I wanted, which was a front end
that would take in requests from users and a back end that would notify
them when the file arrived, but I guess I can write that ... The idea is
to offload ftp transfers until the middle of the night since we (1) have
mostly dialup users who have to wait for ftp to finish, then download it
to their local system and (2) we have a slow link.
Newsgroups: comp.unix.admin
From: ornstein@refuge.Colorado.EDU (Ornstein Jason)
Subject: 10BaseT Products
Keywords:  10BaseT
Organization: University of Colorado, Boulder
Date: Thu, 23 Jul 1992 22:43:59 GMT

I am currently looking at some 10BaseT solutions and have three
products in mind and I was hopeing to get some feedback from this
newsgorup (and others if I knew which one's would be good to post too)

The three products are

CableTron MRX
Allied Telesis AT-3012T
Asante 10THUB/12

I am only looking for 12 port passive hubs at the moment.  I would
also like to here a lot from the people with the Asante Hub since it 
has the cheapest price and is alledged to be a good product.

Thanks.

-- 
Jason L. Ornstein                      internet: ornstein@Colorado.EDU
University of Colorado, Boulder        Unix Administration/Programming        
Unixops/Distributed Computing          (303) 492-6096
From: alan@dragon.acadiau.ca (Alan McKay)
Newsgroups: comp.unix.admin
Subject: allowing users root access to specific commands
Date: 24 Jul 92 13:09:11 GMT
Organization: Acadia University

Does anyone know of a way I can give root access to specific users for
specific commands?  A while ago I pulled a program from the net which
did this, but I seem to have lost the program before installing it.

-- 
--
Alan W. McKay		| (902)542-2201.158	| Wolfville, N.S. Canada
alan@acadiau.ca		| Acadia University	| SUB Box 6008, B0P 1Z1
----------------------------------------- My Canada includes Quebec -----
Newsgroups: comp.unix.admin
From: sherwood@fenris.space.ualberta.ca (Sherwood Botsford)
Subject: Re: multiple dumps on EXB-8200 8mm tape
Organization: University Of Alberta, Edmonton Canada
Distribution: usa
Date: Fri, 24 Jul 1992 18:15:53 GMT

Bill Heiser writes
> 
> The problem I have is that when I write a tapefile to the non-rewinding
> device, and then write another file, when I try to read the files I seem
> to have to skip filemarks sometimes.  For example:  If I write a tape on
> a SunOS 4.1.1_U1 or 4.0.3 system, I have a tape with several tapefiles.
> If I try to read the tape by doing several consecutive 'restore' commands
> on the non-rewinding device, the restores after the first one fail -- unless
> I do a restore, then a "mt -f fsf 1".  So basically I seem to be getting
> extra file marks!

This one threw me for a loop initially.
The file mark is not (usually) explicitly written by the program, but is  
written by the computer on closing the file.  It will aslo be done by the tape  
if the previous command was write data, and the the current command is any tape  
movement command.

Now, a filemark on either exabyte or DAT drives has a front and back side.   
Front being on the Beginning of Tape side.  

Any command that writes to the tape, finishes with a write filemark, and   
leaves the head on the back side of the mark, ready to write the next file.

Any command that reads the tape leaves the tape positioned on the BOT side of  
the file mark.

mt fsf's and bsf's behave this way too.  A bsf leaves the tape on the front  
edge of the filemakr, and an fsf leaves it on the back.

So if you kill an operation, and want to reposition the tape to start it again,  
you must do this:
mt bsf 1
mt fsf 1


In terms of your problem with the other machine, it may automatically put an  
fsf after a read finishes.  

I do modify my scripts behaviour for different machines with an environment  
variable.  Since they are different drivers, I use that.

e.g.
#!/usr/local/bin/perl
..
$TAPE = $ENV{TAPE};
if  ("$TAPE" eq ""); { # No device defined.
  print "TAPE is not defined in your environment.\n";
  &Finish
  }
if  ("$TAPE" eq "/dev/nrxt0"); { &ExabyteSetup; }
if  ("$TAPE" eq "/dev/nrst0"); { &HPDatSetup;}
print "\tUsing tape device $TAPE \n";


Then in the various setup you can define a command string that is null for the  
machine that doesn't need it, and does an mt fsf 1 for the machine that does  
need it.

You could also do this by host name, host type, etc.

Hope this helps.

---
=> Sherwood Botsford                   sherwood@space.ualberta.ca <= 
=> University of Alberta         Lab Manager, Space Physics Group <=         
=> tel:403 492-3713                             fax: 403 492-4256 <=         
Newsgroups: comp.unix.admin
From: pjh@mccc.edu (Pete Holsberg)
Subject: HP-UX Clusters and "who"
Organization: The College On The Other Side Of Route One
Date: Wed, 29 Jul 1992 01:07:05 GMT

I have to work on an HP 9000/8xx workstation cluster on occasion and have
not found the trick to making "rwho" and "rtalk" (if there is such a
thing) work.

My goal is to be able to say to people logged in on the individual
workstations, "To see who is logged in on the workstations connected to
this server, type xyzzy" and "To send a message to the screen of one of
them, type yxzzy."

Can someone point me in the correct direction? The "system admin" is one
in name only; Bo knows more about HP-UX than this guy. BUT he doesn't
mind my futzing around as root, as long as I don't break anything!! :-)

Thanks,
Pete