HDTenEightyP/NetNews huggingface dataset:
From: pv@pv1.smts.cea.fr (Pierre Verpeaux)
Newsgroups: comp.unix.aix
Subject: How to set hard limits
Date: 28 Jul 92 21:29:10 GMT
Organization: Commissariat a l'Energie Atomique - France

How do you set hard limits of users ?

On a multiuser batch system, we are interessed to limit the cputime per
interactive process and to use batch for large cpu computation but unfortunatly
the limits defined in /etc/security/limits are soft limits and our users have
discovered how to raise there limits.

By using xdm it is possible to set limits in Xsession but it is still possible
to su yourself and have the system's hard limits.

So far i have disabled that possibility by putting an invalid value in
/etc/security/limits so that the setpcred call in su (or login) fails
and by putting a wrapper in inetd.conf to enforce cpu time limit on rlogin
or telnet session.

Are you aware of a better solution ?
-- 
Pierre Verpeaux 	DMT/SEMT/LAMS		(1)69.08.65.42
From: amf@amfent.Gwinnett.COM (Andy Feibus)
Newsgroups: comp.unix.aix
Subject: Re: IBM screws a few more customers
Date: 19 Jul 92 18:42:52 GMT

drake@drake.almaden.ibm.com (Sam Drake) writes:
> Rather than abandoning these users, IBM offered customers who purchased
> the original "Color Graphics Display Adapter" or the "High-Performance
> 3D Color Graphics Processor" (sabine) a 100% credit towards the purchase
> price of a replacement Gt3, Gt4 or Gt4x adapter.  That's right ... a 
> 100% credit.  Ask your marketing rep to look up announcement 391-102, 
> dated 7/24/91.  
Oh, goodie.  Full credit for replacing it with a graphics card that didn't
exist.

-- Andy.
From: chollenb@postmaster@hq.af.mil
Newsgroups: comp.unix.aix
Subject: Ethernet probs on upgrade (3.2.2)
Keywords: ethernet, 3.2
Date: 26 Jul 92 13:12:58 GMT
Reply-To: chollenb@patty.hq.af.mil
Organization: 7th Communications Group

I just upgraded 3 550's to 3.2.2 and wouldn't you know it, stuff
that was working isn't anymore.  1 of the 3 came through relatively
unscathed - the other 2 however, wont talk to ethernet.  I used
the same upgrade utilities, same lpp's, etc.  One of them shows
<from errpt>
DB3E3DFD 0724191092 P H  ent0           CSMA/CD LAN COMMUNICATIONS LOST
ABB81CD5 0724191092 T H  ent0           COMMUNICATION PROTOCOL ERROR
DB3E3DFD 0724191092 P H  ent0           CSMA/CD LAN COMMUNICATIONS LOST
ABB81CD5 0724191092 T H  ent0           COMMUNICATION PROTOCOL ERROR
 and the other has
blah blah                                SOFTWARE PROGRAM ERROR 

A ping of the box itself is ok .. a ping out to the network never
returns.....

Anyone have a clue - I even restored the old customized attributes
odm database - I just know its something stupid.



Craig Hollenbaugh        chollenb@marge.hq.af.mil
AIX SysAdmin
Newsgroups: comp.unix.aix
From: karches@iat.holonet.net (Tom Karches)
Subject: Any known problems automounting mail spool files?
Organization: HoloNet Internet BBS: 510-704-1058
Date: Thu, 23 Jul 1992 05:15:57 GMT


I have a client who is using the automounter on a number of client machines
to mount the mail spool directory. When the root user logs in across the
network and the mail is read, it appears that the system attempts to 
re-automount the mail directory where it is already mounted. This creates 
access problems on the client machines.

Does this ring any bells with anybody? All replies appreciated.

Please reply by email if possible

Regards,
Tom Karches
karches@holonet.net

-- 
Tom Karches
Integral Systems  -  Unix and Macintosh Consulting and Training
karches@holonet.net
From: kevin@shady.UUCP (Kevin Smith)
Newsgroups: comp.unix.aix
Subject: Re: Changing name associated with a process
Date: 25 Jul 92 06:07:44 GMT
Reply-To: kevin@shady.UUCP (Kevin Smith)
Organization: ShadeTree Software, Inc.

In article <kelvin.711888803@thed.uk22.bull.com> kelvin@thed.uk22.bull.com (Kelvin J. Hill) writes:
:>My comment re security violation was more to do with the ability to modify
:>address pointers which are presumably outside the users program. If we can 
:>modify the argv[0] value on a machine wide basis, what else can we modify?
:>
:>Agreed on the concept of hiding 'sensitive' command line args, but I see the
:>probability that the same method could be used to disguise a trojan program.
:>
:>Comments?
:>

argv[] is not outside the user space.  It is an array of pointers like
any other.  A 'ps' (without -f) should show the real process name as
stored in the proc table (which the humble user cannot modify).

See my other posting about 'ps -f' peeking into your user space to find
your argv[].
-- 
	    | Email - !shady!kevin uunet!shady!kevin
Kevin Smith | Voice - (908) 874-7980
	    | Mail  - ShadeTree Software, Inc., 192 Capricorn Dr. #10,
	    |         Somerville, NJ  08876
Newsgroups: comp.unix.aix
From: lpc@dickens.com (Luis P Caamano)
Subject: Re: Is there an internet access to IBMLink data?
Date: Fri, 24 Jul 1992 06:01:44 GMT
Organization: Dickens Data Systems, Inc.
Keywords: IBMLink interface

In article <1992Jul23.044255.22590@msc.cornell.edu> putnam@msc.cornell.edu writes:
>
>Is there another interface for IBMLink available?
>I was kicked off the system twice this evening due the interface 
>locking up with IBMLink running over a modem.
>And the entire interface is not geared to standard terminal
>protocols (like using <enter> for the EOL character?).

Assuming you want AIX/RS6000 info, you might want to try
the AIX Technical Library that comes in CD/ROM.  It includes
3.1 and 3.2 infoexplorer plus hone Q&A databases plus CE's
APAR databases.  The great thing about it, is that you query
using infoexplorer instead of the arcaic query methods used
in hone's mainframes. (and you can use X windows).

You'll have to talk with some IBM rep since you have to subscribe
to the library.  They send you a CD every three months or so.

The minus is that you'll have to find some extra 400MB for it.

-- 
---------------------------------------------------------------------------
Luis P. Caamano                    |         lpc@dickens.com
Dickens Data Systems, Inc.         |         uunet!ddssuprs!lpc
Norcross, GA                       |         (404) 242-5991
---------------------------------------------------------------------------
If I think I know it all, I'll stop learning. -myself
The more I learn, the more I know I know nothing. -somebody else
Newsgroups: comp.unix.aix
From: fred@dickens.com (Fred Stearns)
Subject: Re: User doesn't show up with who command
Date: Wed, 22 Jul 1992 12:32:25 GMT
Organization: Dickens Data Systems, Inc.

In article <BrpqFD.oIu@atg.amex-trs.com> croyer@atg.amex-trs.com writes:
>
>Configuration:  RS/6000 530  AIX 3.2 no patches installed
>
>Does anyone know why a user would NOT show up with a "who" command
>even though he is logged in and shows up with "ps"?
>
>This seems to happen ONLY with this user.  I have looked at all his startup
>files and see nothing terribly out of the ordinary.
>
>******************************************************
>		Chuck Royer
>******************************************************

Look for utmpInhibit in ~tcasey/.Xdefaults

Newsgroups: comp.unix.aix
From: prener@watson.ibm.com (Dan Prener)
Subject: Re: AIXv3 shared-library binding anomolies
Date: Sun, 26 Jul 1992 01:08:13 GMT
Distribution: comp
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
	<PRENER.92Jul24025541@prener.watson.ibm.com>
	<1992Jul25.063451.6994@pencom.com>
Organization: IBM T.J. Watson Research Center, Hawthorne, New York

In article <1992Jul25.063451.6994@pencom.com> mike@pencom.com (Mike Heath) writes:

>What's to prevent the program loader from roping off a segment of memory
>for each process at the same address (it's already pretty strict about
>addresses), shoving in a TOC that contains an entry for each local symbol
>referenced in the shared object, and using the TOC to determine where to
>branch?  Granted, another level of indirection takes a performance hit,
>but it can be done.  You could even have ld put in the glink code when
>the library is built.  Not very pretty, though.

>How do other platforms do it?

>Playing devil's advocate today...

A fine devil's advocate, too.  Nothing is to prevent that, though
it is not done today.  If the calls among shared library routines were
treated like calls to imported routines, i.e., they went through the
glink (glue linkage) code, then anyone could substitute a private
version of a shared library routine.  The cost would be exactly what
you indicated, namely that every process using the shared library
would suffer the performance hit of going through glue code for calls
between library routines, even those processes that didn't substitute
any private versions of shared routines.
--
                                   Dan Prener (prener@watson.ibm.com)
From: a587700@hp9000.csc.cuhk.hk (Frank Ng)
Newsgroups: comp.unix.aix
Subject: System Resources Control
Date: 28 Jul 92 10:09:28 GMT
Organization: The Chinese University of Hong Kong


Dear Netters,

	I am working for an academic computing system project which involves
the application SAS 6.07, SPSS-X 4.0 and Mathematica version 2.0. These 
applications will run on a system V environment.

	As you may know, the above application will eat a lot of CPU
time and memory space, generate a lot of disk activities and processes, etc..

	As I think the system resources control should be implemented in order
to fairly distribute the resources to users, may I ask for your
suggestions/comments to tackle the following potential problems. 
	
   1). Maximum CPU time allowed for a single user/process interactively 

   2). Maximum memory usage allowed for a single user/process interactively 

   3). Maximum file size created by user under a file system at any time

  If you think other potential problems may affect our system, please 
kindly let me know as well.
	
    Thanks a lot in advance.

.Frank NG
From: mike@pencom.com (Mike Heath)
Newsgroups: comp.unix.aix
Subject: Re: A better dynamic loader???
Date: 25 Jul 92 07:33:55 GMT
Organization: Pencom Software, Austin, TX

In article <45628@shamash.cdc.com> pbd@runyon.cim.cdc.com (Paul Dokas) writes:
>I need to be able to execute dynamically loaded modules from within another
>program, but I can't seem to find the needed functionality anywhere.  What I
>have right now is a program that uses load() to pull in a module and then it
>calls the function pointed to by the return value of load().  This works
>fine, but I need to have several entry points in a single module.  And to make
>things even more complex, the user creates the modules, so the program has
>no idea where to call within the module.  What I really need is a function
>like this:
>
>        typedef void (func_t)(int, int);
>	func_t *lookup(char *module_name, char *func_name);
>
>The function lookup() returns a pointer to a function given the name of a
>module to look in and a function name to look for.
>
>I really want to avoid writing my own dynamic loader with the ldopen, ldclose,
>etc functions.  I had to do this on an SGI and I really don't want to waste
>another 2-3 weeks.  Any input is greatly appreciated.

I wrote the equivalent of Sun's dlsym() for the RS6K a little over a year
ago for a client.  I don't have a copy of the code, so I can't offer it
to you, but I can give you some hints.

You could either use loadquery() to get the module names, or better yet,
at the time of each load() call (though, you'll still have to account for
the shared libraries loaded at exec() time), open the file manually and
grab all the exported symbols and their addresses (Loader symbol table).
You'll have to "relocate" the addresses using the value returned by load().

For performance reasons, you'll want to retain all these values for
multiple calls, plus, you'll want to memory map the object files
when you scan the Loader Symbol Table.

When I did this under 3.1.5, ldopen() had a problem accessing archives.
It shouldn't take more than two days if you understand how the
dynamic loader works.

If you want to take a slightly different approach, you could require
that the entry routine return a structure of routine names and addresses
contained in the module.

Hope this helps.

-- 
Mike Heath		Pencom ...  We're not just headhunters anymore.
Pencom Software		
Austin, TX		
mike@pencom.com
Newsgroups: comp.unix.aix
From: oink@newshost.uwo.ca (Test Account)
Subject: Re: SUMMARY: dbx problems
Organization: The University of Western Ontario, London, Canada.
Date: Sun, 26 Jul 1992 08:37:41 GMT

In article <BrvAFJ.6oM@news.cso.uiuc.edu> marca@void.ncsa.uiuc.edu (Marc Andreessen) writes:

   I believe).  Also, 3.1 malloc would clear all memory it allocated to 0; 
   3.2 malloc does not.  (Normally, malloc isn't supposed to do this -
   but calloc is.)

My experience has shown that this is simply not true. Although it probably is
true of malloc()ed memory from the heap, it is certainly NOT true of recently
free()ed amd re-malloc()ed memory. Certainly not something to count on!

Actually, the big change that I did not expect with the new malloc behaviour
is that free()ed memory is no longer valid. Many programmers (for historical
reasons I guess) assume that constructs like the following should work:

	while (ptr) {
		free(ptr);
		ptr = ptr->next;
	}

This will not work under with MALLOCTYPE=3.2 environment (and IMHO it 
should never have worked, but that is another argument). 

   Hope this helps,

And this,

   Marc

cheerskinch
From: stevem@fuji.noname (Steven G. Marcie)
Newsgroups: comp.unix.aix
Subject: Re: GCC 2.2.2 on AIX
Date: 25 Jul 92 17:35:06 GMT
Organization: TIVOLI Systems, Inc.


In article <1992Jul24.134259.27685@hp9000.csc.cuhk.hk>, a866700@hp9000.csc.cuhk.hk (Wong Siu To) writes:
|> I've an RS6000/320 running AIX (3.x, I forget it :(  )  I tried to
|> install gcc 2.2.2 on it but with following error encountered:
|> 
|> #make LANGUAGES=c
|> .....
|> _muldi3
|> Assembler:
|> /tmp/ccJmMCkR.s: line 25: Error In Syntax 
|> 1254-004  The error code from the last failed command is 1.
|> 
|> Make Quitting.
|> # 
I've successfully built gcc 2.2.2 on an RS/6k running 3.2.

You don't mention it, but I assume you've:
a)  gotten from IBM the replacement assembler mentioned in the 
    README.RS6000
b)  done a 'configure rs6000-ibm-aix' before you attempted the
    first stage make?

sm
Steve Marcie - stevem@tivoli.com - TIVOLI Systems, Inc., (512)794-9070
From: agathos@ccs.northeastern.edu (Michael W Wojcik)
Newsgroups: comp.unix.aix
Subject: Re: XGKS on AIX RS6000 problem
Date: 23 Jul 92 14:45:12 GMT
Organization: Comp. Sci. @ NU

I worked on IBM's original XGKS (first under AOS [BSD 4.3] on the RT, if
anyone's curious).  I don't remember the particular problem you described,
but I do recall that input -- mouse and keyboard -- gave us a lot of
trouble, both in the original implementation and when we first tried it
on the 6000.  XGKS (on the RT) sets the X display server socket to signal
(FIOASYNC ioctl), traps SIGIO, and peeks the message queue; that caused
some problems (eg. some Xlib calls would bomb if an event arrived while
they were executing due to reentrancy issues, so we had to sigpause
around them).  Maybe it's interfering with xterm's message handling somehow.  

One possibility might be to fork, have the child do the XGKS (close its
stdin before starting XGKS, maybe), and have the parent do the stdio stuff.
The two could communicate via a pipe or something.  It's a bit extravagant,
but it might work, and it doesn't require hacking the XGKS code.

Maybe one of the other original XGKS people can give you more help (Dave?
Bruce? Amy? where is everyone?).  Isn't IBM still supporting the thing?


Michael Wojcik
From: pa@curly.appmag.com (Pierre Asselin)
Newsgroups: comp.unix.aix
Subject: Re: Can't send a break signal to a serial line defined as /dev/lp1
Date: 24 Jul 92 15:15:53 GMT
Organization: Applied Magnetics, Goleta, CA

In <Brt9G2.IAD@watserv1.waterloo.edu>
hesse@watserv1.waterloo.edu (BJ Cameron - DCS) writes:

>if(ioctl(ttyf, TCSBRK, 0) < 0 )
>           perror("Can't send BREAK: ");

>If the backend file is /dev/lp1 the error is returned.  If the backend file
>is /dev/tty0 a BREAK signal is transmitted.

Is there such a thing as a BREAK on a parallel interface?

On a *serial* line a BREAK is a logical 0 held for a longer time than
normal (500ms?).  It is *not* a character with all the bits zero
because the stop bit (at logical 1) doesn't show up in time and the
receiver raises a framing error.

>Any ideas?

Yep.  Read the fine print of the printer documentation.  What you are
trying to do may be possible only if you use the serial interface.
But the parallel interface is ususally faster.
-- 

--Pierre Asselin, Magnetoresistive Head Engineering, Applied Magnetics.
  pa@appmag.com        the usual disclaimers apply.
Newsgroups: comp.unix.aix
Subject: Imake and Xmkmf - Hello, IBM???
From: Thomas J Cozzolino <RBNTJC@rohvm1.rohmhaas.com>
Date: Tue, 21 Jul 1992 12:55:07 EDT
Organization: Rohm and Haas Company

Does anyone know where Imake and/or xmkmf are, and to how to use them under
AIX 3.2?

No one from IBM seems able to tell me where the source or binaries are;  I need
to build some Public-domain code and would dearly like to get this capability
on AIX.  Geez, we waited *long enough* for R4, I figured that Imake/xmkmf would
be included, too.  I was mistaken.

Any help is appreciated; I will post the answer if I get one..

Thanks.

+============================================+
|   Thomas J. Cozzolino - Rohm and Haas Co.   =
|   InterNet:    tcozz@rohmhaas.com            =
|                                               =
|   " It's such a fine line, really, between     =
|         'clever' and 'stupid' "                 =
|                  - D. St. Hubbins                =
|                                                   =
|   - Opinions expressed are my own, not             =
|     necessarily those of Rohm and Haas Company      =
+======================================================+
Newsgroups: comp.unix.aix
From: joe@uunet!cambex!zeus
Subject: AIX filesystem limits?
Date: Thu, 23 Jul 1992 14:14:09 GMT
Organization: cambex

Does anyone out there know the following limits for
journaled filesystems?

    1) Maximum size of a filesystem

    2) Maximum number of files in a filesystem.  Is this number
       limited by the size of the inode list in the filesystem?

Also, is the maximum size for a file under AIX 4 GB, since the size
field in the inode is stored as a long?

All responses appreciated!

-----------------------------------------------------------------------------
|   Everywhere you go, there you are.                                       |
|---------------------------------------------------------------------------|
|Joe Sanderson,  Cambex Corp.        |  uunet!cambex!zeus!joe               |
|360 Second Avenue                   |  Tel:(617) 890-6000 x208             |
|Waltham, MA 02154                   |  Fax:(617) 890-1038                  |
-----------------------------------------------------------------------------
Newsgroups: comp.unix.aix
From: maf@tabatha.MAE.CWRU.EDU (Mark Fullmer)
Subject: Re: Some more xdm questions 
Organization: Case Western Reserve University
Date: Fri, 24 Jul 92 03:59:12 GMT

In article <1992Jul16.015924.11813@bronze.ucs.indiana.edu> tselling@peabody.iusb.indiana.edu (Teresa Selling) writes:
>I have been constantly plagued with problems with xdm.  IBM first suggested
>that I recompile xdm.  That took care of the <defunct> process problem,
>but I still have trouble getting past the Login Widget.  It keeps coming 
>back and won't bring up the xsession.  I have found that if I set

To summarize an evening with the same problem, digging through src and
doing dumps of network connections:

try invoking xdm as 'xdm -debug 9999` (with source in hand ofcourse).

The ibm.cf for X11R5 sets ProjectRoot, so the binaries end up in 
/usr/local/bin.  After installing everything, and then noticing this,
binaries that should be in /usr/bin/X11 got moved.  (lib got moved too).

anyways, the debug output shows:

(alot deleted)

DISPLAY=charlotte:0
HOME=/u/maf
USER=maf
PATH=:/bin:/usr/bin:/usr/local/bin:/usr/ucb
SHELL=/usr/local/bin/zsh

(more deleted).

Now Xsession (or whatever you called it) has a line like
	'exec xterm -blah -blah'

xterm isn't in the path...oops

----

The man pages for xdm don't help until you understand what's supposed to
be happening....it's really easier to read the source...

Now, even the chooser works.

mark
From: gs26@prism.gatech.EDU (Glenn R. Stone)
Newsgroups: comp.unix.aix
Subject: 4mm DATs?
Date: 23 Jul 92 17:18:16 GMT
Reply-To: glenns@eas.gatech.edu
Distribution: usa
Organization: The Group W Bench

The boss wants me to find out about 4mm DAT drives.  
System: AIX 3.2.x, RS/6000-530, 64mb/potloads (to be expanded to somewhere in 
the 4GB range)

Who's got the best bang for your buck? Reliability? Ease of installation?
Compatibility with respect to device drivers?  (Does it come with its own,
or does it work with IBM's?  How well does it work?  does tctl rewoffl work
right?)  How do they stack up against 8mm?  Speed?  Reliability of written
data?  Error checking/handling?  Ease of handling multiple files on a 
single tape? 

This is not going to be a daily-backup drive, but for long-term archival.

Email me the good, the bad, and the ugly, and I'll summarize if there
is interest...

Glenn R. Stone (glenns@eas.gatech.edu)
From: mau@IPIFIDPT.DIFI.UNIPI.IT (Maurizio DAVINI)
Newsgroups: comp.unix.aix
Subject: ftpd 6000
Date: 23 Jul 92 16:54:35 GMT
X-Unparsable-Date: Thu, 23 Jul 92 18:55:08 DFT

Hi all,
I have downloaded a porting of wuarchive ftpd for RS6000 from ftp.egr.duke.edu. It compiled ok but....when I ftp as anonymous it goes ok when I ftp as a real
user it message...:
  530 user access denied.....
Can someone help me or have a version running on RS600
with AIX 3.2? 
                            Thanks
                 Maurizio Davini
 

-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%    Maurizio Davini            %%                                     %
%   AIX System Manager          %%  E-mail=mau@ipifidpt.difi.unipi.it  %
%  Department of Physics        %%                                     %
%   University of Pisa          %%                                     %
%   Piazza Torricelli 2         %%  fax 39-50-48277                    %
%    Pisa    (ITALY)            %%                                     %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
From: MCOG@CHVM1.VNET.IBM.COM ("Michael A. Coggins")
Newsgroups: comp.unix.aix
Subject: Problem during ld
Date: 29 Jul 92 13:48:54 GMT
X-Unparsable-Date: Wed, 29 Jul 92 15:41:12 CET

> kovacs@informatik.uni-stuttgart.de (Ernoe Kovacs)
> ...
> orgel:dish<56> lsps -a
> Page Space  Physical Volume   Volume Group  Size  %Used  Active  Auto  Type
> paging01    hdisk1            rootvg        64MB     40     yes   yes    lv
> paging00    hdisk0            rootvg        40MB     63     yes   yes    lv
> hd6         hdisk0            rootvg        24MB    100     yes   yes    lv
> ...
> Any solutions, fixes or tips? ...

Having two paging spaces on the same disk is BAD for performance.  Don't
do it.  To merge them requires a reboot, but can be done whenever it is
convenient, without affecting system operations.

Before reboot:
  chps -a n paging00     # make this paging space inactive on next reboot
After reboot:
  rmps paging00          # remove this paging space
  chps -s 10 hd6         # extend original paging space by 40 MB

Mickey Coggins  mcog@chvm1.vnet.ibm.com
                +41-1-436-7274 or +41-1-436-8525 (fax)
                Hohlstrasse 560, CH-8048 Zurich, Switzerland

Newsgroups: comp.unix.aix