From: afx@barolo.ak.munich.ibm.com (Andreas Siegert)
Newsgroups: comp.unix.aix,bit.listserv.aix-l
Subject: AIXTIPS NEWS 92113
Date: 7 Apr 92 12:44:04 GMT
Reply-To: afx@ibm.de
Followup-To: comp.unix.aix
Organization: IBM AIX Field Support Center, Munich

This is AIXTIPS NEWS for customers released at Tue the 07. Apr 1992.

Table of contents:
92113. SECURITY PROBLEM WITH AIX 3.2 AND AIX 3.1.5 WITH PTF 2007
92115. AIX SOFTWARE VENDOR OPPORTUNITY WITH AIX/ESA:
92116. AFS training from transarc
92120. New FTP Server from IBM Europe
92123. Warning: Don't use 3.2 boot diskettes with 3.1 machines
92124. IBM 2456 Image scanner support
92127. Printing a separator page with banner
92130. SONY WORM WDC-610 on a RS6000 
92131. Booting off of a Cybernetics(sp) tape drive
92132. X11.5 xterm problmes
92133. HOTW: Enabeling automatic reboot after crash on a /6000 
======================================================================
 
Note:
The information in this document has not been submitted to any formal IBM test
or review and is distributed on an "as is" basis without any warranty either
expressed or implied. The use of this information is a customer responsibility
and customers attempting to adapt these techniques to their own environment
do so at their own risk.

Some of the tips might reference internal TOOLS disks for more information.
Please contact your IBM representative if you need those documents.

Your AIXTIPS Team 		              Internet: aixtips@ibm.de
======================================================================
>92113. SECURITY PROBLEM WITH AIX 3.2 AND AIX 3.1.5 WITH PTF 2007

 All users of AIX 3.2 and those users of AIX 3.1.5 with PTF 2007
 installed have a security exposure, however a fix is available.
 The passwd command on these systems will allow users access to
 unauthorized files.  IBM has available a permanent fix for this
 problem.  Until users apply this fix it is recommended that permission
 on the passwd command be changed by issuing the following command from
 the user with root authority.  This will temporarily restrict password
 updating to the root user until application of the permanent fix:

                         chmod 500 /bin/passwd

 As the permanent solution, users running the affected levels should
 order the PTF for APAR IX23505.  This fix may be ordered from the
 local Support Center.

 Future shipments of AIX 3.1.5 Updates and AIX 3.2 will incorporate
 the fix to this problem.
======================================================================
>92115. AIX SOFTWARE VENDOR OPPORTUNITY WITH AIX/ESA:

 Today's announcement of AIX/ESA, with planned availability for June
 1992, offers significant opportunity for current AIX Software Vendors.

 The IBM Software Vendor Systems Center will be offering an Early Test
 Program (ETP) for AIX/ESA Version 2 Release 1.  This offering will allow
 vendors to remotely test their applications with AIX/ESA before it is
 generally available.  The ETP will be available from March 1992, through
 September 1992.  All software vendors are eligible to enroll in this
 program.  Technical support and documentation will be provided to
 program participants.

 Software vendors with products that run on AIX can inquire about early
 access to IBM software products (current Early Test Programs),
 request to be placed on the AIX mailing list, or obtain assistance
 by calling 1-800-553-1623 or by writing to:

     IBM Corporation
     ATTN: ETP Advocate
     Software Vendor Systems Center
     9 Village Circle
     Roanoke, Texas  76262
======================================================================
>92116. AFS training from transarc

 Note:
 As AFS is part of the upcoming DCE, this might be a good chance to get some
 initial education....
 This is not meant as an ad for transarc....
 Thanks to Uwe for the pointer.
 afx


 Date: Wed,  1 Apr 1992 07:57:13 -0500 (EST)
 From: Elaine_Wolfe@transarc.com
 Subject: Sys Adm Training in Europe


**TRAINING ANNOUNCEMENT**

The AFS international community has grown tremendously over the past
year --- approximately 40 sites representing fifteen different
countries. As a sign of our commitment to supporting this global AFS
community, Transarc is  pleased to announce  the first two AFS System
Administrator classes in Europe.

The classes are scheduled as follows:

- June 24 through June 26, Boeblingen, Germany
- June 29 through July 1, Bristol, United Kingdom
The cost for the three-day class is $1,500 for educational sites and
$1,700 for commercial sites (US dollars). Both classes will be held at
Hewlett-Packard facilities. Upon registration, further information will
be sent concerning exact location and local arrangements.  Classes are
limited in size and are reserved on a first come, first serve basis.

The class is a full three days of lecture, and question and answer
periods, generally from 8:30 until 5:00 each day. Prerequisites for the
course are familiarity with UNIX system administration and a user-level
knowledge of AFS.  It is also helpful if you have had experience
installing an AFS file server or an AFS cell. Topics covered include:

- Overview of AFS commands
- Managing client machines
- Managing file servers
- File server processes
- Volume operations
- System administration tasks

To register for the class, you may complete the  registration
form that follows this message and return by either (1) e-mail,
(2) FAX (01 412 338 4404), or (3) by physical mail to  your AFS sales
representative. If you have questions or would like further
information, feel free to phone me at 01 412 338 4448 or e-mail to
elaineutransarc.com.

Sincerely,

Elaine M. Wolfe
Marketing Services

Note: Primary site contacts at each of our AFS european sites will
be receiving this message with a copy of the registration form through
physical mail.

======================================================================
>92120. New FTP Server from IBM Europe

 IBM Europe (Scientific & Technical Solutions) has set up a
 Public Domain Code Repository, containing code for AIX, on
 the European side of Internet.

 The name of this ftp-server is ftp.ctp.se.ibm.com (initial
 IP address is 192.36.23.44 but this is likely to change over
 time). For those running AFS you can reach the same files
 by cd to /afs/ctp.se.ibm.com/users/ftp.

 The primary focus is on software that runs under AIX3 on
 the RISC System/6000, but there will also be SW for AIX/ESA
 and AIX/PS2. We will also put other information of interest
 on this server.

 Over time we will develop this server to become the
 preferred source of Public Domain Software and related
 information in Europe, for IBMs AIX-platforms.

 If you have any SW to submit, or if you have comments regarding
 the ftp service, please contact myself or the administrator of
 this server Hakan Torbjar (torbjar at utc.chalmers.se).
======================================================================
>92123. Warning: Don't use 3.2 boot diskettes with 3.1 machines

 hallo,
 this is a tip from a bad experience, which I made:
 I used AIX 3.2 boot diskettes to boot up an AIX 3.1 machine, went into
 maintenance mode and tried to access hdisk0.
 After normal boot the machine halted with 553.
 It showed up, that the above test with 3.2 diskettes had deleted the
 the programs /etc/mount and /etc/umount. After restoring those programs
 the machine came up fine.

 Besides: It could be added to tip 92039 that another reason for 553 could
          be that /etc/mount is missing or not executable.

 Mit freundlichen Graen
 D. Kunstmann
======================================================================
>92124. IBM 2456 Image scanner support

I.C.E. ANNOUNCES IBM AS/400 MODEL 2456 IMAGE SCANNER SUPPORT FOR THE
IBM RISC SYSTEM/6000

Herndon, Virginia, March 16, 1992 - Integrated Computer Equipment (I.C.E.),
an international developer of software products for the IBM RISC
System/6000, announces a new product for the IBM RISC System/6000.

Integrated Computer Equipment has now added support of the IBM Model 2456
Scanner to its IceScan/IceScan Plus products.  IceScan is a combination of
device driver and developer's toolkit for connecting SCSI scanners to the
RISC System/6000.  The IceScan software package speeds the integration of
imaging and OCR applications requiring scanners by providing the device
driver, configuration methods, ODM database entries, SMIT (System
Management Integration msicy Tool) interface and over 100 different image
manipulation tools.

IceScan Plus adds MOTIF Graphic User Interface (GUI) to IceScan.  This
software package supports both command line and AIX-windows.

IceScan is designed for use by software developers wishing to build
applications on top of it, it can also be used "Out of the Box" to scan
documents, save images in a variety of popular formats and perform image
manipulation and conversion from the command line.

These new scanning products allow direct SCSI connection of the IBM 2456
Image Scanner to the IBM RISC System/6000.  The IBM 2456 Image Scanner was
originally an IBM AS/400 and PS/2 product which, by virtue of the
IceScan/IceScan Plus products, will now operate with the RISC System/6000
computer systems.

Integrated Computer Equipment
201 Elden Street, Suite 204
Herndon, Virginia 22070
Phone   (703) 478-9478
FAX     (703) 478-3361
Contact: J.P. LeGory, VP of Marketing
======================================================================
>92127. Printing a separator page with banner

Here is a way to print the "DELIVER TO" user name in large characters at the
top of the header page using the banner command, with the usual header page
information just below it.  Modify this example to suit your needs.  As root:

           AIX 3.1.x                                     AIX 3.2
   ----------------------------                 ---------------------------
   cd /usr/lpd/pio/custom                       smit -C lsvirprt
   vi QueueName:QueueDeviceName                 (select the virtual printer)
                                                
                         AIX 3.1.x and AIX 3.2
            -----------------------------------------------------
            Search for the line containing the string ":sh:"
            Replace the string:
               %Ide/pioburst %F[H] %Idb/H.ascii
            with the string (all on the same line):
               USR=`echo "$PIOTO" | sed "s/@.*$//"`;
               USR=`/usr/bin/banner "$USR"`;
               HDR=`%Ide/pioburst %F[H] %Idb/H.ascii`;
               echo "\\n$USR\\n\\n$HDR"
            (the | character and everything after it do not change)
            Save the file

           AIX 3.1.x                                     AIX 3.2
   ----------------------------                 ---------------------------
   chvirprt                                     <Enter>
   (select the virtual printer)
   <Enter>

The environment variable PIOTO used above is documented with the pioburst
command.  Other available environment variables are:
   PIOTITLE (print job title)
   PIOFROM  (user who submitted the print job)
To have banner output appear within the standard header page instead of at
the top, divide the H.ascii file into two files:
   USR=...
   USR=...
   HDR1=...H1.ascii...
   HDR2=...H2.ascii...
   echo "$HDR1\\n\\n$USR\\n\\n$HDR2"

Thanks to
Gary Petersen

note: There might be ASCII-EBCDIC sreewups:
 [ left square bracket
 ] right square bracket
 \ backslash
======================================================================
>92130. SONY WORM WDC-610 on a RS6000 

Newsgroups: comp.unix.aix
Organization: JDS Sommer GmbH, Frankfurt am Main, Germany

>Has anyone tried to connect a SONY Writable Disk Controller WDC-610-00A
>on a RS/6000 Mod. 320H.
>For me, at takes 35 minutes to reboot the system and I'm still
>unable to communicate with the Controller with the 'diag' command.

The Problem was the SONY Disk Controller. The Revision of the Eproms has
had some failure with synchronous SCSI transfers. Sony gave me the newest
version of the Firmware and all works ok now.
Here are the types of the seven correct Firmware Eproms (the last letter 
is important):

1. DRALPL-W
2. DRSYPL-N
3. DRSYPM-N
4. DRSYPH-N
5. DRSIPH-D
6. DRSIPM-D
7. DRSIPL-D

Name:     Andreas Thiedecke
Company:  JDS Sommer GmbH
Address:  D-6000 Frankfurt am Main, Jahnstr. 49 (Germany)
E-Mail:   ath@jds.in.sub.org * Telephon: +49 69 593200 * FAX: +49 69 553089
======================================================================
>92131. Booting off of a Cybernetics(sp) tape drive

Newsgroups: comp.unix.aix

> From: brian@is.UUCP (Brian J. Zimbelman)
> Subject: Booting off of a Cybernetics(sp) tape drive
> Date: 18 Mar 92 00:35:28 GMT
> 
> Has anyone tried to boot a RS/6000 off of a non IBM tape drive, specifically
> a cybernetics tape drive.  I am trying to help a poor soul who purchased 
> a 520H w/o a IBM tape drive.  We seem to get all kinds of tape drive errors
> from diagnostics.  I'm not sure that the diagnostics understands non-IBM 
> drives.

I did some asking around to try and get a definitive answer about booting from
3rd party tape drives.  The answer is that for all released machines there was
no effort made in the IPL ROS (Read Only Storage) microcode to support 3rd
party tape drives.  Some apparently will work, but this will have to be
determined experimentally.

However, the newest level IPL ROS that supports network booting and the 
integrated SCSI and ethernet was written with generic tape support in mind.
I spoke with the IPL ROS SCSI device driver developer and he said that all of
the drives they tried worked.  Sorry, I do not have a list of drives.  The
bottom line is the code was written with 3rd party drives in mind.

This new IPL ROS (which is now 512K rather than the original 128K) will be in
all model 220s and most 340s and 350s (and future boxes).  It is not in 560s,
320Hs, etc. that are currently shipping. The first few 340s and 350s apparently
will still have older IPL ROS.  The new IPL ROS on the 340 and 350 will be
anything identifed as version 1.0, level 0.04 or later.  This can be examined
by using diagnostics to look at the vital product data (VPD).

Currently there is no plan to retrofit this new IPL ROS into existing
machines as an EC.  If this is a high priority item then I would suggest
you make this known through your SE, branch office, or whomever you deal
with on the marketing/service side.  Contrary to some popular opinion we do
listen to customer requirements.  Unfortunately not all can be implemented
so the more voices asking for the same thing the more likely it will be done.

About the diagnostics errors, the diagnostics code runs through the AIX tape
device driver, so there was no support for 3rd party tape drives prior to 
AIX 3.2.  If you are getting the errors on a 3.2 system then I would look at
the error log.  If you are getting logged errors while running tape 
diagnostics then you can send in the sense data to IBM support for analysis.
This should help with identifying why the drive and adapter and/or device
driver are not getting along.

- Fred

My remarks and opinions are mine alone...
 ____________________________________________________________________________
|                                  |                                         |
| Fred L. Johnson                  | Internet: johnson@aixwiz.austin.ibm.com |
| IBM Personal Systems Programming | inet: johnson@tanstaafl.austin.ibm.com  |
| AIX BOS Development              | vnet: FJOHNSON at AUSVMQ                |
| 11400 Burnet Road,  9540         | phone: (512) 828-2682                   |
| Austin, TX  78758-3493           | tie line: 678-2682                      |
|__________________________________|_________________________________________|
======================================================================
>92132. X11.5 xterm problmes

>From fritz@scipp.UCSC.EDU (Frederick Staats)
Newsgroups: comp.unix.aix
Organization: Santa Cruz Institute for Particle Physics


Add this to the top of X11R5 mit/clients/xterm/main.c:

#ifdef AIXV3
#define USE_SYSV_UTMP
#define HAS_UTMP_UT_HOST
#define WTMP_FILENAME "/var/adm/wtmp"
#endif

And your utmp problems should go away.  If you want xterminal sessions
to go into the wtmp file you need to define -DWTMP in the Imakefile and
be sure the WTMP_FILENAME is set to the right place.  (The above is
correct for AIX 3.2.)

The following program run in the background by root will clean up the utmp
file (I can't remember who first posted it, it may be in the FAQ which
hasn't been posted in a while...  The above should go in the FAQ also.)

To make:
cc -o utmpd -O utmpd.c

Program:
#include <sys/types.h>
#include <utmp.h>
#include <fcntl.h>

main ()
{
	int	fd;
	struct	utmp	utmp;

	while (1) {
		if ((fd = open ("/etc/utmp", O_RDWR)) < 0)
			exit (1);

		while (read (fd, &utmp, sizeof utmp) == sizeof utmp) {
			if (utmp.ut_type == USER_PROCESS &&
					kill (utmp.ut_pid, 0) != 0) {
				lseek (fd, - (long) sizeof utmp, 1);
				utmp.ut_type = DEAD_PROCESS;
				write (fd, &utmp, sizeof utmp);
			}
		}
		close (fd);
		sleep (60);
	}
}
-- 
Frederick Staats
fritz@scipp.UCSC.EDU -- (408) 459-3575
Santa Cruz Institute for Particle Physics
University of California at Santa Cruz
======================================================================
>92133. HOTW: Enabeling automatic reboot after crash on a /6000 

Using 
 chdev -l sys0 -a autorestart=true
will enable your machine to reboot automatically after crashes.
This will work only if the key is in the normal position.

======================================================================

--
Andreas Siegert / Postmaster   IBM Deutschland GmbH   |   Never grep a yacc
AIX Field Support Center       Pocci Strasse 11       |   by the i-node!
afx@ibm.de                     D-8000 Muenchen 2      |   Opinions are my own,
siegert@munivm4.vnet.ibm.com   Voice: (49)-(89)-7670-509  not IBM's.