HDTenEightyP/NetNews huggingface dataset:
From: serini@ghost.dsi.unimi.it (Piero Serini)
Subject: Re: How to move a filesytem?
Organization: Computer Science Dep. - Milan University
Date: Fri, 18 Dec 1992 11:08:17 GMT

tma@encore.com (Thanh Ma) writes:

>My /usr filesystem is full and I would like to move it to a newly-
>installed second hard disk with the same name /usr. Please show
>me how to do it. Also how do i reuse the space that /usr on the
>1st disk occupied?

In single user mode:

# cd /
# mkdir usr2
# mount /dev/newdisk /usr2
# cd usr
# tar cf - . | compress | (cd /usr2 ; uncompress | tar xf - )

this will be quite long ...
When tar is done, you get an exact copy of /usr on /usr2
Then:

# sync ; sync
# cd /
# /bin/rm -rf /usr
# sync ; sync

So you can "reuse" the space on the old disk)
when done,

# umount /usr
# umount /usr2
# mount /dev/newdisk /usr
# rmdir /usr2
# mount /dev/olddisk /wherever/you/want

That's all.
Be very careful, maybe this will not works for your particular system.
Remember to put all /usr/bin stuff in you path before removing
that file system, if needed.
Think twice before each step.
I shan't be liable for any  loss of data or profits, and/or
for any other damage derived in any way from your acts. :)

Bye
Piero

------------------------------------------ Piero Serini -----------------
Piero Serini	                  E-mail: serini@ghost.dsi.unimi.it   
Computer Science Dept.            or: piero@strider.st.dsi.unimi.it
Univ. Statale - Milano - ITALY      ** mail me your .signature **
-------------------------------------------------------------------------
Newsgroups: comp.unix.admin
From: hurme@pb.com (John Hurme)
Subject: Re: Planning for a 10,000 user network !
Organization: Pitney Bowes
Date: Thu, 17 Dec 1992 14:59:50 GMT

We are currently evaluating Athena services which was developed at MIT
to manage large workstation populations.   Digital Equipment Corp.
is selling their version of it as a service.   Client workstations
can be installed in about 15 minutes.  We are currently testing out
applications to see how well they work in this environment.
It does provide improved security (Kerberos) , Names Service Lookup
(BIND/Hesiod), as well as other services.



Newsgroups: comp.unix.admin
From: david@marie.stat.uga.edu (David Gundlach)
Subject: Re: Printing problems
Organization: UGA Statistics Department
Date: Sat, 12 Dec 1992 15:21:57 GMT

And then in <1gavefINN3ot@athena.sdsu.edu>, butler@saturn.sdsu.edu (Michael Butler) said...
% Hello Folks,
% 
% I have a situation where all the UNIX machines that are
% networked together through ether-net have access to 
% printers which are on a Novell network.  The problem is 
% that the UNIX printer daemon puts a new page on the print
% job before it gets sent to the Novell network, and then

It doesn't have to...

% the Novell printer daemon puts another new page on as well.

I don't know about this, so I'll tackle the UNIX end.

% Has anyone out there ever had this problem, and if so has any 
% of them solved it?

First, a disclaimer: this information comes from working on SUN systems.

Now to the information...  In the /etc/printcap file, you can declare
just about anything about your printer.  One of the fields is 'of',
which is the output(banner) filter.  If you set this to something
like /bin/true, you should probably be able to print pages with no
banners.

The other option is to use the -h flag in your print jobs, so that
the header(banner) page is supressed.  [I sure wish the authors would
have settled on the terms used! :-) ]  Unless you've declared the
printer explicitly in some program, most users are probably printing
with some invocation of the lpr command (if it's a BSD system, anyway...)
and thus could attach the -h flag.  We've written up some shell scripts
named after the printers (lw, lpm, lj) that automatically direct printing
to the proper device as well as supress the header page.

% 
% Thanks for any input,
Hope this helps...

% 
% Mike Butler
% butler@saturn.sdsu.edu



:-D
--
David Gundlach				david@marie.stat.uga.edu
System Support and Integration		david@rolf.stat.uga.edu
UGA Statistics				david@castor.cs.uga.edu
University of Georgia			david@groucho.dev.uga.edu
706/542-3289 or 706/542-5232		BITNET: statuga@uga

"I think, therefore I am wrong." -- 	me


Newsgroups: comp.unix.admin
From: gary@sci34hub.sci.com (Gary Heston)
Subject: Re: Best method for filesystem copy?
Reply-To: gary@sci34hub.sci.com (Gary Heston)
Organization: SCI Systems, Inc., Huntsville, Al.
Date: Wed, 16 Dec 1992 15:48:28 GMT

In article <1992Dec15.160458.1558@progress.com> tucker@bedford.progress.COM writes:
>The best way I've found to do this, thanks to some DEC tech rep, is right
>in the tar man page. It keeps all permissions, ownership and links fully
>intact.

>cd fromdir; tar cf - . | (cd todir; tar xf -)


Cpio keeps all permissions, ownerships, and links intact, and also will
properly handle device entries, named pipes, and any other special files
that happen to be out there.

	find . -print | cpio -pdlm todir

is my standard practice.


-- 
Gary Heston    SCI Systems, Inc.  gary@sci34hub.sci.com   site admin
The Chairman of the Board and the CFO speak for SCI. I'm neither.
"Data sheet: HSN-3000 Nuclear Event Detector. The [NED] senses the gamma
radiation pulse [from a] nuclear weapon." As if we wouldn't notice...
From: doug_d@sdd.hp.com (Doug Deprenger)
Newsgroups: comp.unix.admin
Subject: Re: Favorite PD tools - Stats, disk hogs, ...
Date: 14 Dec 1992 21:20:03 GMT
Organization: Hewlett-Packard, San Diego Division
Distribution: world
NNTP-Posting-Host: hpsdl126.sdd.hp.com

In article <dtb.724327657@otto>, dtb@otto (David Bath) writes:
|> maklinm@cognos.com (Max Maklin) writes:
|> 
|> In my opinion, depending on the Unix you are running, you should check out
|> sa and the reporting side, sar.
|> 
|> You can set up sa either at boot time or via cron.
|> 
|> I also suggest getting perl, looking at the examples, especially in
|> .../eg/scan, as this will tell you changes to setuid bits et al and
|> will form a good template for what you want to do.
|> 

  Start by calling HP's Customer Service Center in Boise, Idaho. The phone
  number is (208) 323-2551. There is no 800 number. Sorry.

  doug at HP in Sun Diego

Newsgroups: comp.unix.admin
From: ralf@fester.dell.com (Raymond La France - X2787)
Subject: Re: Management of Jr. Unix Sys Admin
Reply-To: ralf@ioscc.neosoft.com
Organization: IO SpecialistsConsulting
Distribution: na
Date: Fri, 18 Dec 1992 04:51:47 GMT

The way I learned was by playing.  Give your nubie a userid with a 
restricted shell and let 'em play in there.  Let 'em go through a "rm *"
with THEIR OWN files.  Then take off the restrictions and have them write
various applications using shell script.  Whether the stuff is actually used
or not is your call.  And anytime something unusual comes up, drag your
nubie in by the ear and solicit ideas -- you could learn something, the nubie
WILL learn something and you can more accurately gauge his/her progress from
the answers/questions asked.

Of course, nothing substitutes for reading and playing, and for looking
over YOUR shoulder.

Anyway, that's how I had it learnt to me, and I are a UNIX insultant! :)


--
Ray LaFrance               | Don't sweat the petty things --
ralf@ioscc.neosoft.com     | pet the sweaty things!
(303)673-2787              | (Y)  (Y)  (Y)  (Y)  (Y)  (Y)  (Y)
W.W. Kemmerer Consulting   | (The usual disclaimers apply...)
Newsgroups: comp.unix.admin
From: norstar@tnl.com (Daniel Ray)
Subject: Re: How to keep users from logging in
Organization: The Northern Lights
Date: Fri, 11 Dec 1992 23:59:43 GMT

In article <9212061952.00@phzzzt.uucp>, mfaurot@phzzzt.uucp (Michael Faurot) writes:
>  ...
>I suppose it wouldn't be too difficult to create a generic shell program
>that UUCP sites would get, that would eventually call uucico, although 
>I've never tried it.

On TNL here (public access UNIX site) we have an elaborate system for being
able to switch the system open or closed to logins, called the "closure"
subsystem.

The file /etc/closure has either the value "open" or "closed". When a user
logs in, /etc/login checks this file, and if the value is "closed" it denies
access to all but a privileged group, locking out public users, even root,
allowing only the privileged system admin group to enter. UUCP logins would
be locked out this way along with public shell users. Whenever the system
rejects a user this way, it posts a message to the Operations tty. This
protects from the system being closed by mistake.

Similarly we have a program /usr/lib/uucp/uush that checks /etc/closureuucp,
and if the system's not closed it exec()s uucico. This allows closing *just*
UUCP logins. And there are other /etc/closure* files that act as switches for
parts of the system. This allows automated and operator manual intervention
very easily.

Various security audit programs can change the system to closed status if they
detect a serious problem such as an unknown SetUID file. We have found this
subsystem very very useful. While we originally relied on /etc/profile and
/etc/cshrc to lock out users if the system was closed, we found that actual
modification of login the most secure.

-- 
norstar
The Northern Lights, Troy NY                                 |      
tnl dialins: +1 518 237-2163 @ 1200-2400 bps 8N1 $free     ` | /    
-------------------------------------------------------  --- * ---  
UUCP: uunet!uupsi3!tnl!norstar                             / | .    
Internet: norstar@tnl.com                                    |      
Newsgroups: comp.unix.admin,comp.unix.programmer,comp.unix.wizards,comp.sys.sun.admin
From: subbarao@fc.hp.com (Kartik Subbarao)
Subject: Re: revisited, determining if anyone else is logged on
Originator: news@nimaster
Reply-To: subbarao@fc.hp.com
Organization: putchar('I'); for (i = 0; i < 3; i++) putchar('E');
Date: Mon, 14 Dec 1992 15:59:36 GMT

In article <1ggn1lINNalt@matt.ksu.ksu.edu> holland@matt.ksu.ksu.edu (Rich Holland) writes:
>subbarao@fc.hp.com (Kartik Subbarao) writes:
>
>>>Change your terminal to "/.rhosts" and do an rwall of "+ +".
>
>>Cute idea, too bad you didn't try it:
>
>>Dec  3 10:27:55 electro syslog: wall : utmp file corrupted, /dev/../.rhosts
>>is not a tty
>
>What was the *idea* behind that anyway?  *puzzled look*
>How's it give you root access?

If you somehow were able to put + + in /.rhosts, you could 
rlogin machine -l root. That would most definitely give you root access.

	-Kartik
Newsgroups: comp.unix.admin,comp.dcom.lans.ethernet,comp.dcom.lans,comp.dcom.lans.misc
From: karl@ddsw1.mcs.com (Karl Denninger)
Subject: Re: BNC connectors (Was: Re: How to network 3-4 home machines cheaply?)
Date: Thu, 17 Dec 1992 19:08:05 GMT
Organization: MCSNet, Chicago, IL

In article <1992Dec14.160613.19205@sci34hub.sci.com> gary@sci34hub.sci.com (Gary Heston) writes:
>In article <Bz88n7.KCx@ddsw1.mcs.com> karl@ddsw1.mcs.com (Karl Denninger) writes:
>  [ while discussing thinnet networks ]
>
>>Yep.  However, be careful with the connectors.  The "twist on" ones at Rat
>>Shack look attractive, but have a nasty failure rate if the cable gets
>>flexed.
>
>Incorrect. Flexing the cable has *nothing* to do with it!

Sure it does.  If you flex the cable you pull the connector loose :-)

>Do not *ever* use those twist-on connectors. (Unless, of course, you
>want a bad reputation for quality of work...)

In my home its ok, as long as you're careful.  I'd NEVER use them in a
commercial installation.  But I have, with quite good success, in my house
where I don't mind tinkering once a year or two.

>Besides, the twisties won't work with the stranded-conductor cable (like
>Belden 9907) specified for 10Base2. Borrow a pair of crimpers, or use the
>solder style.

Actually they do work with 9907.  Again, you just have to be careful and tin
the end first.  

Again, if you care about not having to futz with the cable use the crimpers
or solder 'em on.

-- 
Karl Denninger (karl@ddsw1.MCS.COM, <well-connected>!ddsw1!karl)
Data Line: [+1 312 248-0900] Anon. arch. (nuucp) 00:00-06:00 C[SD]T
Request file: /u/public/sources/DIRECTORY/README for instructions
Newsgroups: comp.unix.admin
From: goudreau@batman.rtp.dg.com (Bob Goudreau)
Subject: Re: How do you back up a terabyte?
Date: Fri, 18 Dec 92 17:10:35 GMT
Organization: Data General Corporation, RTP, NC

In article <herman.724556613@phage> herman@nosc.mil (John W. Herman) writes:
>
>Paper tape.  There is a company which advertizes the ability to back up
>1 terabyte to a paper tape real [sic].  Honest

Presumably, you are speaking of the medium known as "digital paper".
This material is quite different from the ancient storage medium
commonly known as paper tape.

----------------------------------------------------------------------
Bob Goudreau			Data General Corporation
goudreau@dg-rtp.dg.com		62 Alexander Drive	
+1 919 248 6231			Research Triangle Park, NC  27709, USA
Newsgroups: comp.unix.admin
From: csfed@ux1.cts.eiu.edu (Frank E. Doss)
Subject: Re: Management of Jr. Unix Sys Admin
Date: Fri, 11 Dec 1992 22:25:59 GMT
Distribution: na
Organization: Eastern Illinois University

In article <1992Dec11.165819.540@sactoh0.sac.ca.us> ccpoabt!dan@sactoh0.SAC.CA.US (Daniel James) writes:
>raj2@ra.msstate.edu (rex allan jones) writes:
>
>>	I would appreciate advice from Sys Admins in some kind
>>of lead or supervisory position.  This is my first shot at
>>such a position, and I don't want to screw it up.
>
>I think this is an interesting question myself.  I'm in a somewhat related
>position, in that I am the only Unix person, but my boss wants a back-up in
>case of system troubles.  I've sent her to training, but in my experience,
>I took spanish for several years, never used it, shortly thereafter forgot
>it.
>
>I need some simple tasks to keep her knowledgable.  Obviously, there is no
>simple answer, but I'd be interested in hearing some similar experiences
>that others have been through.

When I was coming into this job, I was assigned as the junior under the
system administrator.  The primary activities I had were to *read* and
maybe use simple non-destructive commands.  Sometimes I watched over the
shoulder of the sys admin for complicated proceedures.  Usually the sys
admin just delivered lectures on what was currently going on.

About the most informative time I had was when the sys admin went on
vacation and the system crashed hard.

Now that I'm the sys admin, I have my backups (two of them) run the system
for one day a week each.  They take care of whatever problems come up.  If
anything too serious, I'm still there.  When I'm gone myself now, they can
handle almost any situation that comes up.

Sometimes I have a backup write new scripts for system proceedures.

This all seems to work very well for me.  

-Frank

-- 
Frank E. Doss                            Academic Computing
csfed@ux1.cts.eiu.edu                    Eastern Illinois University
Newsgroups: comp.unix.admin
From: kermits@ikaros.cc.uch.gr (Aggelos Keromyths)
Subject: Re: Quota missing a user
Organization: Computer Science Department, University of Crete HELLAS
X-Newsreader: Tin 1.1 PL3
Date: Sun, 13 Dec 1992 01:41:51 GMT

dan@cubmol.bio.columbia.edu (Daniel Zabetakis) writes:
: 
:     A user account was created, but a quota was not entered. When I
: discovered this, I used edquota to create normal quota limits. But
: quota doesn't report the usage. Does quota count only those files created
: after the quoat was started?
: 
:     The files are owned by the user in question. Quota is working for the
: other users.
:    Does anyone have any idea why this is happening?
: 
:     Thanks for any help you can give. I feel like I should know the answer
: to this if I had more experience. If you need more information, but think
: you can help, feel free to e-mail.
: 
: DanZ
: 
: -- 
: This article is for entertainment purposes only. Any facts, opinions,
: narratives or ideas contained herein are not necessarily true, and do
: not necessarily represent the views of any particular person.  
: 
You should use the quotacheck command (more info in the man pages).It's also
 a good idea to put that before the quotaon command in the boot file.
 Aggelos

-------------------------------------------------------------------------------
| "War does not belong to the  | Aggelos Keromyths        | Dreams born of    |
| field of arts and sciences,  | Computer Science Depart. | desire, shaped    |
| but to the one of social     | University of Crete      |  and forged       |
| existance. It is a fight of  | Heraclion, Greece        | within the fire   |
| great interests, and in this | Tel. (081) 212595        | Twisted, warped   |
| only does it differ from the | E-mail:                  | deranged i see    |
| other conflicts."            | kermits@ikaros.cc.uch.gr |  the world's      |
|   Karl von Klausewitz        | kermit@crete.csd.uch.gr  | corrupt insanity. |
-------------------------------------------------------------------------------
Xref: sparky comp.unix.admin:6617 comp.unix.programmer:5672 comp.unix.wizards:5210 comp.sys.sun.admin:9396
From: holland@matt.ksu.ksu.edu (Rich Holland)
Newsgroups: comp.unix.admin,comp.unix.programmer,comp.unix.wizards,comp.sys.sun.admin
Subject: Re: revisited, determining if anyone else is logged on
Date: 13 Dec 1992 19:12:21 -0600
Organization: Kansas State University
NNTP-Posting-Host: matt.ksu.ksu.edu

subbarao@fc.hp.com (Kartik Subbarao) writes:

>>Change your terminal to "/.rhosts" and do an rwall of "+ +".

>Cute idea, too bad you didn't try it:

>Dec  3 10:27:55 electro syslog: wall : utmp file corrupted, /dev/../.rhosts
>is not a tty

What was the *idea* behind that anyway?  *puzzled look*
How's it give you root access?

-- 
Rich Holland              | INTERNET: holland@matt.ksu.ksu.edu
100 Jardine Terr, Apt A7  | BITNET  : holland@ksuvm
Manhattan, KS  66502-3357 | UUCP    : ...!rutgers!matt.ksu.ksu.edu!holland
char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
From: butler@saturn.sdsu.edu (Michael Butler)
Newsgroups: comp.unix.admin
Subject: Printing problems
Date: 11 Dec 1992 20:58:55 GMT
Organization: San Diego State University, Math Dept.
NNTP-Posting-Host: saturn.sdsu.edu

Hello Folks,

I have a situation where all the UNIX machines that are
networked together through ether-net have access to 
printers which are on a Novell network.  The problem is 
that the UNIX printer daemon puts a new page on the print
job before it gets sent to the Novell network, and then
the Novell printer daemon puts another new page on as well.
The end result is that a blank page is printed after
every UNIX print job.  There are enough UNIX print jobs
each day to make both the environmentally concious and
the ecconomically concious concerned.

Has anyone out there ever had this problem, and if so has any 
of them solved it?

Thanks for any input,

Mike Butler
butler@saturn.sdsu.edu
Newsgroups: comp.unix.admin
From: sun030@joy.cs.uakron.edu (JAYARAM S AKULA)
Subject: cpio options & compressed files
Keywords: cpio, compressed format, 9-track tapes
Organization: The University of Akron, Akron, Ohio
Date: Thu, 17 Dec 1992 22:42:14 GMT

      I was trying to restore some files 9-track tape reels.

      I was using the command :

       cpio -icBdmux < /dev/backup

      this works but it does'nt retrieve some files whose ascii headers

      got screwed up. So I used

       cpio -icbBdmux < /dev/backup

      this worked fine and retrieved the files I was looking for, but
      the files which were stored in compressed format got screwed up.

      when I try to uncompress I get the error message.

                " file is not in compressed format "

      can anyone throw some light on this......dumb question

       Thanks in advance.

           Jay

        

Newsgroups: comp.unix.admin
From: bill@bilver.uucp (Bill Vermillion)
Subject: Re: How do you back up a terabyte?
Organization: W. J. Vermillion - Winter Park, FL
Date: Fri, 18 Dec 1992 13:52:23 GMT

In article <herman.724556613@phage> herman@nosc.mil (John W. Herman) writes:
>twl10@ccc.amdahl.com (Tom Littauer) writes:
>
>>In article <1992Dec16.161430.1109@cc.ic.ac.uk> cmaae47@imperial.ac.uk writes:
>>>In article <ericw.724459057@hobbes>, ericw@hobbes.amd.com (Eric Wedaa) writes:

>>>- The subject says it all.  "How do you back up a terabyte?"

>>>With great care.

>Paper tape.  There is a company which advertizes the ability to back up
>1 terabyte to a paper tape real.  Honest

Not really a paper tape - the nickname is digital paper.  It's
a magneto-optical process

-- 
Bill Vermillion - bill@bilver.oau.org  bill@bilver.uucp
                - ..!{peora|tous|tarpit}!bilver!bill
From: samuel@cs.ubc.ca (Stephen Samuel)
Newsgroups: comp.unix.admin
Subject: Re: managing passwd on two systems
Date: 17 Dec 1992 19:12:17 -0800
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
NNTP-Posting-Host: lucille.cs.ubc.ca

efros@leopard.east-slc.edu (Alyosha Efros) writes:

>  First, I installed YP by copying /etc/passwd to /var/yp/src/passwd,
>making passwd on yp, and cleaning up /etc/passwd file from any user
>entries. Then I aliased passwd to yppasswd and everything was fine until
>my teacher decided to create a new account. It appeared that yppasswd
>ALWAYS asked for the old password even on the brand new account.  So this
>didn't work...
Well, there are a couple of trivial answers:
 1) copy the password field for an account for which you know the 
the password into the password entry for the new account, then, you 
know the password when yppasswd prompts you.  (there are other solutions..

 2)A slightly better way is to use the crypt function in a program to creat a
password entry for the new account one-shot.
-- 
-- 
Stephen Samuel 		(604)822-9248		samuel@cs.ubc.ca
The first prerequisite to winning is playing the game.
From: hbowser@dvorak.amd.com (Horace Bowser)
Newsgroups: comp.unix.admin
Subject: Suppressing banner pages
Date: 14 Dec 92 15:39:36 GMT
Organization: Advanced Micro Devices, Inc.; Austin, Texas

Can anyone tell me how to suppress banner pages on an HP IIIsi
hosted from a SPARC2?  We're using hp's hpnpf software with
input and output filters in the printcap entry.  Any hints will be
most appreciated!  Thanks

--
Horace
horace.bowser@amd.com
From: betsys@cs.umb.edu (Elizabeth Schwartz)
Newsgroups: comp.unix.admin
Subject: Re: Management of Jr. Unix Sys Admin
Date: 12 Dec 92 04:30:52 GMT
	<1992Dec11.222559.30254@ux1.cts.eiu.edu>
Distribution: na
Organization: University of Massachusetts at Boston

Amen! The *only* way to learn system work is by doing. This means
having something go wrong, and trying to fix it, without the boss
giving you step-by-step instructions.
   Sometimes when the student operators (who are really Jr ADmins)
come to me with a problem, I tell them to come back in 15 minutes if
they still haven't figured it out :-)
--
System Administrator                  Internet: betsys@cs.umb.edu
MACS Dept, UMass/Boston               BITNET:ESCHWARTZ%UMBSKY.DNET@NS.UMB.EDU
100 Morrissey Blvd                    Staccato signals
Boston, MA 02125-3393                      of constant information....
Newsgroups: comp.unix.admin