HDTenEightyP/NetNews huggingface dataset:
From: steve@cse.fau.edu (Steve Smith)
Newsgroups: comp.sys.sun.admin
Subject: yppasswdd crashes under C2 (SunOS 4.1.2) - help!
Date: 12 Oct 92 16:04:10 GMT
Organization: Florida Atlantic University, Boca Raton, FL, USA


Does anybody know how to cofigure yppasswdd to work under C2?
Please mail as I am not able to follow the group.  Will post summary.

Here is my problem:

After recently upgrading our YP domain to C2, I have found that the passwd
command is broken.  I have fiddled with /var/yp/Makefile and changed
the way in which rpc.yppasswdd gets started and nothing seems to be working.

For simplicity I have combined the YP passwd file with /etc/passwd (on the
server of course) and passwd.adjunct with the server adjunct file in
/etc/security

Currently I start rpc.yppasswdd like this:

   /usr/etc/rpc.yppasswdd /etc/passwd /etc/security/passwd.adjunct \
    -m passwd.adjunct.time

and once I run passwd (which used to behave the same as yppasswd),
I get this:

   sunrise <~> passwd
   Changing password for steve on sunrise.
   Not in passwd.adjunct file.
   sunrise <~>

and rpc.yppasswdd stays running.  However, yppasswd gives me this:

   sunrise <~> yppasswd
   Changing NIS password for steve on sunrise.
   Old password:
   New password:
   Retype new password:
   RPC: Timed out                  <--- long pause before this

   yppasswd couldn't change entry (rpc call failed)
   sunrise <~>

and immediatly upon typing the password the 3rd time, rpc.yppasswd dies and
there is a timeout.  I think somehow it is a problem with the way yppasswdd
is started or with the way the make is performed.  The portion of the
Makefile concerned is unchanged from the default since I am using 
/etc/security/passwd.adjunct for the YP domain.


Please mail me at steve@cse.fau.edu if you have any infomation about
this, it is greatly appreciated.  Thanks.
-- 
      ___________________________________________________________
     (_____    |   (______    Internet: steve@cse.fau.edu
___________)___|__________)   Bitnet:   S_SMITH@FAUVAX
Newsgroups: comp.sys.sun.admin
From: Asokan <nasokan@yoho.uwaterloo.ca>
Subject: Re: System V IPC on a Sun MP running 4.1.2
Organization: University of Waterloo
Date: Wed, 14 Oct 1992 17:19:12 GMT

In article <92Oct5.230732edt.105820-3@yoho.uwaterloo.ca> I wrote:
>
>I wanted to enable the System V IPC facilities (shared memory
>stuff in particular) on one of our MPs (Sun 4/600) running
>SunOS 4.1.2.  I enabled the IPCMESSAGE, IPCSEMAPHORE and
>IPCSHMEM options in the kernel config files, re-built the
>kernel and rebooted the machine.  Everything seemed to
>have gone ok.
>
>About half an hour later, the machine just hung.  It didn't
>ping.  There was no response from the console -- couldn't
>even break.  The lights on the back were as usual.  Powercycling
>was the only way out.  The same thing happened again after
>an hour or so.  There were nothing in /var/adm/messages
>to indicate what could have gone wrong.
>
>After yet another round, I gave up and put the old kernel
>back and everything is fine.
>
>Has anyone else seen this problem?  Is there something other
>than rebuilding the kernel?  Is there a patch of some sort?
>Any help will be deeply appreciated.
>
>Thanks.
>
>- Asokan
>


I received two replies.  parson@coulomb.pcc.oz.au (Brenda Parsons - x2403)
pointed out that the problem is not specifi to the share memory
stuff.  It is because a kernel routine is crossing a page boundary.
She suggested adding/deleting an option as a work around.

doug@perry.berkeley.edu (Doug Neuhauser) confirmed this and
sent me a writeup he had received from his field engineer
that describes how to check if a given kernel has this problem.

Thanks to Brenda and Doug.  We now have a stable kernel on the
machine.

- Asokan
Newsgroups: comp.sys.sun.admin
From: metzler@pablo.physics.lsa.umich.edu (Chris Metzler)
Newsgroups: comp.sys.sun.admin
Subject: bizarre boot-time message -- "silo overflow"
Date: 15 Oct 1992 21:27:49 GMT
Organization: University of Michigan Department of Physics
Distribution: world
NNTP-Posting-Host: pablo.physics.lsa.umich.edu

At boot-time, my machine (during the process of booting)
returns the message:

		zs1:  silo overflow

Anybody know what the hell this means?  No reference in my
Sys and Net Admin manual . . .

		-- Chris
Newsgroups: comp.sys.sun.admin
From: jameslow@iti.gov.sg (James Low (RC))
Subject: Backup copilot problems .....
Organization: Information Technology Institute, National Computer Board, S'pore
Date: Sat, 10 Oct 1992 03:56:10 GMT

Hi, the last two night backups have failed on me giving me these errors:

First night:
DUMP: Tape write error 3222 feet into tape 1

Second night:
DUMP: Tape write error 2115 feet into tape 1

I have this problem before and I removed some files with strange names (with
lots of blanks and characters like =, #, etc) and the dumps after that were ok.

I am not sure if that is the problem.  Does anyone know if dump cannot accept
any types of file names?

Thanks for any info.
-- 
                             James Low Teck Koon
        Information Technology Institute, National Computer Board, S'pore
               Email: jameslow@iti.gov.sg jameslow@itivax.bitnet
                     Phone: (65) 7720438 Fax: (65) 7795966
Newsgroups: comp.sys.sun.admin
From: gryphon@openage.openage.com (The Golden Gryphon)
Subject: HELP with a SUN 3/110
Organization: Open Age, Inc.
Date: Wed, 14 Oct 1992 21:29:02 GMT


Hi All,

I am having a problem with a SUN 3/110.  We can't seem to get it to boot
off an external hard drive.  The problem is that there is no room for a HDD
inside.  I'm not sure if the EEPROM is setup properly.

If you can possibly help me, or let me know what to do I would really 
appreciate it.

Please e-mail me, since I am not normally on this group.

-- 
The Golden Gryphon 				gryphon@openage.COM
Solve a man's problem and he has 1 less.        No incumbents in 92.
Teach a man to think, and all his problems are less.
Openage - The Premier SCO UNIX integrator in the Washington D.C. area
From: Jeff@digtype.airage.com (Jeff Wasilko)
Newsgroups: comp.sys.sun.admin
Subject: Re: Plenty of free space on drive, but 100%
Date: Sat, 10 Oct 92 21:32:02 EST
Organization: Univ of Fnord; Roslyn's Cafe Div.
Reply-To: jeff@digtype.airage.com
Distribution: world
X-Mailer: uAccess - Macintosh Release: 1.6v1


In article <1992Oct7.194737.11094@eua.ericsson.se> (comp.sys.sun.admin), per@erix.ericsson.se (Per Hedeland) writes:
> If you nevertheless decide to go below 10% minfree on a partition which
> has any amount of activity, you'd better set "space" optimization using
> the (undocumented) -o option to tunefs - it will tell you that you
> should, but not how... If I remember correctly, the 4.3 BSD kernel will
> switch automatically between "space" and "time" whenever you cross the
> 10% line, dunno why SunOS doesn't (this is all on 4.1.1).


I've gotten a number of console messages about switching between space
and time optimization as the partion got overfilled. 

I'm running 4.1.2 on a 4/630....

Jeff

--
Jeff's Oasis at Home.                   Jeff can also be reached at work at:
                                                        jwasilko@airage.com
"A system admin's life is a sorry one.  The only advantage he has over
Emergency Room doctors is that malpractice suits are rare.  On the other
hand, ER doctors never have to deal with patients installing new versions
of their own innards!"  -Michael O'Brien
Newsgroups: comp.sys.sun.admin
From: mwills@su102c.ess.harris.com (Scott Wills)
Subject: Re: Automounter: what's it good for?
Date: Fri, 16 Oct 1992 21:03:46 GMT
Reply-To: mwills@x102a.ess.harris.com (M. Scott Wills)
Organization: Harris Corporation, Government Aerospace Systems Division.

barmar@think.com (Barry Margolin) writes:

>In article <JRE.92Oct15120927@suprenum.liv.ac.uk> jre@liv.ac.uk (John Ellis) writes:

>>Finally, if an automounter is a good idea, is the amd one better than
>>sun's for this scale of things?

>I've heard that it's much more reliable, and it's also more featureful;
>however, the extra features create additional complexity (I couldn't
>understand some of the documentation when I first read it).  If we were
>starting from scratch we'd probably use it now, but automount is serving us
>well enough that it would be more trouble to change now (we have hundreds
>of client machines, and also some non-Unix machines that only understand
>automount-style maps).

Actually, I have a great deal of trouble with the Sun automounter
hanging my system when another system goes down.  I am sure that this
is because I am so dependent on several other systems.  I get
/usr/local/bin from one machine and the openwin fonts (via nfs, since
openwin = X11R4) from another machine.  I understand that amd makes
great attempts to avoid blocking in this situation.  Other workstation
vendors (HP, I think) have implied that they have "fixed" these
problems in their incarnation of automount.

I would sincerely like to move to another automounter which doesn't
block.  (Give me an error message... anything... just don't lock up my
workstation!).  Is there an update to SunOS 4.1.1 automount which
fixes this, or must I leap to amd?

>Barry Margolin
>System Manager, Thinking Machines Corp.

>barmar@think.com          {uunet,harvard}!think!barmar

Scott
--
------------------------------------------------------------------------------
M. Scott Wills,  Mail Stop: 102-4844     INTERNET: mwills@su102c.ess.harris.com
Harris Corporation                       UUCP:     uunet!x102a!mwills
Government Aerospace Systems Division    CCMail:   harris.mwills01
P.O. Box 94000                           FAX:	   407-729-3211
Melbourne, Florida 32902                 Voice:    407-729-3283
------------------------------------------------------------------------------
Newsgroups: comp.sys.sun.admin
From: horn@tegan.jsc.nasa.gov (Mark Horn)
Subject: YP not accessing DNS
Reply-To: horn@mickey.jsc.nasa.gov
Organization: NASA Johnson Space Center
Date: Tue, 13 Oct 1992 14:22:09 GMT

Hello,

I'm a relatively new sun sysadmin.  We are having a problem with YP accessing
the Domain Name Services.  On both our master server and all of our clients 
if we ask to rlogin or telnet to any machine that is not in our yp hosts 
db`s we get an "unknown host" error.

I've scanned the man pages and discovered that there is an option to ypserv
that will have it access the DNS when doing host lookup.  In /etc/rc.local
I have ypserv setup to start as 'ypserv -d'. 

I know that our DNS setup is working.  Check out the following trace of a 
session on our yp master server:

% ps auxww | grep ypserv
horn      3700  0.0  0.6  104  200 p1 S    09:09   0:00 grep ypserv
root        65  0.0  0.8  160  256 ?  S    Oct 10 10:34 ypserv -d
% rlogin yar.cs.wisc.edu
yar.cs.wisc.edu: unknown host
% telnet yar.cs.wisc.edu
yar.cs.wisc.edu: unknown host
% finger @yar.cs.wisc.edu
[yar.cs.wisc.edu]
No one logged on
% /usr/etc/nslookup yar.cs.wisc.edu
Server:  jesnic.jsc.nasa.gov
Address:  128.157.5.23

Non-authoritative answer:
Name:    yar.cs.wisc.edu
Address:  128.105.1.228

%

This suggests to me that ypserv is NOT doing DNS lookup as advertised.  This
is a problem.  The reason that finger works and rlogin/telnet don't is that
we have recompiled finger to specifically include DNS lookup.  So when the yp
lookup fails, it goes out to the name server and figures it out for itself.
However, rlogin and telnet do not query the name server.  They rely on yp
doing that for them, and yp does not appear to be doing so.

Has anyone else experienced and solved this problem?  I would greatly
appreciate any help that can be offered.

Please, I would appreciate responses via email.

Thanks,
- Mark Horn
horn@mickey.jsc.nasa.gov
Newsgroups: comp.sys.sun.admin
From: derekt@pwcs.stpaul.gov (Derek Terveer)
Subject: Re: How to manage backups in a multi-vendor network
Organization: City of St. Paul Public Works
X-Newsreader: Tin 1.1 PL5
Date: Mon, 12 Oct 1992 20:22:18 GMT

Tony Travis (ajt@doc.ic.ac.uk) wrote:
: The solution I use is to run a remote shell on the target machines (in
: my case a couple of Torch QuadX Uniplus SysV boxes) from a SparcStation
: with a tape drive attached.  It looks something like:
: 
: sparc% rsh torch "cd /; find . -ctime -7 -print | cpio -oacB" | \
:        dd of=/dev/nrst0 bs=5120

Interesting.  Why do you use "ctime" instead of "mtime" in the find?
-- 
Derek Terveer   Work:	derek.terveer@stpaul.gov	+1 612 292 6009
		Play:	det@hawkmoon.mn.org	+1 612 683 0413
"Big business and big government distract us with entertainment;
 they manufacture our consent while we destroy the environment."
From: mre1@itri.bton.ac.uk (Mark Evans)
Newsgroups: comp.sys.sun.admin
Subject: Summary: Detecting logout of User
Date: 9 Oct 92 09:38:03 GMT
Reply-To: mre1@itri.bton.ac.uk
Organization: ITRI, University of Brighton, UK

Thank you for all the replies. Some of the most useful were:


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

You didn't give the O/S version, so it's pretty hard to get
that answer.  About the best you can do is find the login shell
entry in the /etc/utmp file and wait for it to disappear.  That
isn't an easy trick in a windowing environment.  On the other
hand you could take the conservative approach and just use

	if [ `who | grep $USER | wc -l` -eq 0 ] ; then
		sort your files
	fi

John F. Haugh II      

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

In your .logout

if ('tty' == console) then
	.......
endif

Joe Minieri

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


> In your /etc/profile put:  
>
> trap "......" 0
>
> Where ....... is a command or script file, stick this at the top of
> your /etc/profile and document it so the next guy knows what you're
> up to.

Jerry Rocteur

This won't for for shells that don't use /etc/profile.  (Of which
there are very many)  Plus this will be totally useless under many
windowing systems that may spawn multiple login shells.  (xterm -ls)

Dave Barr

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



Thank you again for everyones help.

Regards,

Mark

+-------------------------------------------------------------+
|                                                             |
| Mark Evans                     e-mail: mre1@itri.bton.ac.uk |
|                                uucp:   uknet!itri!mre1      |
| ITRI, Univeristy of Brighton,  Tel:    +44 273 642915       |
| Lewes Road, Brighton,          Fax:    +44 273 606653       |
| E. Sussex, BN2 4AT, UK.                                     |
|                                                             |
+-------------------------------------------------------------+
From: matthew@sunpix.East.Sun.COM (Matthew Stier - Sun NC Development Center)
Newsgroups: comp.sys.sun.admin
Subject: Re: Plenty of free space on drive, but 100% full?
Date: 7 Oct 1992 11:05:56 GMT
Organization: Sun Microsystems, Research Triangle Park, NC
NNTP-Posting-Host: superdave.east.sun.com

This behavior is correct.  To permit the kernel to optimize file placement
and to help root to recover machines with full filesystems,  10% of each
filesystem is reserved.  Only root has access to that top 10%.

To keep the users from wondering why he can't write to a filesystems that
is 90% full, 'df' reports the capacity in relation to user accessable disk 
space.  Not true disk space.

 
In article <TIBBS.92Oct7003200@bifur.math.uh.edu> tibbs@bifur.math.uh.edu (Jason L Tibbitts III) writes:
}After upgrading a Sparc 2 to 4.1.3 (from 4.1.1B) and doing the obligatory
}fsck, I get from df:
}
}Filesystem            kbytes    used   avail capacity  Mounted on
}/dev/sd0a               7573    5922     894    87%    /
}/dev/sd0g              85789   77442       0   100%    /usr
}...
}
}Now how on earth did this thing learn to subtract?
}
}--
} Jason L. Tibbitts III - tibbs@math.uh.edu - 713/743-3466 - 685PGH
}System Administrator:  University of Houston Mathematics Department


-- 
Matthew Lee Stier                          |
Sun Microsystems ---  RTP, NC  27709-3447  |     "Wisconsin   Escapee"
Email: matthew.stier@East.Sun.COM          |
Phone: (919) 469-8300 fax: (919) 460-8355  |
From: brossard@siisun.epfl.ch (Alain Brossard EPFL-SIC/SII)
Newsgroups: comp.sys.sun.admin
Subject: Re: C2security
Keywords: C2security
Date: 16 Oct 92 08:36:07 GMT
Reply-To: brossard@sic.epfl.ch
Organization: Ecole Polytechnique Federale de Lausanne

In article <1457@spader.cap.se>, lab@spader.cap.se (Lars Berntzon) writes:
|> damon@etsun.tech.iupui.edu (Damon Beals) writes:
|> 
|> 
|> >	I want to start running C2 security.  So my question is will
|> >running C2 cause any problems.  Does it cause any problems with NIS.
|> 
|> >Also we are running around 300 Bw-NFS machine.  Will the bwnfsd handle
|> >the password correctly.  
|> 
|> >Does anyone have any horror stories with changing to C2 security.

   There are numerous patches for C2 ex: 
100564-03   SunOS 4.1.2, 4.1.3: C2 Jumbo patch
100372-01  tfs and c2 do not work together
100564-01  C2 Jumbo rpc.yppasswdd rpc.pwdauthd


      make sure you install them
before hand, there is no point in installing C2 security if you use
NIS and don't install 100482-03 (ypserv sends maps to anyone who guesses
domainname).


-- 

Alain Brossard, Ecole Polytechnique Federale de Lausanne,
	SIC/SII, EL-Ecublens, CH-1015 Lausanne, Suisse, +41 21 693-2211
brossard@sic.epfl.ch
From: mock@i41s18.ira.uka.de (Markus Mock Betr.Philippsen)
Newsgroups: comp.sys.sun.admin
Subject: mesg problems
Date: 11 Oct 1992 12:54:01 GMT
Organization: University of Karlsruhe, FRG
Distribution: world
NNTP-Posting-Host: i41s18.ira.uka.de
Keywords: talk, mesg, ttys

Hello,

we are running Sparcs under SunOS 4.1.1. When I try to turn off the capability to be
'talked' to by  typing mesg n (in the appropriate xterm window) I get:
mesg: cannot change mode
When I  look at the tty then, it looks like this:
crw-rw-rw-  1 root     wheel     20,   2 Oct 11 13:50 /dev/ttyp2

What's wrong?

-- 
	
        -- Markus

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Markus U. Mock                  | mock@ira.uka.de || ukj6@dkauni2.bitnet ||
University of Karlsruhe,        | mock@telematik.informatik.uni-karlsruhe.de
Dept. of Computer Science       | "Se hace el camino al andar" 
Newsgroups: comp.sys.sun.admin,comp.unix.questions
From: dmorgan@javelin.sim.es.com (Dave Morgan)
Subject: Converting comp_t type to something more integerish.
Organization: Evans & Sutherland Computer Corporation
Date: Fri, 9 Oct 1992 22:15:57 GMT

     We are trying to track the usage of a software package we have
to determine how many licenses we need.  Turning on Sun's accounting
appears to record every invocation of a process, exactly what we need.
I have no problem opening the file /var/adm/pacct and running through
it reading in acct structs.  I just can't tell how long the process ran
(elapsed time) since I don't know how to get this elapsed time from comp_t
to something I can use.
     I'd use sa, but it doesn't tell me how many of the processes were running
at any given time and how long each session lasted.  This is what I need for
license info.

     man 5 acct gives:
	The type comp_t is a 3 bits base 8 exponent, 13 bit fraction
	     ``floating   point''   number.

     Any help appreciated...

-Dave
-- 
-* Dave Morgan                                    System Programmer
dmorgan@javelin.sim.es.com            Evans & Sutherland Computer Corporation
...uunet!javelin.sim.es.com!dmorgan         "Carpedium - Sieze the day"
Newsgroups: comp.sys.sun.admin
From: alexis@panix.com (Alexis Rosen)
Subject: Using shadow passwd support without the rest of the security package
Date: Thu, 8 Oct 1992 10:52:02 GMT
Organization: PANIX Public Access Unix, NYC

If you install the "security" option, you get a daemon called rpc.pwdauthd.
It is supposed to dig passwords out of /etc/security/passwd.adjunct and
service all the various calls that would normally consult /etc/passwd instead.

The question is, can this feature be used without the rest of the C2 security
system? I want the speed hit of ACLs like I want a hole in the head.

I tried setting up the passwd.adjunct file as documented in the manual (by
putting in entries of the form: "userID:encrypted-password::::::" in the
passwd.adjunct file) I also set up /etc/passwd with entries like
"userID:##userID:...whatever...". I then launched the password daemon by
hand from root's shell.

Telnetting into the host via loopback, I was unable to log into any of the
accounts with shadowed passwords. I got a very strange error message after
typing in the password- "psuedo-user AUpwdauthd not found in passwd or
passwd.adjunct". Loggin into an account with no password works normally.

Any advice on implementing the shadow passwords without the rest of the
security package would be most appreciated. However, any suggestions about
other shadow-password systems would also be useful...

Thanks,
--
Alexis Rosen   Owner/Sysadmin,
PANIX Public Access Unix & Internet, NYC.
alexis@panix.com
{uupsi,cmcl2}!panix!alexis
Newsgroups: comp.sys.sun.admin,com.unix.admin
From: andr@elvis.sovusa.com (Andrei Arkhipov)
Subject: NIS question
Reply-To: andr@elvis.sovusa.com
Organization: ELVIS Corp.
Date: Tue, 13 Oct 92 20:51:25 GMT

Hello.

All the time when I boot machines that actually are NIS servers (master one or slaves)
I receive message "/etc/rc.local: Master not found" immediately after ypserv starting.

Q. Is it harmful? How to avoid it?

Thank you,
         Andrei.

Xref: sparky comp.sys.sun.admin:7226 comp.unix.admin:5616
From: ssanbeg@visual.spk.wa.us (Scott Sanbeg)
Newsgroups: comp.sys.sun.admin,comp.unix.admin
Subject: Re: Phantom migrating load problem
Date: 14 Oct 92 05:49:48 GMT
Organization: The Visual Market - Spokane, WA

In article <joerg.718991100@iiasa> joerg@iiasa.ac.at (Joerg  MESSER) writes:
>
>  Our site is currently experiencing a very annoying problem. A
>'phantom' which generally rears its ugly head when one of our Suns is
>rebooted. It causes the load on one or more (it varies) of the other
>Sun machines to start steadily climbing until it is impossible to log
>into the machine and it becomes *completely* unusable. All of the

Possibly, the PID numbers are reaching 49000 - I remember seeing older
versions of the OS that did not cycle around through the PID's, leaving
hung processes while the server went through an identity crisis. During
reboot of the server, another news/email server would create phantom
rnews or uucp processes until that server ran out of available processes,
thus, the reason you can't login to the second server. The details are
long out of memory so this is just a hunch - try keeping an eye on the
PID's of the troublesome machine; if your version of the OS does not
cycle them, you'll have to perform regular reboots (~once a week) as
a maintenance measure.
Scott


 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scott Sanbeg     UNIX Systems Administrator       (509)535-2561
ssanbeg@visual.spk.wa.us (or) ...!uunet!tau-ceti!visual!ssanbeg
Newsgroups: comp.sys.sun.admin