HDTenEightyP/NetNews huggingface dataset:
From: gcr@pacific.uucp
Newsgroups: comp.unix.admin
Subject: HP 730 DAT
Date: 5 Nov 92 23:15:22 GMT
Organization: Jet Propulsion Laboratory


 have an HP 730 with a DAT drive on. It can be written to into in a
compress mode and a non-compressed mode. I would like the parameters to use
dump. Thanks.

Greg Ramos
Newsgroups: comp.unix.admin
From: janet@cs.uwa.oz.au (Janet Jackson)
Subject: Re: shutdown (was Re: (rsh somehost reboot) never exits)
Organization: Dept. Computer Science, University of Western Australia.
Date: Fri, 6 Nov 1992 09:44:28 GMT

In <PD.92Nov3155621@herts.x.co.uk> pd@x.co.uk (Paul Davey) writes:

>>>>>> On 2 Nov 92 01:59:17 GMT, janet@cs.uwa.oz.au (Janet Jackson) said:
>
>>One of the reasons why shutdown will take so long unnecessarily is that the
>>file /etc/rmtab (which lists all remote machines which have a filesystem
>>currently mounted from the host) will not have entries removed...
>
>Janet> This is the way shutdown should work, but I don't believe it does, at
>Janet> least not under SunOS.
>
>It doesn't, and couldn't unless root on the server was allowed to run
>/etc/unmount (as root) on the client.

What I meant was that shutdown on an NFS server should send messages 
only to clients that have filesystems mounted from that server, as listed
in the server's /etc/rmtab.  I didn't meant to imply that I thought shutdown
should cause an unmount on the client.  Of course it shouldn't!

>All SunOS machines on the local net receive the message - I think it
>uses rwall, but that name is not present in the binary.

Hmm...we have Suns on three subnets, and as far as I recall, when
any Sun that's an NFS server is shut down, most of the Suns on all the subnets
get the messages.  I'll have to test this next time I shut down a system.
(Most exported filesystems are exported to most Suns.  That's why I thought
shutdown might be looking at the export list.)

> (SunSoft if you are listening a -q (quiet) switch would be nice.)

Hear, here!  I'd also like a switch where you can specify which hosts
and/or netgroups to send the messages to.

Janet Jackson
<janet@cs.uwa.edu.au>
Systems Administrator
Department of Computer Science
The University of Western Australia
From: pmj@roadnet.ups.com (Pete Jansson)
Newsgroups: comp.unix.admin
Subject: chroot shells
Date: 5 Nov 92 20:59:06 GMT
Organization: Roadnet Technologies, Inc.

Recently there were some postings that described using chroot for users as
a means of avoiding some problems.  Can someone describe to me how this is 
done?  I naiively tried putting a "chroot" command in a .profile for a 
restricted Korn shell to see what happens, and it says that chroot may only
be run by the superuser.

I'd appreciate replies via email or news.

Thanks,
    Pete.
Newsgroups: comp.unix.admin
From: rvenable@helix.nih.gov (Richard M. Venable)
Subject: Can the priority of a running process be changed?
Reply-To: rvenable@helix.nih.gov (Richard M. Venable)
Organization: National Institutes of Health
Date: Fri, 6 Nov 1992 23:25:10 GMT

Is there any way to change the priority of a process AFTER it has
started running?  We often have naive users who run compute intensive
tasks either in foreground or simply backgrounded with '&', and would
like to change the priority without forcing the user to restart his
calculation using 'nice'.


<---------------------------------------------------------------------->
<  Rick Venable                (O O) |  "Back off, I'm a scientist."   >
<  FDA/CBER Biophysics Lab      )|(  |        -- Bill Murray in        >
<  rvenable@helix.nih.gov       (=)  |           'Ghostbusters'        >
<---------------------------------------------------------------------->


Newsgroups: comp.unix.admin,comp.sys.hp
From: prs9k@brain.med.virginia.edu (Phil Scarr)
Subject: configuring xntpd for HP-UX
Followup-To: comp.unix.questions
Organization: Neuroclinical Trials Center, University of Virginia
Date: Mon, 9 Nov 1992 14:56:33 GMT

I have compiled and installed the adjtime and xntpd programs but I
cannot seem to get them to query our university's ntp servers.  I could
really use some pointers on how to go about configuring them to work
with my system.  Thanks.

	-Phil
-- 
PHIL SCARR        \      We are Microsoft...     /          (o) 804.243.0229
 University of    /     OS/2 is irrelevant.      \          (f) 804.243.0290
 Virginia,        \     UNIX is irrelevant.      /        prs9k@Virginia.EDU
 Neurosurgery     /     Openness is futile.      \     prs9k@Virginia.BITNET
 HP-UX is my life!\ Prepare to be assimilated... /   ...uunet!virginia!prs9k
From: ahoekstr@cs.utwente.nl (Andre D. Hoekstra)
Newsgroups: comp.unix.admin
Subject: Re: Mail from cron to root
Date: 5 Nov 92 15:41:33 GMT
Organization: Universiteit Twente, afd. WB/WA (NOT cs)

>In <GMJ8Q2F@netmbx.netmbx.de> weis@netmbx.netmbx.de (Dietmar Weis) writes:
>
>>Yes, change to BSDish Unix. I would be glad if I had output redirection of
>>cron to a mailbox on my Ultrix System.

You could use

4 23 * * * /some/interesting/job | /bin/mail yourself


Andre--
-- 
There is no reason for any individual to have a computer in    | Andre Hoekstra
their home. (Ken Olson, Ex-President Digital Equipment, 1977)  | Enschede -- NL
Newsgroups: comp.unix.admin
From: frank@odetics.com (Frank Merrow)
Subject: How can I tie a modem caller DIRECTLY to another tty Port?
Organization: Odetics, Inc., Anaheim, CA
Date: Sun, 8 Nov 92 04:29:47 GMT

Hi,

We will very soon have a port on our Sun/Unix system that will
be running a Waffle BBS.  Generally, NOBODY will be calling
the BBS and it will be ONLY as a bridge between our Sun and
Novel mail systems.  However, very rarely we do need a BBS so
someone can drop off a file or some such.  There is no way
to justify the expense of a phone line and another modem, but
I am wondering if that is needed at all.

What I would like is a program that can take the caller and
tie him/her directly to another tty port WITHOUT allowing access
to the Unix system at all.  What I see is a /etc/passwd entry
for "waffle" that has no password.  Instead of starting up a
shell, I want to drop the caller directly into the "port
program" and connect him to the Waffle system using the Sun
as nothing more than a forwarder.  I know how to "start" the 
program ala the uucp entries I have, but I don't know of a
program that can tie stdin/stdout directly to a tty port
all by itself.  Does anyone out there know of such an animal?

Frank
-- 
===================================================================
= Frank Merrow                     (Home) (714) 455-3096          =
= Odetics Inc, Broadcast Division  (Work) (714) 772-1000 Ext 3860 =
= 1515 S. Manchester Avenue        (Fax)  (714) 535-8532          =
= Anaheim, CA 92802                (Net)  frank@odetics.com       =
===================================================================
From: mjo@slee01.srl.ford.com (Mike O'Connor)
Newsgroups: comp.unix.admin
Subject: Re: Identifying user's remote IP address at login?
Date: 12 Nov 1992 19:11:33 GMT
Organization: Not an official spokesperson for Ford Motor Co.
Reply-To: "Mike O'Connor" <mjo@fmsrl7.srl.ford.com>
NNTP-Posting-Host: slee01.srl.ford.com

In article <BxM36A.5HA@wang.com> fredj@wang.com (Fast Freddie) writes:
:ae954@yfn.ysu.edu (Andy Johnston) writes:
:
:
:>I am trying to set up a system in which a utility called
:>from the .login file can identify the IP address (or system name)
:>of a remote user at login and perform a
:>	setenv DISPLAY <user's system>:0
:>to make X displays pop up in the right place.
:
:>The utmp file only has 16 characters reserved for the remote
:>name and is often truncated, so it isn't always reliable.
:What you can do is scan/grep the utmp file for the 16 characters.  Cut that
:out and grep the etc/hosts file, cutting out the first field which usually
:is the internet address.

Some utmp fields have more than 16 characters.

/etc/hosts is a really poor way of handling this.

You grep what you can of the hostname for your username from some
program that reads /etc/utmp, like "who", then comparing it with the
IP addresses found in /dev/kmem-reading programs like netstat.

Then it works.  :)

						...Mike


--
 Michael J. O'Connor           |  Internet:  mjo@FMSRL7.SRL.FORD.COM
 Ford Motor Company, OPEO      |  UUCP:      ...!{backbone}!fmsrl7!mjo
 20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
 Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277
From: djr48312@uxa.cso.uiuc.edu (X X)
Newsgroups: comp.unix.admin
Subject: HELP: ned 'sed' paramters to strip carriage returns from dos text files
Date: 5 Nov 92 08:06:38 GMT
Organization: University of Illinois at Urbana

I do a lot of transferring of files between dos and unix.  Most of it going from
the unix to dos direction.  Im going to need to be able to copy a dos text file

to a unix box and get rid of the '^m' at the end of each line.  A while ago

someone gave me a sed parameter to do the job.  I need it again.
Newsgroups: comp.unix.admin
From: pkerr@maccs.dcss.mcmaster.ca (Paul Kerr)
Subject: Re: Can the priority of a running process be changed?
Organization: Department of Computer Science, McMaster University
Date: Sat, 7 Nov 1992 06:18:22 GMT

In article <1992Nov6.182510@helix.nih.gov> rvenable@helix.nih.gov (Richard M. Venable) writes:
>Is there any way to change the priority of a process AFTER it has
>started running?  We often have naive users who run compute intensive
>tasks either in foreground or simply backgrounded with '&', and would
>like to change the priority without forcing the user to restart his
>calculation using 'nice'.
>

From the man page for nice(1)
SEE ALSO
     csh(1), getpriority(2), nice(3V), pstat(8), renice(8)


From the man page for renice(8)
NAME
     renice - alter nice value of running processes

DESCRIPTION
     renice alters the  scheduling  nice  value,  and  hence  the
     priority, of one or more running processes.  See nice(1) for
     a discussion of nice value and process scheduling priority.


Dats it Dats all.

Cheers,
Paul

+-+-+-+-+-+-+-+-+
Paul Kerr				If your a job...
maccs.dcss.mcmaster.ca			...Im a soon to be graduate ;-)
From: dossi@fgb5.fgb.mw.tu-muenchen.de (Curtis Colina)
Newsgroups: comp.unix.admin
Subject: X11R5 and DECNet
Keywords: X11R5 mit DECNet X11 DEC
Date: 5 Nov 92 20:45:01 GMT
Organization: fgb.mw.tu-muenchen.de

Hi, the question is, was the X11R5 distrib. built with
the option of DECNet (tm) ?

Because we had the same problem here, I asked one of the
local X11-wizards and got the following:

insert the following into ultrix.cf ( marked with >>
don't forget to remove them):

XCOMM platform:  $XConsortium: ultrix.cf,v 1.45 91/07/30 12:12:11 rws Exp $

#define OSName            Ultrix-32 4.2
XCOMM operating system:  OSName
#define OSMajorVersion    4
#define OSMinorVersion    2

>>#define ConnectionFlags  -DTCPCONN -DUNIXCONN -DDNETCONN
>>#define ExtraLibraries   -ldnet

#define HasPutenv YES
#define HasSaberC YES
#define HasShm YES
#define LintLibFlag -o
#define LintOpts -ax
...

after that goto the mit-root and do:

make Makefiles
make Everything > log.Everything 2>&1&

and voila....

all you may have to do is to recompile *ALL* contribs....

good luck...

/dossi

P.S.: Thanks to stumpf@informatik.tu-muenchen.de
      and        roell@informatik.tu-muenchen.de
      for their advice concerning this problem.....
From: cole@unix.SRI.COM (Susan Cole)
Newsgroups: comp.unix.admin
Subject: Re: Fastest way to transfer whole filesystems?
Date: 11 Nov 92 23:55:15 GMT
Organization: SRI International, Menlo Park, California

In article <40335@unix.SRI.COM> cole@unix.SRI.COM (Susan Cole) writes:
>What's the fastest way to transfer an entire filesystem from one
>disk partition to another (different type disk, larger partition)?
>I thought that a tar would be much faster than a dump and restore
>from tape, but when I tried it, using a command like:
>
>	tar cf - . | ( cd /otherfs; tar xpf - )
>
>I got a surprising slow rate, something like 2 minutes per megabyte....  

Thanks for the many replies!  It appears that the majority recommends 
using dump and restore instead of tar, as in (to quote one example):

  dump 0f - /filesystem1 | (cd /filesystem2; restore rf -)

Another recommendation was:

  find . -xdev -depth -print | cpio -pd /newdir

And more than one person pointed out that /new has to created so many inodes 
that it's bound to be somewhat slow to restore it.

- Susan
From: leisner@wrc.xerox.com ( Marty Leisner)
Newsgroups: comp.unix.admin
Subject: First session
Date: 11 Nov 92 17:54:45 GMT
Reply-To: leisner.henr801c@xerox.com
Organization: Xerox
X-Newsreader: TIN [version 1.1 PL6]


I want a script to put into .login so it does something intelligent when someone logs
into the first time.

1) gives the an introduction.
2) runs passwd
3) moves some default .login, .cshrc, .xinitrc, etc into ~

There must be something out there...I currently have a manual way of giving out accounts
(but I'm not really a system administrator).

--
marty
leisner.henr801c@xerox.com  leisner@eso.mc.xerox.com
Member of the League for Programming Freedom
From: jeff@hewlett.athena.lkg.dec.com (Jeff S. Tyler)
Newsgroups: comp.unix.admin
Subject: When/where is uniform ?
Keywords: Uniform 93 when where ?
Date: 5 Nov 92 19:38:20 GMT
Reply-To: jeff@athena.lkg.dec.com
Distribution: usa
Organization: DECathena  The Digital Equipment Corporation.


Can some kind sould please tell when and where Uniform is in 93 ?  I've lost 
track :-)

Thanks,,
--
===============================================================================
|Jeff Tyler  (508)-486-7135	                       Speaking for me only.. |
|DECathena                                             (Loudly !! :-)#        |
|jeff@athena.lkg.dec.com                                                      |
|		DECathena, Wherever you go, then there you are....            |
===============================================================================
From: randy@megatek.com (Randy Davis)
Newsgroups: comp.unix.admin
Subject: Re: Fastest way to transfer whole filesystems?
Date: 12 Nov 92 23:49:27 GMT
Reply-To: randy@megatek.com
Organization: Megatek Corporation, San Diego, California

In article <BxK813.AKF@news.cso.uiuc.edu> lam@mrcnext.cso.uiuc.edu (Ken Lam) writes:
|I've had to copy entire partitions, I just used cp -R.  It doesn't work
|correctly with links though.  I believe that this should be a bit faster
|since, piping involves an extra step of creating a temporary file.
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Not in any flavor of UNIX I've seen.  Perhaps a FIFO in some instances,
but no temporary data file.

  The dump | restore method is the fastest under SunOS - of course, I've only
been able to get this work acceptably when copying a COMPLETE partition to
another drive.  If you want to copy only PART of the partition, I've had
better results from cpio ("find . -depth -print | cpio -pdmuv /destination")
than from tar.  This, of course, makes sense, since this was what cpio was
designed for.

  Of course, if you are copying a filesystem with inodes greater than 65k and
plan on using cpio under SunOS 4.1, 4.1.1, or 4.1.2 (I don't know about 4.1.3),
make sure that your cpio has been patched (patch 100556).  There is a bug in
cpio under SunOS 4.1.[12] where the table keeping track of the hard links was
defined as a "short", when a short won't cut it when you exceed 65536 as an
inode value...  (We found this out the hard way, when moving some 1800 MB
partitions using cpio).

Randy Davis                            Email: randy@megatek.com
Corporate Network and System Administrator    megatek!randy@uunet.uu.net
Megatek Corporation, San Diego, California    ucsd!megatek.uucp!randy
From: alex@am.sublink.org (Alex Martelli)
Newsgroups: comp.unix.admin
Subject: Re: WANTED: Unix administration horror stories !
Date: 8 Nov 92 09:05:57 GMT
Organization: Premiata Famiglia Martelli & Figli

fischer@iesd.auc.dk (Lars Peter Fischer) writes:
	...
:>One of the (few) things I like about csh is that is

:>  steiner% cd / tmp
:>  cd: Too many arguments.
:>  steiner% 

:>Why sh allows more that one arg is beyond me.

In ksh,

$ pwd
/usr/spool/uucp
$ cd spool lib
$ pwd
/usr/lib/uucp
$

is quite handy at times!  I don't think that's *sh*'s semantics,
though.
-- 
Alex Martelli - alex@am.sublink.org - +39 (51) 250434 - Bologna, Italia

DON'T worry about rutgers' ***"Waiting mail"*** warnings, your mail WILL
get here UNLESS you get a ***"Failed mail"*** message from them!!!
From: meskes@ulysses.informatik.rwth-aachen.de (Michael Meskes)
Newsgroups: comp.unix.admin
Subject: Re: does anyone have a disk x% full capture program???
Date: 11 Nov 92 11:56:23 GMT
Organization: Rechnerbetrieb Informatik  /  RWTH Aachen

fish@daacdev1.stx.com writes:

>i'm just looking for something that would occasionally run and
>see if a disk was more than say 90% full it would notify me
>instead of waiting for the 100% full kernel warnings.

>	thanx,
>		fish

How about WATCHER? It's available on wuarchive.wustl.edu in directory
/usenet/comp.sources.unix/volume11 or some other ftp-servers (just ask archie).

Watcher is a program to watch the system, reporting only
when it finds something amiss. Watcher reads commands from
controlfile to determine what to watch, the output format of
the commands it is to run, and the acceptable limits for the
output of those commands. 
(taken from the manual page)

Michael


-- 
Michael Meskes, Lehrstuhl fuer angewandte Mathematik insb. Informatik,
RWTH-Aachen, Ahornstr. 55, D-W-5100 Aachen
Email: meskes@ulysses.informatik.rwth-aachen.de
Newsgroups: comp.unix.admin
From: Tom Christiansen <tchrist@convex.COM>
Subject: Re: HELP: ned 'sed' paramters to strip carriage returns from dos text files
Originator: tchrist@pixel.convex.com
Date: Sat, 7 Nov 1992 06:33:13 GMT
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: Convex Computer Corporation, Colorado Springs, CO
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

From the keyboard of djr48312@uxa.cso.uiuc.edu (X X):
:I do a lot of transferring of files between dos and unix.  Most of it going from
:the unix to dos direction.  Im going to need to be able to copy a dos text file
:to a unix box and get rid of the '^m' at the end of each line.  A while ago
:someone gave me a sed parameter to do the job.  I need it again.

    tr -d '\015'
or
    perl -pe chop

work for me.

well so does

    perl -pe 'tr/\015//d'

but chop is faster.

--tom
-- 
    Tom Christiansen      tchrist@convex.com      convex!tchrist
It's rural America.  It's where I came from.  We always refer to ourselves
as real America.  Rural America, real America, real, real, America.
		--Vice President Dan Quayle
Newsgroups: comp.unix.admin,comp.unix.ultrix
From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
Subject: Re: Connection of a CD-ROM to a DECstation
Reply-To: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
Organization: Digital Equipment Corporation
Date: Thu, 5 Nov 1992 19:46:42 GMT


In article <1992Nov4.190826.955@nntpd2.cxo.dec.com>, alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) writes:
>
> [ I said... ]
> ...determine how the unit number is set.  Make sure that it's set to 7...

Which is unfortunately missing a NOT after the "it's", thus causing
great confusion on the part of those that didn't know better.  My
profound apologies.
--
Alan Rollow				alan@nabeth.cxo.dec.com

Newsgroups: comp.unix.admin
From: jd@mars.nwc.navy.mil (John de la Garrigue)
Subject: Wanted: Comments about Coherent 4.0
Followup-To: jd@c3ot.saic.com
Keywords: Coherent
Reply-To: jd@mars.nwc.navy.mil
Organization: Science Applications International Corporation
Date: Mon, 9 Nov 1992 16:26:49 GMT

I'm looking for information about the latest release of the Mark Williams
Coherent 4.0 Unix look-alike OS.  Is anyone out there using this OS?
If so, could you answer a few questions?

How close to Unix is it?
Can you compile and run X11R4 or 5?
Ditto for Motif?
Ditto for GNU-anything?
What are the specifications for the machine you run it on?  (i.e. core size,
    processor type and speed, monitor type, disk drives, etc.)
Any comments about how well it runs, installation headaches, available 
    software, and like that would be greatly appreciated.

I'll post a summary if I get much of a response.  Thanks.


---
John de la Garrigue - SAIC       ||  Obligatory disclaimer:
jd@c3ot.saic.com                 ||   "I have no clear recollection of
                                 ||    the events you are referring to."
Xref: sparky comp.unix.admin:6128 comp.sys.sun.admin:8140
From: fradin@irisa.fr (Marc Fradin)
Newsgroups: comp.unix.admin,comp.sys.sun.admin
Subject: problem with TFS/NFS
Date: 10 Nov 92 13:13:31 GMT
Organization: IRISA, Rennes (Fr)

My configuration is :

.Sun OS 4.1.2
.1 670 MP server (with /usr/local exported)

.24 sun sparc/IPC (with 2  200 Mo disks) mounting :
 / and /usr on first disk
 /usr/local on server:/usr/local
I would like to use the second disk like a "local" /usr/local
file system with most frequently used applications ...

I done something like

# mount /dev/sd2c /HERE/usr/local (rw)
# mount server:/usr/local /usr/local

# mount_tfs /HERE/usr/local /usr/local


The problem is that .tfsinfo is just created for the first level 
of directories and I must be "root" if
I want to access to sub-dir of the "remote" /usr/local ...


has /HERE/usr/local to be writeable for everebody ??
is there another way to update .tfs_info for all sub-dir of
the "background" file system ?


Thanks in advance for your answers

		Marc
From: fondain@issy.cnet.fr
Newsgroups: comp.unix.admin
Subject: monitoring tool
Date: 13 Nov 92 06:49:44 GMT
Organization: Centre National d'Etudes des Telecommunications

We are looking for a tool, a software (free or not) for the monitoring
of our servers (HP9000/870 and SUN 4/490 and 690). All of these run
under Unix (SunOS 4.1.1 and HP-UX 8.0).

The goal is to appreciate the load of these servers and determine the
source of degradations of the response time:

		- CPU overload,
		- too many paging or swapping operations,
		- too many requests in the disks I/O queues,
		- congestion of ethernet,
		- ...


All ideas and informations about such tools or software are welcome by
email fondain@issy.cnet.fr or the news.

Thanks
Newsgroups: comp.unix.admin
From: dold@unislc.uucp (Clarence Dold)
Subject: Re: xcdplayer question
Organization: Unisys Corporation SLC
Date: Fri, 13 Nov 1992 06:06:52 GMT

From article <1992Nov12.213251.15134@aio.jsc.nasa.gov>, by walker@superman.jsc.nasa.gov (Doug Walker):

> xcdplayer
> ioctl(cdromreadtochdr): I/O error

On AIX/RS6000, the /dev/cd is not world r/w, so either it needs to change,
or the sgid/suid needs to be set on xcdplayer.

-- 
---
Clarence A Dold - dold@unislc.slc.Unisys.COM
               ...pyramid!ctnews!tsmiti!dold