HDTenEightyP/NetNews huggingface dataset:
From: jpe@ee.egr.duke.edu (John P. Eisenmenger)
Newsgroups: comp.unix.aix
Subject: Re: what's wrong with sendmail?
Date: 6 Jan 93 17:46:01 GMT

moore@cs.utk.edu (Keith Moore) writes:

>% telnet rios smtp
>Trying...
>Connected to rios.cs.utk.edu.
>Escape character is '^]'.
>220 rios.cs.utk.edu Sendmail AIX 3.2/UCB 5.64/2.7c-UTK-AIX-brain-damage ready at Wed, 6 Jan 1993 02:57:20 -0500
>helo localhost
>250 rios.cs.utk.edu Hello localhost (RIOS.CS.UTK.EDU), pleased to meet you
>mail from:<moore@cs.utk.edu>
>554 rewrite: cannot prescan canonical hostname: cs.utk.edu>
>554 <moore@cs.utk.edu>... Unbalanced '>'
>451 rewrite: cannot prescan canonical hostname: cs.utk.edu>: No such file or directory

The problem is in IBM's sendmail.  Most sendmails automatically call ruleset
3 before calling ruleset 0 -- this is not true of the IBM version.  Try running
sendamil -bt on the IBM and also a Sun -- type in "0 user@host".  On the sun
you'll get the proper parsing, while the IBM will invoke the local mailer with
a userid of "user@host".

>Is there a fix for this?

The fix - place the following rules at the top of ruleset 0:

	R$*<$*>$*		$1$2$3			defocus
	R$+			$:$>3$1			make canonical

The first strips the "<>" from the address and the second passes the result
to ruleset 3, which is what you want.

-John
-- 
*************************************************************************
* John P. Eisenmenger			 Phone: (919) 660-5248		*
* Duke University			 FAX:   (919) 660-5293		*
* Department of Electrical Engineering	 Email: jpe@egr.duke.edu (pref)	*
* Box 90291				        jpe@cs.duke.edu		*
* Durham, NC 27708-0291							*
*									*
*  Reports of problems w/EE systems should go to problem@egr.duke.edu	*
*************************************************************************
Newsgroups: comp.unix.aix
From: jmsellen@watdragon.uwaterloo.ca ("John M. Sellens")
Subject: malloc(0) fails on AIX and nowhere else I could find ...
Organization: University of Waterloo
Date: Thu, 7 Jan 1993 06:25:25 GMT

Just in case anyone is interested:

Trying to malloc() 0 bytes on AIX fails, but works on Ultrix, IRIX,
Dynix, SunOS, BSD, MIPS RiscOS.

OK, it's documented in the man page on AIX, but it's a pointless and
annoying inconsistency.  I wish AIX was UNIX.


#include <stdio.h>
#include <malloc.h>


main()
{
    if ( malloc( (unsigned)0 ) == NULL )
        printf("malloc(0) failed\n");   /* only on AIX */
    else
        printf("malloc(0) worked\n");   /* works on UNIX */
    exit(0);
}

John Sellens
University of Waterloo
jmsellens@watdragon.uwaterloo.ca
From: swan@austin.ibm.com (Randal C. Swanberg)
Newsgroups: comp.unix.aix
Subject: Re: Adding SCSI OSDISK
Date: 6 Jan 93 21:44:37 GMT
Organization: IBM
Originator: swan@swan2.austin.ibm.com


In article <1993Jan6.105119.1266@yvax.byu.edu>, howardd@yvax.byu.edu writes:
> 
   [most of problem description deleted]
>  
> Detail Data
> SENSE DATA
> 0603 0000 1B00 0000 0100 0000 0000 0000 0102 0000 7000 0500 0000 000E 0000 0000
> 2000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
> 
> Anybody have an idea about what I can do to get the disk to work on the RS6000?
> 

Well, I can't answer that question, but just in case it is helpful, I can
translate the sense data.  The above error was due to the disk failing a
SCSI Start-Unit (spin-up) command with Illegal Request status, which means, it 
didn't like the command and/or command block.  However, the command block 
(starting with 5th byte of sense data) looks fine to me.
-- 
_____________________________________________________________________________

Randy Swanberg                                            swan@austin.ibm.com
AIX Kernel Development                                    512-838-3363
From: sunday@cup.portal.com (Sunday and Associates)
Newsgroups: comp.unix.aix
Subject: AIX *architect* for 3 mo contract in SF
Date: Tue, 12 Jan 93 17:01:31 PST
Organization: The Portal System (TM)
Distribution: ca

	Yes we know it doesn't belong here but AIX people may not be
focused on jobs.offered.
	So an AIX support person needed in San Francisco. Should have
some exper. working in MIS environments. Thanks.
	Mark Andrew		Sunday USA
	(800) 456-1344		sunday@cup.portal.com
Newsgroups: comp.unix.aix
From: jfh@greenber.austin.ibm.com (John F Haugh II)
Subject: Re: xlock does not validate passwords!!!
Date: Sat, 9 Jan 1993 19:35:03 GMT
Organization: AIX Software Support, Austin, Republica de Tejas

In article <jpe.723496652@ee.egr.duke.edu> jpe@ee.egr.duke.edu (John P. Eisenmenger) writes:
>It sounds like you're having problems with the shadow password file.  Note
>that if a password is shadowed, the getpwent() routines will return the
>encrypted password as "*".  You will have to make the appropriate calls
>to get the "real" encrypted password.

The getpwent() routines automatically get the encrypted password from
/etc/security/passwd when the user is root.  You don't have to be using
NIS/YP either.
-- 
John F. Haugh II      | Quality is ... knowing who |  MaBellNet: (512) 823-8817
SneakerNet: 042/2F068 | your customer is and what  |      VNET: HAUGH at AUSVM8
[ DoF #17 ] [ TSAKC ] | your customer wants.       |  Disc: I speak 4 me, !IBM.  
Newsgroups: comp.unix.aix
From: dennisk@aplcenmp.apl.jhu.edu (Dennis M. Kavanagh)
Subject: threads
Organization: Johns Hopkins Continuing Professional Programs
Distribution: usa
Date: Thu, 7 Jan 1993 23:56:11 GMT

We have just received a new RS6000 and are wondering/trying to figure
whether the RS6000 supports threads. Does anyone have an ftp site where
some actual code that uses threads explicitly resides?
We have lloked into the on-line dos bvut they are little help.
Actually the hard-copy would be better, but...now we know
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.unix.aix
Subject: Re: Adding SCSI OSDISK
Date: 8 Jan 93 09:05:40 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <C0I05H.1A5I@austin.ibm.com> swan@austin.ibm.com (Randal C. Swanberg) writes:


| In article <19930107.062511.795@almaden.ibm.com>, russotto@vnet.ibm.com (Matthew T. Russotto) writes:
| > 
| > Many disks have a jumper which set whether they spin-up on power-on
| > or only when they receive a SCSI start.  Would an request to spin up
| > when the disk was already spun up give that result code?
| > 
| > Some disks always spin up on power up, and probably wouldn't like SCSI
| > start at all... will such disks work with AIX?
| 
| All of the SCSI disks that we have experience with (i.e. IBM Japan 160MB, IBM
| Havant 857MB, IBM Rochester 320MB, 400MB, 1 GB, MAXTOR 355MB, 670MB, Seagate 1GB,
| ...and I'm sure there are others) basically no-op a SCSI Start-Unit if the disk
| is already spun-up.
| 
| If a disk will not allow a Start-Unit when already spun-up, then the answer
| is NO, it won't work with AIX.  The SCSI disk driver issues a Start-Unit command
| on the first open() to the disk.  Basically I guess the assumption that the AIX
| SCSI Driver makes is that a)the disk may be spun down and b)if it isn't the 
| Start-Unit command will be a no-op, not an error.

But why fail at that point?  The obvious thing to do is to follow
a startunit (failed or successful!) with a testunitready, and only
cause a failure if the testunitready says the drive isn't ready...
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
From: cq377@cleveland.Freenet.Edu (David C. Williss)
Newsgroups: comp.unix.aix
Subject: Re: malloc(0) fails on AIX and nowhere else I could find ...
Date: 10 Jan 1993 06:30:27 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: cq377@cleveland.Freenet.Edu (David C. Williss)
NNTP-Posting-Host: thor.ins.cwru.edu


A few words about malloc(0)...

I have been told that according to ANSI (I havn't read it myslef), that
no matter what malloc(0) returns, you should be able to free() and
realloc() it.  In otherwords, even if malloc(0) returns NULL, it's OK.

It does cause unexpected behaviour if you're not expecting it though.
I've spent many hours tracking down "Out of memory" errors that were
caused by myself or somebody else trying to malloc 0 bytes then
returning an out of memory error just because malloc returned NULL.

-- 
		-Dave Williss
---------------------------------------------------------------------------
Standards are great!  Everybody should have one of their own!
The opinions stated above are Mine!  All Mine!  You can't have them.
Newsgroups: comp.unix.aix
From: dkulkarn@tagore.helios.nd.edu (Dinesh Kulkarni)
Subject: - Source code for xplay -
Summary: Need source code for xplay for RS/6k
Keywords: X, xplay, CD
Organization: OUC, University of Notre Dame
Date: Mon, 4 Jan 1993 19:46:43 GMT


Is the source code for xplay for RS/6000s (AIX 3.x) available in the  
public domain ?  I did find the source code for Suns but it is fairly
Sun-specific in the way it handles CDs.  I am more interested in the 
CD part of the code for RS/6k rather than the X code.

Thanks a lot.

Dinesh
From: adele@ac.dal.ca
Newsgroups: comp.unix.aix
Subject: AIX 3.2.3 Extended
Date: 5 Jan 93 14:29:57 -0400
Organization: Dalhousie University, Halifax, Nova Scotia, Canada

AIX 3.2.3 Extended

  Is this available via ftp?  We just received 3.2.3 Base with a new system
and figure we might as well apply all the updates at the same time.

  Thank you.

Adele Evans, Systems Programmer
Dalhousie University, Halifax, Nova Scotia
From: Christophe.Wolfhugel@grasp.insa-lyon.fr (Christophe Wolfhugel)
Newsgroups: comp.unix.aix
Subject: Upgrades 3.2.0 to 3.2.x
Date: 7 Jan 1993 17:02:07 +0100
Organization: INSA Informatique (Grasp), Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr

An IBM technician indicated me that upgraded from 3.2.0 to
3.2.{1,2,3} do not fix problems but only add better support
to several kind of hardwares.

I have also been indicated that some sort of "jumbo tape"
with the latest 3.2 and all fixes since 3.2.0 is supposed to
go out soon.

Would some informed people having more details about this (or if it is
not true) inform the net ?

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@grasp.insa-lyon.fr
Newsgroups: comp.unix.aix
From: ohnielse@fysik.uni-c.dk (Ole Holm Nielsen)
Subject: Re: Password Encryption
Reply-To: ohnielse@fysik.uni-c.dk
Organization: UNI-C, Danish Computer Center for Research and Education
Date: Thu, 7 Jan 1993 13:33:57 GMT

In article 1ievtuINNc95@rave.larc.nasa.gov, jeffc@magician.larc.nasa.gov (Jeff Cleveland) writes:
>Is there any way to encrypt passwords? I need for my daemon to be able to create
>passwords on the fly.

Well, dunno about AIX, but other UNIXes have a crypt(3) library call
that is used in /bin/passwd, for example.  On a Sun the call is:
     char *crypt(key, salt)
     char *key, *salt;

/Ole


Subject: From line produced by sendmail
Newsgroups: comp.unix.aix
From: yoav@tamar.cc.biu.ac.il (Yoav Wasserman)
Date: Sun, 10 Jan 1993 16:37:48 WET


    Does someone know how can I force SendMail to put the hostname in
the From: line, even if it's a local mail ? (e.g. The mail came from the
same host)


                          Yoav Wasserman.
Newsgroups: comp.unix.aix
From: butzer@cranel.com (Dan Butzer)
Subject: Summary: Reel Exchange
Organization: Cranel, Incorporated, Worthington Ohio
Date: Wed, 6 Jan 1993 15:49:08 GMT

Thanks for the responses.  In case anyone else nneded this info, here is it.

REELexchange is developed by
Sceptre Corporation
3626 W Liberty Rd
Ann Arbor MI 48103
Ph 313-665-8778 FAX 313-665-5707

The distributor is
Software Clearing House (SCH)
Three Centennial Plaza
895 Central Avenue
Cincinnati Ohio 45202
Ph 513-579-0455 FAX 513-579-1064



Regards

Dan


-- 
____________________________________________________________________________
Daniel J. Butzer (butzer@cranel.com),  Cranel Inc. Development & Engineering
Voice: +1 614 433 0045		       Snail: 510F E Wilson Bridge Rd
Fax:   +1 614 433 0073	                      Worthington, Ohio 43085
Newsgroups: comp.unix.aix
From: abe@mace.cc.purdue.edu (Vic Abell)
Subject: Re: AIX system process limits
Organization: Purdue University
Date: Thu, 7 Jan 1993 19:58:13 GMT

In article <C0FFoE.MD0@unixhub.SLAC.Stanford.EDU>, joann@ariadne.SLAC.Stanford.EDU (Jo Ann Malina) writes:
> 
> Thanks to several people for their replies along these lines. I'm
> afraid I haven't made myself clear.  Finding out and changing the
> number of processes allowed per user is trivial on AIX. The lsattr
> command will tell you; smit will both display it and let you change it.
> 
> Finding out how many total processes may run on the system at once
> is not trivial. Does anyone understand where this value is stored,
> or if calculated, how?

The value is probably stored in a var structure in kernel space (see
<sys/var.h>).  One should be able to read it via knlist, probably from
the symbol "v".

The maximum process count element of v is v_proc.  The comments in
<sys/var.h> say it's one of

	/* the following variables are statically defined by the kernel
	   at kernel compile time
	 */

So I doubt that you can change it with smit or any other magic command.
From: lusgr@chili.CC.Lehigh.EDU (Stephen G. Roseman)
Newsgroups: comp.unix.aix
Subject: Re: Changing Double-Click Speed
Date: 8 Jan 93 13:19:34 GMT
Organization: Lehigh University
X-Newsreader: Tin 1.1 PL5

Sean Myers (smmyers@foghorn.srv.pacbell.com) wrote:
: 
: Does anyone know of a way to change the mouse double-clicking speed on a RS6K ?
: 
: I've been through info explorer and haven't found anything.  A program perhaps ?
: 
: Thanks-

If you mean for clicking on icons to reopen windows, place the line:

mwm*doubleClickTime : 1000

in ~/.Xdefaults.  That changes double click time to 1 second (good for 
old slow guys like me.)

Steve

----------------------------------------------------------------------------
Steve Roseman
Lehigh University Computing Center
lusgr@chili.CC.Lehigh.Edu
Newsgroups: comp.unix.aix
Subject: Re: Continued support for Sabine graphics adapter?
From: drb@chmeds.ac.nz (Ross Boswell)
Date: 8 Jan 93 13:01:09 +1200
Organization: Christchurch School of Medicine

In article <1993Jan7.112431.10259@cs.kuleuven.ac.be> ericl@cs.kuleuven.ac.be (Eric Lafortune) writes:
>At our department we are wondering if the Sabine graphics adapter is supported
>by more recent versions of AIX than 3.1.5, and . . . 

We are running "3.2.2" with a Sabine adapter.

-- 
| Ross Boswell                    | Email : drb@chmeds.ac.nz          |
| Department of Pathology         | FAX   : +64 3 364 0525            |
| Christchurch School of Medicine | Phone : +64 3 364 0590            |
| NEW ZEALAND                     | Post  : PO Box 4345, Christchurch |
From: bguest@ateam.ems.cdc.com (Brandon Guest)
Newsgroups: comp.unix.aix
Subject: Creating unique IPC keys
Date: 6 Jan 93 22:18:19 GMT
Organization: Empros Systems International, a division of Ceridian

A question has come up here at my site on the 'best' way to assign
keys for use in IPCs.  Being somewhat ignorant on the subject, I
suggested (along with others) that we use the ftok routine and some
filenaming convention.  A concern was raised that this does not 
always generate unique keys.  After consulting InfoDestroyer, the 
only problem that was referenced was if you used different filenames
which were linked to the same underlying file.  It also reinforced 
the need to have some type of convention for use in assigning or
generating keys for our applications.

My questions are as follows:

1) In AIX are there any other instances other than the one cited
   (commonly linked files) where I could generate identical keys
   from unique file names?

2) What is the possibility/probability that I might generate a key
   in use by some other vendors application?  What can I do to 
   guard against this?

3) Info gave an example of one other method/convention for generating
   keys.  Would others be willing to share their thoughts on this
   topic?

Email replies prefered.  I will summarize and post if there is enough
interest.

Thanks in advance!

Brandon
-- 
H. Brandon Guest                | bguest@ems.cdc.com
Empros Systems International    | (A division of Something)
2300 Berkshire Lane North       | Voice (612) 553-4529
Plymouth, MN 55441-3694         | Fax   (612) 553-4018
From: jenkinsonjp@rcwusr.bp.com (John P. Jenkinson)
Newsgroups: comp.unix.aix
Subject: Re: NFS write error intrepretation
Date: 8 Jan 93 15:57:33 -0600
Organization: BP Exploration (Alaska)

In article <1993Jan5.153622.25957@jupiter.sun.csd.unb.ca>, dedourek@jupiter.sun.csd.unb.ca (John DeDourek) writes:
> In article <1993Jan4.131704.86@rcwusr> jenkinsonjp@rcwusr.bp.com (John P. Jenkinson) writes:
>>we get several NFS write errors on our consoles every day in the format
>>nfs write error ___ on host ___ ___ ___ ___ ___ ___ ___
[stuff deleted]
> 
> The following is the technique I used with errors on a RS/6000 client
> to an RS/6000 server.  Can't tell whether this applies to SUN server.
> 
this is the type of information i was looking for and it is very valuable
if the server is an IBM. looks as if Sun do it differently. i should have
given the numbers as they would have indicated this method wouldn't work for
Sun. the first "number" was fh which indicated it is a file handle (obviously)
but in Sun "format". if the client was a Sun you could run showfh <server>
which would talk to a NFS filehandle daemon on the server and return the 
file. so, the question now is does anyone know of a port of showfh on
AIX OR know how to intrepret file handles for Sun??
From: nwinton@axion.bt.co.uk (Neil Winton)
Newsgroups: comp.unix.aix
Subject: Re: malloc(0) fails on AIX and nowhere else I could find ...
Date: 7 Jan 93 10:50:26 GMT
Organization: BT Laboratories

In article <93Jan7.012526est.169557-2@watdragon.uwaterloo.ca>, jmsellen@watdragon.uwaterloo.ca ("John M. Sellens") writes:
|> Just in case anyone is interested:
|> 
|> Trying to malloc() 0 bytes on AIX fails, but works on Ultrix, IRIX,
|> Dynix, SunOS, BSD, MIPS RiscOS.

Pardon?  What do you mean `it works'?  Sure it returns a non-null pointer but
what are you going to do with that?  You asked for no space to be allocated so
how are you going to use that pointer-to-nothing???  For your information,
AIX is not the only system which will give you a null pointer -- so will
Solaris 2 (SVR4) if you link with -lmalloc.

|> OK, it's documented in the man page on AIX, but it's a pointless and
|> annoying inconsistency.  I wish AIX was UNIX.

Actually, documenting it is EXACTLY what AIX should do according to the ANSI
(ISO) C standard.  ISO/IEC 9899:1990 (E) Section 7.10.3 says:

	If the size of the space requested is zero, the behavior is
	implementation-defined; the value returned shall be either a null
	pointer or a unique pointer.

So don't rely on malloc(0) doing anything portable!

There are times when I'm glad that AIX is not UNIX-as-we-know-and-love-it!  I'm
concerned with writing portable code and it's sometimes really useful to have a
platform which interprets standards in a different, but legal, manner.

|> John Sellens
|> University of Waterloo
|> jmsellens@watdragon.uwaterloo.ca

*   Neil Winton			BT Labs, Rm 306 SSTF, Martlesham Heath     *
*   N.Winton@axion.bt.co.uk	IPSWICH IP5 7RE, UK   (Tel +44 473 646079) *
*    The works of the Lord are great, sought out of all them that have     *
*    pleasure therein.					 Psalm 111 v 2     *
*        (Found at the entrance to the Cavendish Labs, Cambridge.)         *
Newsgroups: comp.unix.aix
From: ddrg@csi.on.ca (Duncan Glendinning)
Subject: Re: tcp/ip filtering via software - possible?
Keywords: tcp/ip gate choke login inetd rlogin rcp
Organization: Carp Systems International
Date: Tue, 5 Jan 1993 17:05:02 GMT

rlyle@nl.oracle.com (Rob Lyle  Wizard of Ozje) writes:

>AIXers,

>I need to have my RS6000/520h filter all tcp/ip packets (be that ftp,
>login, telnet, whatever ...) to provide a 100% secure system inside a busy
>network.  I could always build new versions of inetd, rlogin et al. but for
>obvious reasons (don't want to be held responsible for bug reports, software
>maintenance et al. ;-) I'd rather do it in an official way.  There are a couple of
>host and user combinations which require access, and absolutely NOONE else.

>In HP-UX (secure tcp/ip option) you can specify specific internet addresses/
>or subnets which may or may not make use of services via the inetd.sec file
>Is such an option available in AIX 3.2.0???

>It'll save me a lot of heartache (not to mention money if I have to buy a router/
>gateway just to make this machine secure).

>All suggestions considered ... thanks.

>--Rob.

We use in.gated, which is inserted in /etc/inetd.conf, and is used to
identify which host / networks are permitted access.  Its one of two
(tcp_wrapper) solutions which are most often used.  Its widely available
via anonymous ftp, and is simple to build and install (less than an hours
work).

Hope this helps...  duncan
-- 
Duncan Glendinning                            CAnet: ddrg@csi.on.ca
Carp Systems International                    Voice: (613) 592-5780
600 Terry Fox Drive, Suite 200                  Fax: (613) 592-0584
Kanata, Ontario, Canada     K2L 4B6
Newsgroups: comp.unix.aix
From: umarsa00@ctrvx1.vanderbilt.edu (PROF. A.S. UMAR, (615)322-2459)
Subject: Anyone ported xmailtool to AIX?
News-Software: VAX/VMS VNEWS 1.41    
Organization: Vanderbilt University
Date: Sat, 9 Jan 1993 16:55:00 GMT

Hi, I am looking for xmailtool ported to aix. I am at 3.2.3 and I had one
very early version working but the new version I obtained from mit I cannot
get to work. Any info appreciated.

umar@compsci.cas.vanderbilt.edu
Newsgroups: comp.unix.aix
From: ajf@rchland.vnet.ibm.com ( Albert J. Fahey)
Subject: Re: MIP ratings for RS/6000 processors?
Date: Tue, 12 Jan 1993 20:27:35 GMT
Reply-To: ajf@euler.fishkill.ibm.com ( Albert J. Fahey)
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM East Fishkill.

Sorry about this but I had to ...

I thought MIPS stood for: Meaningless Information Provided by Salespeople.

I prefer MIPS/caster myself. ....

Albert
Newsgroups: comp.unix.aix
From: glenn@rigel.econ.uga.edu (Glenn F. Leavell)
Subject: default terminal type setting per pty
Organization: University of Georgia, Athens
Date: Wed, 6 Jan 1993 22:04:46 GMT

How does one define the default terminal type of a pty?  In SMIT, I can
define the default terminal type of a TTY under "Devices/TTY/Change...",
but I can't find a place to do the same thing for a pty.  On a Sun, I would
do this by editing /etc/ttytab.

Thanks very much for any information.

--  
Glenn Leavell  University of Georgia  glenn@creator.ucns.uga.edu  706-542-5110
     University Computing and Networking Services, Athens, GA 30602-1911