HDTenEightyP/NetNews huggingface dataset:
From: devet@wsinis01.info.win.tue.nl (Arjan de Vet)
Newsgroups: comp.unix.admin
Subject: Re: anonymous ftp script..
Date: 22 Jul 92 21:07:28 GMT
Reply-To: devet@info.win.tue.nl
Followup-To: comp.unix.admin
Organization: Eindhoven University of Technology, the Netherlands

In article <1992Jul21.161626@ece.arizona.edu> 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.?

I've written some PERL scripts which can do this:

	ftp.win.tue.nl:/pub/archives/ftpfiles-1.0beta.tar.Z

The program ftpfiles will probably become (partially) obsolete by Lee
McLoughlin's mirror.pl version 2.0. If you need to transfer many files
(whole directory trees), have a look at mirror:

	ftp.win.tue.nl:/pub/archives/mirror1.11.tar.Z

From the README file:

ftpfiles
--------

A PERL script for fetching files from UNIX hosts in the background by
anonymous ftp. Example:

	ftpfiles ftp.win.tue.nl -r /pub -l $HOME -a README

transfers ftp.win.tue.nl:/pub/README to $HOME/README in ASCII mode. This
commando puts itself in the background and sends a message by E-mail. A
manual page is available. Help page when ftpfiles is invoked without
arguments:

-----------------------------------------------------------------------------
ftpfiles <host> [ -l <path> | -r <path> | -ls<type> | [ [-a|-b] <file> ] ] ...

Usage:
  <host>    : domain name or IP address
  -l <path> : set local directory prefix (default "./")
  -r <path> : set remote directory prefix (default "/")
  -ls<type> : get directory listing; -<type> is passed to the remote /bin/ls
  -a <file> : get file in ascii mode
  -b <file> : get file in binary mode
  <file>    : get file in binary mode (default)

-----------------------------------------------------------------------------

ftpi
----

A PERL script to extract site:file specifications (e.g.,
ftp.win.tue.nl:/README) from stdin, loads them into an editor for
corrections/selections and invokes ftpfiles. Example usage:

	| ftpi

from within your news reader when you see a site:file specification.


Bugs
----

Everything is still in early development. Bug reports welcome. I only tested
this on a SUN SPARC (no other machines available here) with perl 4.0.35


Future
------

Future extension:

- queuing requests until it is night at the remote site;

Acknowledgements
----------------

Based on:
chat2.pl  by Randal L. Schwartz <merlyn@iwarp.intel.com>
ftp.pl    by Alan R. Martello <al@ee.pitt.edu>

Inspired by and some code taken from:
mirror.pl by Lee McLoughlin <lmjm@doc.ic.ac.uk>

Author's address
----------------

Arjan de Vet <devet@win.tue.nl>
Department of Mathematics and Computing Science
Eindhoven University of Technology
the Netherlands
From: ffeng@cs.tamu.edu (Fang Feng)
Newsgroups: comp.unix.admin
Subject: Need help on PC-NFS installation
Date: 27 Jul 92 21:25:15 GMT
Organization: Computer Science Department, Texas A&M University

We installed PC-NFS on a PC running DOS 5.0. We are trying to 
connect the PC to a file server which is a SUN Sparc workstation.
The installation and configuration processes were through 
smoothly. However, we could not connect to the server from the PC. 
When I ran nisdomain, it was fine, but when I ran nisset as 
"nisset hostname", it told me that "hostname is not the nis server
for the domain hostname".

I tried to use command "ping hostname". I was told "hostname is 
unreachable". I also tried telnet and unable to open connection.

The server is connected to several other sparcs through an 
Ethernet. They work well. 

Can anyone tell me where the problem might be? 

Thanks in advance.

Fang Feng
--
Texas A&M University             
Department of Computer Science  
(409)847-8609 (409)845-7147                  
internet: ffeng@cs.tamu.edu      
Newsgroups: comp.unix.admin,comp.unix.sysv386
From: brian@ilinx.wimsey.bc.ca (Brian J. Murrell")
Subject: rsh like command with rlogin environment
Keywords: rsh rlogin
Organization: InterLinx Support Services Inc.
Date: Tue, 28 Jul 92 15:42:42 GMT

I have this problem I'm sure other people have run into.  I want to be able
to do an rsh command to another machine in the office, but the command I want
to execute is interactive.  rsh doesn't work!!  However if I rlogin to the 
machine and then execute the command and then log out, this works (obviously).

What I want to be able to do is rsh foo -l brian bar to execute command 
bar on machine foo, with id of brian, with the command bar being interactive.

I figured what I really need is to be able to do rlogin foo -l brian bar.
Unfortunately, rlogin doesn't support having a command to run when the user
actually gets logged onto machine foo.

If anybody knows how to solve this, I would appreciate it.

brian
-- 
Brian J. Murrell                                        brian@ilinx.wimsey.bc.ca
InterLinx Support Services, Inc.                        uunet!van-bc!ilinx!brian
North Vancouver, B.C.
        Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD
Newsgroups: comp.unix.admin
From: dawagner@phoenix.Princeton.EDU (David A. Wagner)
Subject: Re: rsh like command with rlogin environment
Originator: news@ernie.Princeton.EDU
Keywords: rsh rlogin
Organization: Princeton University
Date: Tue, 28 Jul 1992 21:00:29 GMT

In article <1992Jul28.154242.4135@ilinx.wimsey.bc.ca> brian@ilinx.wimsey.bc.ca (Brian J. Murrell") writes:
>I have this problem I'm sure other people have run into.  I want to be able
>to do an rsh command to another machine in the office, but the command I want
>to execute is interactive.  rsh doesn't work!!  However if I rlogin to the 
>machine and then execute the command and then log out, this works (obviously).
>
>What I want to be able to do is rsh foo -l brian bar to execute command 
>bar on machine foo, with id of brian, with the command bar being interactive.
>
>I figured what I really need is to be able to do rlogin foo -l brian bar.
>Unfortunately, rlogin doesn't support having a command to run when the user
>actually gets logged onto machine foo.

	Hear, hear!  I have wondered the same thing myself...  I can
	think of 4 solutions, at least 1 of which is an ugly hack. :-)
	I also have a few questions...

(1) Modify rsh so that instead of doing line-by-line buffering, it sends
    each character as it is typed.  Note that, with this type of solution,
    your .login/.profile file is never sourced.  Would in.rshd need to be
    changed for this?

(2) Modify rlogin so that you can specify a command to run.  Might one get
    away with only changing rlogin and not messing with in.rlogind?

(3) Combine the functionality of rsh and rlogin into one program with flags
    to specify what size buffers to use, and whether to execute a program
    right away or just start up an interactive shell.  This could take some
    work -- but -- why did the original designers choose to seperate rsh
    and rlogin in the first place?

(4) Use an shell script hack.  [Beware: I haven't tested this]  Create a
    `myrlogin' shell script which rsh's over to the new machine, makes a
    file (with a standard filename, under your home directory) which has
    the name of the interactive command in it (for instance, vi)    Then
    have the script do a rlogin.  Now make your .login/.profile check if
    the standard file exists - if it does, exec the command named there
    from your .login/.profile.  Whammo!  The new `myrlogin' shell script
    *should* be useable in the form `myrlogin newhost -l me trn' or
    somesuch.  Anyone see any problems with this approach?  (besides the
    fact that its ugly :-)

	Any other ideas?  And most importantly, why CAN'T you specify an
	interactive process to run remotely?  Is this a basic design issue?

--------------------------------------------------------------------------------
David Wagner            dawagner@phoenix.princeton.edu (or wagner@nisc.jvnc.net)
From: rfeeney@den.mmc.com (Rick Feeney)
Newsgroups: comp.unix.admin
Subject: SunOS 4.X to HP-UX 8.X printing options
Keywords: lp lpr options
Date: 30 Jul 92 19:29:48 GMT
Followup-To: comp.unix.admin
Distribution: usa
Organization: Martin Marietta Western Internal Systems

Does anyone out there have experience sending a print job from Sun (lpr) to an HP
Unix system (lp)? I am running "rlpdaemon" on the HP, which accepts standard
print requests just fine. I would like to submit an lpr job from the Sun that
includes an lp-style option statement (e.g. using lp on the HP : lp -opostscript
printjob).

 Thank you, 
 Rick Feeney
 Martin Marietta Western Internal Systems
 rfeeney@den.mmc.com
 (303)-977-5131
From: ffeng@cs.tamu.edu (Fang Feng)
Newsgroups: comp.unix.admin
Subject: Need help for PC-NFS installation
Date: 28 Jul 1992 01:48:34 GMT
Organization: Computer Science Department, Texas A&M University

Hi, netters:
    We installed PC-NFS on a PC running DOS 5.0. We are trying to 
connect the PC to a file server which is a SUN Sparc workstation.
The installation and configuration processes went through 
smoothly. However, we could not connect to the server from the PC. 
When I ran nisdomain, it was fine; but when I ran nisset as 
"nisset hostname", it told me that "hostname is not the nis server
for the domain hostname".

    I tried to use command "ping hostname". I was told "hostname is 
unreachable". I also tried telnet and unable to open connection.
We did edit /etc/hosts, /etc/ethers, etc. And we also ran 
the "rpc.pcnfsd" on the server. 

    The server is connected to several other sparcs through an 
Ethernet. They work well. 

    Can anyone tell me where the problem might be? 

    Thanks in advance.

-- Fang Feng
--
Texas A&M University             
Department of Computer Science  
(409)847-8609 (409)845-7147                  
internet: ffeng@cs.tamu.edu
From: keith@swdc.stratus.com (Keith Wandry)
Newsgroups: comp.unix.admin
Subject: Phone number for Uunet
Date: 22 Jul 92 19:52:50 GMT
Distribution: usa
Organization: Stratus Computer, Inc., San Jose, CA

Could someone please send me the phone number and E-mail
address for uunet?

Thanks very much!

Keith
.
From: jfh@rpp386.lonestar.org (John F. Haugh II)
Newsgroups: comp.unix.admin
Subject: Re: Changing priority on root's shell
Date: 26 Jul 92 16:59:54 GMT
Reply-To: jfh@rpp386.cactus.org (John F. Haugh II)
Organization: River Parishes Programming, Austin, Republic of Texas

In article <Brqv0D.2As@news.cso.uiuc.edu> pirzyk@osiris.cso.uiuc.edu (Jim Pirzyk) writes:
>Is there a problem with renice'ing a root shell.  I wanted to up the 
>priority on the shell so when the system cralls to a stop, I can determine
>what is causing it (as root).  Any opinions on this would be apreciated.

Nope.  I run my root login shells with lowered priority for exactly this
reason.
-- 
John F. Haugh II                   | Vida en La Republica de Tejas:
Ma Bell: (512) 251-2151            |  A Tejana woman, after spending the rent
UUCP: ...!cs.utexas.edu!rpp386!jfh |  money on the Tejas Lottery - "I can't go
Domain: jfh@rpp386.cactus.org      |  home, my husband will beat me up."
From: andrew@teslab.lab.oz.au (Andrew Phillips)
Newsgroups: comp.unix.admin
Subject: Re: Help Needed: How to send mail to "everybody" at once
Date: 21 Jul 92 23:35:40 GMT
Organization: Technology Services, Chief Secretary's Dept, Sydney

kenk@sdc.com (Ken Konecki) writes:
: In article <1992Jul16.224234.13551@cco.caltech.edu> jafl@cco.caltech.edu (John Lindal) writes:
: >Does anyone know how to send mail to everyone on a particular system
: >without having to specify all the user names?
: 
: mail `awk -F: '{ print $1 }' /etc/passwd`

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.)
Newsgroups: comp.unix.admin
From: bu546@cleveland.Freenet.Edu (Josh Thomas Richards)
Subject: RE: allowing users root access to specific commands
Organization: Case Western Reserve University, Cleveland, Ohio, (USA)
Date: Fri, 24 Jul 92 18:21:02 GMT


Set the file to have SUID permissions:
chmod u+s filename
Newsgroups: comp.unix.admin
From: arch@gandalf.pei.com (Arch Mott)
Subject: Re: Centralized user-id server
Organization: Protocol Engines Incorporated
Date: Fri, 24 Jul 1992 02:04:16 GMT

john@iastate.edu writes:


>zwicky@erg.sri.com (Elizabeth Zwicky) writes:
>}In article <10#mhdm@dixie.com> stan@dixie.com (Stan Brown) writes:
>}>aej@manyjars.WPI.EDU (Allan E Johannesen) writes:
>}>>>>>>> On 10 Jul 92 20:08:33 GMT, lcz@dptspd.sat.datapoint.com (Lee Ziegenhals) said:
>}>>lcz> I recall reading somewhere (I believe in one of the Usenix
>}>>lcz> conference proceedings) about a centralized user name server.

>}>>Sounds sort of like kerberos/hesoid.

>}Absolutely, completely and totally certain. Neither Kerberos nor NIS
>}provide the service he's talking about, which has to do with
>}*creating* user accounts, not logging in.

>Actually, the combination of kerberos, hesiod, and moira (all born in 
>MIT's Project Athena) *does* do all of this -- we use them [you can also
>buy the DECathena product from, you guessed it, DEC].

 I seem to remember Evi Nemeth talking about a program they use at CU Boulder
 called uniquid or some such. It appears to be available from
 boulder.colorado.edu via anonymous ftp. It's in
 /pub/local-sources/uniquid.tar.Z. 

 I've never used it so I can't vouch for its usefulness. Or its simplicity (or
 lack thereof) when compared to kerberos/hesiod/moira.

 -Arch.
-- 
Arch Mott                 |   arch@pei.com     | There's no Dunkin Donuts on 
Protocol Engines, Inc     |Voice:(415)335-0150 | this corner! That guru doesn't
301 E. Evelyn Ave, Suite A| FAX:(415)969-6966  | know what he's talking about!
Mountain View, CA 94041   |                    |                   -Robotman
Newsgroups: comp.unix.admin
From: mike@maria.wustl.edu
Subject:  General advice or documentation on how to "set up" a Unix system on TCP/IP
Date: Fri, 24 Jul 92 5:49:09 CDT
X-Received: by usenet.pa.dec.com; id AA28739; Fri, 24 Jul 92 04:04:20 -0700
X-Received: by inet-gw-1.pa.dec.com; id AA16176; Fri, 24 Jul 92 04:04:18 -0700
X-To: comp.unix.admin.usenet


(This is for a friend.)

The situation is, he wants to connect a server (DECstation 5000/240) and
some workstation clients (DECstation 5000/25) to a local TCP/IP network.
We have the documentation from DEC and it does give some instructions
on how to get machines up and running, but I'm looking for a more general
overview.  He'll soon be getting disparate systems in (Sun, IBM, SGI, HP,
PCs running UNIX and DOS) and wants a "model" or "template" of things to
check for and look for.  Is there any documentation (on the net or
O'Reilly or whatever) or general tips that anyone could provide?  I'm
simply not organized enough to give him what he's looking for.  I know
"up here" <points to head> what I'd do, but I think the only way that
I could get that information on paper in a usable form would be to set
up his systems.  (And no, I'm NOT doing that for him!  :) )

Newsgroups: comp.unix.admin
From: shani@genius.tau.ac.il (Oren Shani)
Subject: Re: Looking for multi-chat or partyline software
Organization: Tel Aviv University Faculty of Engineering, ISRAEL
Distribution: usa
Date: Mon, 27 Jul 1992 06:02:06 GMT

In article <michaelv.711940821@du248-06.cc.iastate.edu> michaelv@iastate.edu (Michael L. VanLoon) writes:
>>In article <akrx5kq@rpi.edu>, ira@virtual.rdrc.rpi.edu (Ira Lee) writes:
>>> 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.
>
>Give it a try.  And if you have any questions, feel free to ask me, or
>the admin of your IRC server.  They can be reached at irc@rpi.edu.
>
>               *IRC Admin -- ircserver.iastate.edu*

And be careful, it's addictive and it may be very harmful to innosence
souls ;)
--
    __    __  Oren Shani (shani@genius.tau.ac.il)
   /  /  /    Faculty of Engineering, Tel Aviv university
  /  /   --   Israel
 /__/ . __/ . "Hold your temper" -- The caterpillar to Alice
Xref: sparky comp.unix.admin:4315 comp.unix.questions:9408 comp.unix.wizards:3302 comp.unix.sysv386:12403
From: gpitcher@crash.cts.com (Glenn Pitcher)
Newsgroups: comp.unix.admin,comp.unix.questions,comp.unix.wizards,comp.unix.sysv386
Subject: SLIP - Arggg!
Keywords: Interactive Unix Dell
Date: 24 Jul 92 22:41:14 GMT
Organization: Crash TimeSharing, El Cajon, CA

We here at the court have a Dell 433SE and I'm trying to connect it via
slip to another PC running the same version of Interactive Unix (V.3).
I got all the packages installed but I'm having one real tough time getting
the thing to work.

Whenever I attempt to use something that I want to go out over slip, I 
receive:
   connect: Protocol driver not attached

I did load all the necessary modules into a new kernal and I'm using that.
I've read until I'm blue in the face about the various net servers and have
gotten nowhere.  Interactive provided no real documentation on how to install
this beast.

Is there anyone out there who can help?

Thanks,
From: nanda@kuhub.cc.ukans.edu
Newsgroups: comp.unix.admin
Subject: please help!
Date: 21 Jul 92 11:36:41 CDT
Organization: University of Kansas Academic Computing Services

Hi ! I am new to this group. Could someone tell me how to subscribe to this
group?

thanks in advance

Nanda@kuhub.cc.ukans.edu
From: cosc16tt@menudo.uh.edu
Newsgroups: comp.unix.admin
Date: 17 Jul 92 22:04 MDT
Subject: RS232 problems with mdoem (On a 3b1
Nf-ID: #N:COSC16TT.92Jul17130441@menudo.uh:1179247241:001:957
Nf-From: menudo.uh.edu!cosc16tt    Jul 17 22:04:00 1992



I have asked this before, but didn't get any information I could use.
A friend has had a similar problem with his Unix machine, so this must
be a more common problem.  (I have looked in faqs and machine spacific
docs on teh net and in manuals, but have not found anything of much
value.)  So here's the problem.

I have the RS232 set up (under hardware setup) as modem, 2400 bps, no
hardware flow control, answer only.  The first time I set it up and
called the system it worked fine, but as soon as the system receives a
control-d or the exit command, the SD and RD lights come on and stay
on.  The system freezes.  Now if it is called logged into and then
hung up on (no logout) it will work fine the next call.

Any help is greatly appreciated.

-dennis
--
Dennis Gray, Jr.                 "What the hell were you doing???"

DGray@uh.edu                   "Attempting the hell to communicate."
                                     -from The Voyage Home

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: Tue, 28 Jul 1992 19:39:49 GMT

Dave Olson writes
> > In <1992Jul24.181553.10455@kakwa.ucs.ualberta.ca>  
sherwood@fenris.space.ualberta.ca (Sherwood Botsford) writes:
> | 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
> 

Oops.  You're correct.

The receipe I orignally gave  works for aborting and reading a file from the  
tape. If you read, and then wish to overwrite a file (This makes all data after  
this file inaccessible)
mt bsf 
mt weof 2
mt bsf
file write operation.  

You want to leave a filemark behind seperating the two files, but you can only  
start writing at the beginning of a filemark, so you write two marks, then  
backspace to the spot inbetween.

You are also correct about what happens when a program tries to read a  
filemark.  Tar, and gnutar, however stop at the end of their file, and do not  
read the filemark.  Thus you have to explicitly move the tape if you are using  
these in scripts.

Thanks Dave for correcting my bad advice.  
Newsgroups: comp.unix.admin
From: linneman@rulcvx.LeidenUniv.nl (Stefan Linnemann)
Subject: Re: mail expiration program
Organization: CRI, institute for telecommunication and computerservices.
Distribution: comp
Date: Fri, 24 Jul 92 13:11:24 GMT

In article <1992Jul23.203951.13691@msuinfo.cl.msu.edu> wey@convex.cl.msu.edu (Lih-Er Wey) writes:
>I am looking for a program which will ckeck every user's system mail
>box and expires the mail which is older than some certain number of
>days. Any help will be appreciated.

Look at mailclean, posted in comp.sources.misc, volume 22.  Works like
a charm.

Stefan M. Linnemann			Stefan.Linnemann@CRI.LeidenUniv.NL
"Ira furor brevis est."  Horatius on the flaming Usenet (?).
From: danny@iex.UUCP (Danny Shaw)
Newsgroups: comp.unix.admin
Subject: Need values for 5Gb exabyte
Date: 30 Jul 92 20:49:13 GMT
Organization: IEX Corporation (Texas)

I have a script that calculates the amount of data that will
fit on a 2Gb exabyte using the following factors.

# Values for 2Gb exabyte
BLOCKSIZE=126               # Blocking factor
KB=2048000                  # Tape capacity in K-bytes
KB_TO_FEET=341              # Kbytes to tape feet conversion factor 
LOGICAL_BPI=54000           # Tape "logical" density


I was wondering if someone knows the values for the 5Gb exabyte drive.

Thanks for any help.
-danny
-- 
Surgeons General Warning:  ))  //   Danny Shaw     \\     O               
       __________________ ((  //  IEX Corporation   \\    --->---______
      ())))))____________)}  // voice: (214)612-2600 \\   |            ---------
sig'ing_causes_cancer______//_mail:__uunet!iex!danny_\\ __\___>,,,,,,,,,,,,,,,
From: rwa@aupair.cs.athabascau.ca (Ross Alexander)
Newsgroups: comp.unix.admin
Subject: Re: mail problems
Date: 21 Jul 92 16:58:51 GMT

gary@sci34hub.sci.com (Gary Heston) writes:
>>I am having trouble with sendmail.  [ ... ]
>So does everyone else that didn't grow up speaking in funny strings. :-)
>Dump sendmail and replace it with smail3 (availaible on uunet, among other
>places). Works great, and the configuration files are readable. Highly
>recommended.

A small advertisment: there exists a mailing list for smail3-related issues.
Actually, two such lists:

 smail3-users@cs.athabascau.ca	general administrative issues re smail3
 smail3-wizards@     "		internal hacking, porting, debugging "

To susbscribe, send mail to smail3-{user,wizard}s-request@cs.athabascau.ca.
Include a non-bogus email address in the body.  A human being will
manually reply (none of this automation cr*p for us :).

regards,
Ross
--
Ross Alexander  rwa@cs.athabascau.ca  (403) 675 6311  ve6pdq@ve6mgs.ampr.org
            ISDN: Idiocy Subscribers Don't Need (after P Metzger)
From: uetrecht@ipc1.cc.umr.edu (Daniel J. Uetrecht)
Newsgroups: comp.unix.admin
Subject: Need an unload command for an exabyte 8500
Keywords: exabyte scsi
Date: 22 Jul 92 15:37:48 GMT

We have purchased an Exabyte EXB-10 robotic drive with an Exabyte 8500 to be
driven off of a SUN sparc box.  The mt offline command will not unload the
drive if no tape is present.  I need a command to issue an unload to the drive.
Anybody already done this so I don't have to become a scsi device driver expert?
Or am I being stupid?  Is there a better way?

Thanks alot for any help!!
Newsgroups: comp.unix.admin