HDTenEightyP/NetNews huggingface dataset:
From: sinclair@strider.sps.mot.com (Brian Sinclair)
Subject: amd (automounter) news group...Where are they!
Keywords: amtomount amd
Organization: Motorola Inc. MMTG Oakhill, Austin Texas
Date: Tue, 22 Dec 1992 01:06:29 GMT

Hello all, I am looking for a pointer to any news group where
the amd automounter is being discussed.  I need some help with
passing variables into the maps.

Any help here would be appreciated.


-- 
Brian Sinclair 
Pilot Line and CIM Support  -  Motorola Inc. MMTG Austin, Tx. (512) 891-3214
Internet: sinclair@strider.sps.mot.com 
UUCP:     ..!uunet!strider.sps.mot.com!sinclair
From: dstrout@sun.rest.tasc.com. (Dave Strout)
Newsgroups: comp.unix.admin
Subject: How to get a true report of usage by user?
Date: 28 Dec 1992 14:04:25 GMT
Organization: TASC
Distribution: usa
Reply-To: dstrout@sun.rest.tasc.com
NNTP-Posting-Host: uranus.aitc.rest.tasc.com
Keywords: wtmp, last, usage


Does anyone have a shell script or program that produces a true report of  
the time a user was sitting at a box?  Problem is poeple who sit around w/  
2 or 3 terminal windows open get 2 or 3 x thier time.  I have tried  
writting last | awk type scripts, but get bogus usage info due to multi  
terminals.  All I really want to know is how many hours / week a given  
user was at a box.

Hating windowing systems,

dave.

--
Dave Strout	dstrout@sun.rest.tasc.com
/* Opinions expressed are not the official position of TASC. */
Newsgroups: comp.unix.admin
From: ellis@nova.gmi.edu (Stew Ellis)
Subject: Re: rlogin - how to pass data to
Keywords: rlogin
Organization: GMI Engineering&Management Institute, Flint, MI
Date: Fri, 1 Jan 1993 14:41:14 GMT

walker@uunet!fdls!agdept (Walker) writes:

>We are setting up a remote machine that will be limited to data base 
>applications.  All users will login through a host and will operate from a 
>menu on the host.  If the menu item selected is not data base related, such as
>Word Processing, they will execute the application on the host.  But, if
>they select a data base application, such as SANITARIAN INSPECTION
>SCHEDULING, then we want to have them do a transparent rlogin to the remote
>machine
>and execute the data base application.  Since there will be several different
>data base applications on the remote machine, data must somehow be passed to
>the rlogin so a decision can be made about which data base application to
>execute.

>As far as I can tell, environmental variables on the host are not passed to
>the remote machine during the rlogin process.  So, I'm seeking advice from
>the net on how to get data about which data base application to select
>passed to the remote login. 

>Both the host machine and the remote machine are running Unix V, Release 3.

>Thanks.

>	. . .  Doug Walker     
> 
>-- 
>-----------------------------------------------------------------------------

>Doug Walker       uunet!agdept!walker  -or-  walker@agdept.odag.or.gov
>Oregon Department of Agriculture, Salem, Oregon           (503) 378-5869

I am a little unclear concerning your parameters.  You could simply set up a
series of "users" on the database machine, each of which would have a simple
C or perl program or shell script as its "shell".  This "shell" would then
exec your database application with the proper arguments.  It is important
to exec so that when the user exits the DB they are not left with a login
shell on the remote machine.  The switch in your host  menu would then have a
series of statements of the sort:
  rlogin database.machine -l database.user


There are a lot of issues that need to be clarified to tell whether this
will work.  There are also some security issues that need to be addressed.

Hope this points in the right direction.


--
                                                          ___________________
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765  /   _____  ______ 
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.   /        / /  /  / /
  Flint, MI 48504      ellis@nova.gmi.edu              /________/ /  /  / /
Xref: sparky comp.unix.admin:6832 misc.jobs.offered:15205
From: agerrard@inode.com
Newsgroups: comp.unix.admin,misc.jobs.offered
Subject: SUN ADMIN. NEEDED IN NYC
Date: 29 Dec 92 15:25:36 EST
Reply-To: agerrard@inode.com
Distribution: USA
Organization: inode BBS, Usenet Access for NYC (212-679-9146)

*****************************************

Unix System Administrators needed

Junior level or recently graduated is fine

Brokerage firm seeks bright person with
good technical background and education
of at least a bachelors degree.

Sun background preferred but not mandatory

Salary up to $45k, IMMEDIATE HIRE!

New York City, great benefits and a chance
to put your career on the fast track.

For an imediate review of your resume contact:

Alan Gerrard   phone: 212-725-0300
                 Fax: 212-684-0616
                 net: agerrard@inode.com

*******************************************

           


                                                                                                                            
--- Blue Wave/QWK v2.10
From: broberts@wpi.WPI.EDU (broberts)
Newsgroups: comp.unix.admin
Subject: DNS - Please help.
Date: 23 Dec 1992 01:43:22 GMT
Organization: Worcester Polytechnic Institute
NNTP-Posting-Host: wpi.wpi.edu

I am hoping you can help me with a problem.    I realize that this may have
been discussed a few hundred times, but I really need the help.
	
	Thanks.
The enviorment:

	1 SUN 4/360 server - NFS NIS
	1 SUN 3/60  server - NFS
	4 SUN 1+ NFS/NIS Clients
	8 SUN IPC NFS/NIS Clients
	1 SUN 1+ Internet slip DIALUP only gateway - MAIL SERVER

	All of the sun's are running SunOs 4.1.1

The problem:

	I have run through all of the steps to get DNS running correctly
	for the outside world only.  It works correctly on the 4/360
	it works fine on 1 IPC.  It works fine on the 1+ to the internet.
	The rest of the machines have various problems with it.

	A few of the IPC's can't send outgoing mail when configured for
	DNS all of thir messages are returned by our mail server saying
	undeliverable.  When reconfigured without DNS their mail goes out
	fine.

	The 1+'s and the rest of the IPC's have a problem with internal
	addresses when configured for DNS - They don't see anyone inside
	the bldg, but can ping the hell out of sun.com.

/etc/resolv.conf has the following line in it.

order nis,local,bind.
	Any help will be greatly appreciated.

	Thanks

Newsgroups: comp.unix.admin,comp.unix.questions,comp.unix.sys5.r4
From: kev@sol.acs.unt.edu (Kevin W. Mullet)
Subject: Preventing root login except on console
Organization: University of North Texas
Date: Sat, 26 Dec 1992 04:52:58 GMT

I've got a SGI UNIX box running IRIX (a SVR4 variant, I understand) and
I need to prevent anyone from logging in as "root" -- requiring them
to "su" instead of giving "root" at the login: prompt. This is similar
to what I'd do in BSD when removing the "secure" keyword from individual
entries in the /etc/ttytab file.

I've looked all over the place for this one, so any help will
be appreciated -- I know there's gotta be a way to do this.

Please send replies via E-mail, and I will post the summary
to comp.unix.admin.

-Kevin Mullet
 University of North Texas

Kevin Mullet <kev@unt.edu>                 |  ALL OPINIONS STATED ABOVE
Data Communication Analyst                 |  ARE MY OWN AND NOT ASSOCIATED
University of North Texas Computing Center |  IN ANY WAY WITH UNT.
------------------------------------------------------------------------------
I remember summing up what I took to be our destiny, in conversation with
my best friend at Chartres, by the formula, "Term, holidays, term,
holidays, till we leave school, and then work, work, work till we die."
                          C. S. Lewis 1898-1963   Suprised by Joy (1955) ch. 4
From: liman@kth.se (Lars-Johan Liman)
Newsgroups: comp.unix.admin
Subject: Re: amd (automounter) news group...Where are they!
Keywords: amtomount amd
Date: 23 Dec 92 14:44:11 GMT
Organization: Royal Institute of Technology, Stockholm, Sweden

Brian Sinclair writes:
> Hello all, I am looking for a pointer to any news group where
> the amd automounter is being discussed.  I need some help with
> passing variables into the maps.

As far as I know, there is no news group for it, but there certainly
is a mailing list called <amd-workers@acl.lanl.gov>. If you want to
join, just send a mail to <amd-workers-request@acl.lanl.gov> and tell
the list manager so.

Please do **NOT** send such a message to the list itself. It's just a
waste of bandwidth to copy such a message to thousands of people all
over the globe.

				Regards,
				  /Liman
#-------------------------------------------------------------------------
# Lars-Johan Liman, System Manager	! Internet: liman@pdc.kth.se
# Centre for Parallel Computing		! BITNET  : LIMAN@SEKTH
# Royal Institute of Technology, Sweden	! Voice   : Int +46 8 - 790 68 45
From: david@marie.stat.uga.edu (David Gundlach)
Newsgroups: comp.unix.admin
Subject: Re: showing working dirs of each users
Summary: peek
Date: 21 Dec 92 23:15:39 GMT
Organization: UGA Statistics Department

And then in <1992Dec21.182510.10975@dcs.warwick.ac.uk>, rince@dcs.warwick.ac.uk (James Bonfield) said...
% In <78677@hydra.gatech.EDU> gs26@prism.gatech.EDU (Glenn R. Stone) writes:
% 
% > In <1992Dec21.082746.23803@latcs1.lat.oz.au> wongm@latcs1.lat.oz.au (M.C. Wong) writes:
% > >  I wonder if there is any utility that shows which working dir each
% > >  of the users are in, much like the finger and w command but also shows
% > >  where they are. Thank you !!
% > 
% > Not that I know of; I do know that it would be a royal pain to do (probably
% > involving C and setuid executables) on a SysV box... but if you luck out
% 
% Well - I know it's possible by having a program (setgid to kmem to get access
% to /dev/vmunix, /dev/mem, /dev/drum and /dev/kmem probably) that reads the
% directory from the user structure associated with the appropriate process. I
% never got around to finishing the version I was writing as I couldn't be
% bothered with all the tedious 'what if it's swapped out' type stuff.

In fact, it's been done.  Brendan Kehoe wrote (as of 12-17-90) peek.c,
which does all of this.  From the little blurb:

 * Peek in and see what directory a user's sitting in, along with
 *  what they happen to be doing at the time, and if they've set
 *  id to someone else. (An R means they're setuid to root, a '*'
 *  means they're setuid to someone else.) Remember, many programs do
 *  the setuid themselves [e.g. xterm], so don't freak if you see an R
 *  there.
 *

It has a companion program called 'force', which allows you to force
keystrokes onto a terminal line.  Not for playing around (not nice!),
but they can be handy at times.

% 
% 	James
% 
% -- 
% James Bonfield (jkb@mrc-lmba.cam.ac.uk / rince@dcs.warwick.ac.uk)
% Medical Research Council Laboratory of Molecular Biology, Hills Road,
% Cambridge, CB2 2QH, England. Tel: 0223 402499   Fax: 0223 412282



:-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
From: ccsis@sunlab1.bath.ac.uk (Icarus Sparry)
Newsgroups: comp.unix.admin
Subject: Re: How to write a "turnin" utility??
Date: 1 Jan 93 18:11:08 GMT
Organization: Bath University Computing Services, UK

In the referenced article, chris@castlab.uucp (Christian) writes:
>
>There is the script idea. SetUID on the script to that of a user that
>has write access to the directory, and have the script copy the file name
>specified to that directory. 
>
>how about:
>
># /bin/csh
>cp %1 /usr/home/instructors/directory/
>

>Dunno if that helps...
>
>-Chris

I would strongly advise against this idea. The script is fine, except as others
have pointed out it does not check against overwriting other peoples files.
HOWEVER it MUST NOT be made SetUID. Doing so invites people to destroy all
the instructors files!

There is a very easy approach if your system allows the 'sticky-bit' on
directories to mean that only the owner of a file and the owner of the
directory can remove files. A quick (but by no means foolproof) way would
be to type 'ls -ld /tmp'. If the system replies with 'drwxrwxrwt' (note
the final 't') then there is a good chance that this is the case.
Read the manual pages to be sure.

If so, you just type
	mkdir /usr/home/instructors/directory
	chmod 1777 /usr/home/instructors/directory

and then use the following script.
#! /bin/sh
umask 022
/bin/cp $1 /usr/home/instructors/directory/$USER

See the file convex.com:/pub/csh.whynot for reasons not to use csh!
This approach also makes it easy for the instuctor to put a deadline
as all he has to do is chmod 700 /usr/home/instructors/directory/
when the time is up.

If the system does not allow the sticky-bit on directories to mean this,
then you will require some kind of SUID program.
I see that Luc Bussieres has provided the information about one from Purdue.
Newsgroups: comp.unix.admin
From: rince@dcs.warwick.ac.uk (James Bonfield)
Subject: Re: showing working dirs of each users
Organization: Department of Computer Science, Warwick University, England
Date: Mon, 21 Dec 1992 18:25:10 GMT

In <78677@hydra.gatech.EDU> gs26@prism.gatech.EDU (Glenn R. Stone) writes:

> In <1992Dec21.082746.23803@latcs1.lat.oz.au> wongm@latcs1.lat.oz.au (M.C. Wong) writes:
> >  I wonder if there is any utility that shows which working dir each
> >  of the users are in, much like the finger and w command but also shows
> >  where they are. Thank you !!
> 
> Not that I know of; I do know that it would be a royal pain to do (probably
> involving C and setuid executables) on a SysV box... but if you luck out

Well - I know it's possible by having a program (setgid to kmem to get access
to /dev/vmunix, /dev/mem, /dev/drum and /dev/kmem probably) that reads the
directory from the user structure associated with the appropriate process. I
never got around to finishing the version I was writing as I couldn't be
bothered with all the tedious 'what if it's swapped out' type stuff.

	James

-- 
James Bonfield (jkb@mrc-lmba.cam.ac.uk / rince@dcs.warwick.ac.uk)
Medical Research Council Laboratory of Molecular Biology, Hills Road,
Cambridge, CB2 2QH, England. Tel: 0223 402499   Fax: 0223 412282
From: barr@pop.psu.edu (David Barr)
Newsgroups: comp.unix.admin
Subject: Re: How to write a "turnin" utility??
Date: 29 Dec 92 21:49:54 GMT
Organization: Penn State Population Research Institute

In article <Dec29.212116.55124@yuma.ACNS.ColoState.EDU> dan@lamar.ColoState.EDU (Danilo Silva) writes:
>In article <0291H&pdqb@atlantis.psu.edu> barr@pop.psu.edu (David Barr) writes:
>>... stuff deleted
>
>>	That's the first time I've ever heard someone call email "secure".
>>Evidently our definitions of "secure" differ.
>>
>>	A mail solution can be trivially spoofed.
>
>What do you mean by e-mail being trivially spoofed??

	Exactly that.  The majority of implementations of mail on UNIX platforms
have no authentication whatsoever.  What's more it is trivially possible
to forge mail such that it appears to come from anyone at all.
	Taking the Internet RFC-822+SMTP mail specification and transport system
as an example, you'd need some kind of two-way public-key encryption in order
to start calling it truely "secure".
	If you really want to learn how, just read up on RFC 822 and RFC 821.

--Dave
-- 
System Administrator, Population Research Institute    barr@pop.psu.edu
Emacs is a fine operating system, but I still prefer UNIX. - Tom Christiansen
From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
Newsgroups: comp.unix.admin
Subject: Re: Horror Stories UNIX Admin!
Date: 25 Dec 1992 11:20:17 -0600
Organization: Kansas State University
NNTP-Posting-Host: matt.ksu.ksu.edu

amdunn@mongrel.UUCP (Andrew M. Dunn) writes:

>In article <BzqF81.7EH@trc.amoco.com> zcjm0f@wwnv67.hou.amoco.com (CJohn Mace) writes:
>>
>>its ok to post the stories.  :-)
>>
>>if someone wants to complain about the size costing them money, then they
>>should probably buy a faster modem...

>Well, excuuuuuse me.

>I guess AMOCO provides your modem, and pays for a faster one.  The rest
>of the world isn't so lucky that they can use their employer's cash to
>pay for their NetNews reading.



>Andy

It's your choice I beleive to receive news and therefore pay for it.

If you don't want to pay for it, don't subscribe.....

James
Newsgroups: comp.unix.admin
From: eoliver@ralph.cs.haverford.edu (Erik Oliver)
Subject: Re: How to write a "turnin" utility??
Organization: Haverford College Computer Science Department
Distribution: world 
Date: Tue, 29 Dec 1992 15:24:08 GMT

Ummmmmm...

While, I agree that that is the basic idea, there need to be some
precautions taken to avoid user overwriting existing files.

The script should most definitely check for an existing file and then
refuse the copy...  The script should probably be either Set UID or Set
GID though.

Also, to the original poster, I think your attitude about shell scripts
is a little unwarented.  Also, there is the final option of creating a
new group and giving instructors privs to read things in that group...

Here is another example, a sh script which does a little more error
checking and gives an example of how to handle multiple paramteres, eg
file names.  I can't guaranteee its accuracy because I just whipped it
together, but I think the basic framework is what you need.
The protection against overwriting files with data, -s $1, is essential
otherwise a malicious person could overwrite other people's assignments,
perhaps even inadvertantly.

I suspect that there might be some other issues though like creating
subdirectories for each student's work to fall into and more.  If you
would like more help with stuff like that, let me know.

-Erik
########
Shell script starts below:

#!/bin/sh
#
# Turn in Utility
destdir=/usr/courses/completedhwk/

if [ $# < 1 ]
then
# if they didn't list at least one file name, then tell them
# how to use the command.
	echo "Usage: turnin: turning file1 [file2] [file3] ..."
	exit
fi

while [ "$1" ]
do
# if the filename is non-null...
	if [ -s $1]
	then
		echo "Can't overwrite existing file named: $1"
	else
		cp $1 $destdir
	fi
shift
# move the paramters over and start again
done
	
Newsgroups: comp.unix.admin
From: toddi@mav.com (Todd Inch)
Subject: Re: How do you back up a terabyte?
Organization: Maverick International Inc.
Date: Thu, 31 Dec 92 17:45:49 GMT

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:
>- And does anyone remember the real reason why dump/tar/cpio is not 
>- a good thing on an acitve filesystem?
>
>Because users may change files while they are being backed up, and you may
>end up with an inconsistent copy on the tape - say a random access file is 
>keeping pointers to records at its end, and the data at the beginning.

And likewise two separate files may be interdependant, such as detail
and header records in a database, or a data file and its accompanying
hashed-key file.

Also, in my case running the backups during the day, which I do do,
slows down overall system throughput significantly.

Because I'm in a database environment and the data files don't all fit
onto one of my tapes, I do full backups during the day when I can swap
the tapes but then automatically back up any recently changed files
that night, which does fit onto one tape.  Because my data files
contain their own hashed keys, the copies I make while the system is in
use are fairly often corrupted internally.

Sometimes I'll just "cp" a file to make an on-disk backup, but
afterward I have to double-check the modification times to make sure
the original wasn't changed during my cp process.

If you have NO databases, just users doing word processing or somesuch with
text files, most of these issues won't apply.  But then, the built-in Unix
stuff such as accounting and error-logging and things like news all have
database structures that span across multiple files and/or do random writes
to files.  You're only safe if everything writes an entire file in a single
write operation.
Newsgroups: comp.unix.admin
From: joe@solomon.technet.sg (Joseph Doo)
Subject: FAQ request
X-Newsreader: TIN [version 1.1 PL8]
Date: Fri, 1 Jan 1993 14:01:12 GMT

Where can I get an FAQ?

Newsgroups: comp.unix.admin
From: jackson@ponder.csci.unt.edu (Bruce Jackson)
Subject: Re: How to move a filesytem?
Organization: University of North Texas, Denton
Date: Wed, 23 Dec 1992 22:27:07 GMT

>In article <1992Dec18.110817.6773@ghost.dsi.unimi.it>, serini@ghost.dsi.unimi.it (Piero Serini) writes:

>|> In single user mode:

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

In article <1992Dec18.110958.25712@sei.cmu.edu> kochmar@sei.cmu.edu (John Kochmar) writes:

>I always use -p option to the second tar, so that permissions and
>ownerships are set correctly.  According to the man page, not using the
>-p option will cause the files to be restored with the current umask,
>and setUID and stickey information are also preserved.

>Note: the -p is only necessary on the extract, not on the corrosponding
>create (the man page sez it is only useful with the -x option.)

I'll second using the `p' option to keep the current permissions
intact.

For sh, ksh, or bash I'd also use '&&' instead of ';' like:

# tar cf - . | (cd /usr2 && tar xpf - )

This way the tar extracting from stdin will *ONLY* run if the cd in front
of it is sucessful.  tar-ing overtop of the present files will cause them
to be truncated.  In csh or tcsh the '&&' does not seem to be necessary
since it drops out if the cd fails.

Bruce  -  jackson@cs.unt.edu




Newsgroups: comp.unix.admin
From: jfc@athena.mit.edu (John F Carr)
Subject: Re: How to write a "turnin" utility??
Organization: Massachusetts Institute of Technology
Date: Fri, 1 Jan 1993 17:25:51 GMT


MIT has developed a set of programs called EOS (Educational On-Line
System)*.  There are text-only programs, as well as programs using the
Andrew Toolkit from CMU.  I believe the latest version of ATK includes NEOS.
This package transfers files using an RPC protocol.  At MIT, Kerberos is
used for authentication.


* I think MIT changed the name to NEOS because EOS was already a trademark,
but it was originally called EOS.

--
    John Carr (jfc@athena.mit.edu)
From: jessea@u013.me.vp.com (Jesse W. Asher)
Newsgroups: comp.unix.admin
Subject: Program to generate encrypted version of password?
Date: 31 Dec 92 00:02:03 GMT
Organization: Varco-Pruden Buildings

At one time I played with a program that would take a password (and
maybe the salt) and encrypt the password just like to would go into the
passwd file.  Does anyone know the name of the program?  I need to
generate an encrypted version of the password without it being in the
passwd file itself.  Thanks.

-- 
      Jesse W. Asher                                          (901)762-6000
                             Varco-Pruden Buildings
                 6000 Poplar Ave., Suite 400, Memphis, TN  38119
    Internet: jessea@vpbuild.vp.com                   UUCP: vpbuild!jessea
From: betsys@cs.umb.edu (Elizabeth Schwartz)
Newsgroups: comp.unix.admin
Subject: Re: Horror Stories UNIX Admin!
Date: 24 Dec 92 15:07:57 GMT
	<1haqfkINNoho@matt.ksu.ksu.edu>
Organization: University of Massachusetts at Boston

I think it's ok to post the stories. I think there's a standard
written down somewhere about how big an article is acceptable...48k
seems familiar but don't quote me. Certainly your article is smaller
than a FAQ, and of general interest (not as universal as a FAQ but I
loved them!) I'd say post it once a month, and if you feel so
ambitious, post only the new stories weekly, to keep it alive.
  JMTC (Just My Two Cents)
--
System Administrator                  Internet: betsys@cs.umb.edu
MACS Dept, UMass/Boston               Phone   : 617-287-6448
100 Morrissey Blvd                    Staccato signals
Boston, MA 02125-3393                      of constant information....
Newsgroups: comp.unix.admin