Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apple A/UX FAQ List (1/4)

2 views
Skip to first unread message

Jim Jagielski

unread,
Jan 6, 1998, 3:00:00 AM1/6/98
to

Archive-name: aux-faq/part1
Last-modified: Tue Jan 6 12:18:24 EST 1998

This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x


\\\\\\\\\\\\\\\\\\\\\\ START OF PART 1 OF 4 //////////////////////

FAQ for A/UX
============

This FAQ list is intended to cut down on the number of "often asked questions"
that make the rounds here on comp.unix.aux. Also included you'll find a few
words of wisdom as well as some general information for the A/UX community.
This list assumes that you are familiar with Unix (to some extent) but are
curious about A/UX's eccentricities. The list will concentrate on A/UX 3.x.x
but may also have info about previous versions. If you don't understand
something in the FAQ List, and a "Point of Contact" isn't specified, then
contact me and I'll attempt to help or else point you to someone who can.
In any case, let me know how I can make the list more clear.

You'll notice jagubox.gsfc.nasa.gov mentioned alot here. You can access files
on jagubox either using 'ftp' (jagubox runs the WUARCHIVE-FTPD server),
'gopher' or a WWW-client (jagubox's URL is "http://jagubox.gsfc.nasa.gov").
<<ED: Note that the gopher-server will be down for awhile >>

This FAQ is written in a format that EasyView (for the Mac) can understand and
make use of. EasyView provides a very nice front-end for viewing, browsing and
reading the FAQ. EasyView is available on jagubox.gsfc.nasa.gov.

The list will be posted every other Tuesday on comp.unix.aux as well as on
news.answers and comp.answers. It is also available on jagubox.gsfc.nasa.gov.

There is a frozen FAQ that deals with A/UX 2.0.1 which is available on jagubox
(FAQ.aux.201). This FAQ will be posted monthly (or so) on comp.unix.aux.

This FAQ will focus on A/UX 3.1.1, but will also refer to 3.1, 3.0.2 and
3.0.1. Bugs and things "broken" in 3.0.1 but fixed in 3.0.2 (and later)
or "broken" in 3.1 but fixed in 3.1.1 won't necessarily be mentioned, since
the 3.0.1->3.0.2 and 3.1->3.1.1 fixes (the AWS "Tune-Up" disks, v1.0 and v2.0)
are free and readily available.

This FAQ is "copyrighted" in the same sense that all other FAQs are copy-
righted: the FAQ may be _freely_ redistributed as long as the author's/editor's
name and this notice is included. If contents of this FAQ are to be published,
then you should ask the author's/editor's permission to do so.

Send your additions|modifications to Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
(editor's notes are included as <<ED: ...>>). I will tend to refer to myself
in the 3rd person in the Q&A section.

=============================
**** Significant Changes ****
-----------------------------

|++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|Significant changes/additions since last posting:
| Changes signified by "|" in 1st column;
| Additions by "+" in the 1st column;
| Deletions by "-" in the 1st column (the line will be
| deleted in the next posting)
|
+ ssh/sshd suite added
|++++++++++++++++++++++++++++++++++++++++++++++++++++++++


============================
**** TABLE OF CONTENTS: ****
----------------------------

o List of Contributors to A/UX FAQ List
o List of anon-ftp archives for A/UX
o List of security-related issues
o List of known bugs and patches under A/UX 3.x.x
o List of ported software
o Hints and Words Of Wisdom
o Q&A-
GENERAL QUESTIONS:
G.01) What's A/UX? Is it any good?
G.02) What's the minimum system I need (CPU, disk and RAM) to run A/UX?
G.03) What's new about A/UX 3.x.x?
G.04) What's the diff between 3.0.2 and 3.0.2(wgs)?
G.05) How can I order A/UX?
G.06) What's the upgrade path for A/UX 3.0.2?
G.07) What are Right-To-Copy and Right-To-Upgrade licenses?
G.08) How can I report bugs that I find?
G.09) What's the word on A/UX 3.1 and 3.1.1?
G.10) What's the future of A/UX with the PowerMacs?
G.11) I can't use A/UX. What UNIX alternatives are there?

ADMINISTRATION ISSUES:
A.01) How come my Login screen is gray, not color?
A.02) How come my Login ScreenSaver doesn't see both my monitors?
A.03) Even though I have lot's of swap space and only a little bit is
being used, I STILL get a lot of messages saying that my swap
space is running low. What's the buzz?
A.04) How can I copy a complete file system from one disk|partition to
another?
A.05) What's with UUCP?
A.06) How can I log anonymous ftp entries? in.ftpd has a -l option,
but it doesn't work.
A.07) How come when I do a 'df' as a regular user, it shows me a different
number of free blocks compared to when I run it as 'root'?
A.08) Does A/UX LocalTalk support IP?
A.09) How do I get MPW 3.1 to work? It hangs my system...
A.10) Can I refer to a file on my Mac system from within A/UX?
A.11) How can I adjust the amount of virtual memory Finder uses?
! A.12) Is there an archive of comp.unix.aux out there somewhere?
A.13) How come I can't use color under X?
A.14) Using the command shell interface, I'm trying to access some Mac
files (that have strange names) but I can't; the program returns an
error message I can't access the file. What's going on?
A.15) I heard the the Installer for 3.x.x works on "any" 3rd party
hard disk. Well, it doesn't on mine!
A.16) Since RetroSpect will no longer be bundled with A/UX 3.0.2,
how can I get it?
A.17) How can I configure CAP under A/UX?
A.18) What are some good books about A/UX?
A.19) When booting up, I get a "panic ialloc, dup alloc" (or other)
error message and A/UX won't boot. What can I do?
A.20) Is traceroute available for A/UX?
A.21) What is KEEPALIVE and how can I use it?
A.22) What does this 'panic' message mean...?
A.23) How often does A/UX sync the file system?
A.24) What is 'catsearchd'?
A.25) Is there any way to make AppleDouble file formats the default,
rather than AppleSingle?
A.26) Is there a way to update the 'whatis' database?
A.27) Does A/UX support Virtual Interfaces?

MAC-EMULATION QUESTIONS:
M.01) What Mac applications are compatible with A/UX?
M.02) What screen-savers are compatible with A/UX?
M.03) My MacOS partition mounts fine under MacOS but it doesn't show
up under A/UX... Why?
M.04) I have MacsBug installed. How can I trigger it?
M.05) Sometimes my MultiFinder environment (and/or CommandShell) freezes
up; how can I unfreeze it? Should I hit the Interrupt switch?
M.06) My site is not upgraded to EtherTalk Phase 2 yet... can I use
Phase 1 under A/UX?
M.07) I'm having trouble transfering files between A/UX and my MacOS disk.
Also, sometimes things get transfered fine, othertimes not. What's
going on?
M.08) Do I install CDEVs and Extensions in the System Folder on
MacPartition or on the "/" A/UX disk.
M.09) I heard that A/UX requires a special version of System 7 to boot...
Is this true?
M.10) After the Mac environment crashes (or when I use MacsBug), the
Desktop gets all screwed up... Argg!!
M.11) My MacOS partition(s) only show up on the Desktop when I login
as root. Why?
M.12) For some reason, my CommandShell only responds to a keyboard
event after it receives a second event. For example, typing "a"
won't show until I type something else or click the mouse.
What gives?
M.13) Can A/UX 3.x.x run System 7.1?
M.14) What version of AppleTalk does A/UX run?
M.15) I've just installed MacTCP 2.0.2|4|6 on A/UX and nothing works!
What's going on?
M.16) Does the LaserWriter Bridge s/w work under A/UX?
M.17) My /etc/fidd processes refused to run and dumps core. Help!

DEVICES AND PERIPHERALS:
D.01) Can I use my Teac|DAT|etc tape drive under A/UX?
D.02) I have an EtherNet card that works fine under the Macintosh OS
but not under A/UX. Why?
D.03) Can I use my scanner under A/UX?
D.04) I'm trying to use a SyQuest drive under A/UX but it refuses to
work. I keep on getting a "more data than device expected" error
message. What's wrong?
D.05) What 3-button mice work under A/UX (and X)?
D.06) Is it worth getting a cache card for the IIci?
D.07) How can I figure out the /etc/disktab entry for my hard disk?
D.08) Which serial cards work under A/UX?
D.09) I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print
something to it through 'lpr', the first line of the page is cut
off. Why?
D.10) I'm trying to access my tape drive using 'tc' (with something like
"find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
D.11) What CD-ROM drives are compatible with A/UX 3.x.x?
D.12) I've tried to install the CD Remote extension to A/UX so that
I can play audio CD's, but it doesn't work...
D.13) What UNIX CD-ROM formats does A/UX support?
D.14) How can I add printers other than those available in Chooser?
D.15) What 3rd party accelerators are compatible with A/UX?
D.16) Will the old serial HP DeskWriter work under A/UX?
D.17) How can I use a HP DeskWriter under A/UX?
D.18) Does A/UX support 24-bit color?
D.19) What's the specifics on the AWS95 PDS Card?
D.20) What are the specifics of SCSI under A/UX?
D.21) I can't get my LaserJet 4M to work reliably. Help!
D.22) Does the Apple Adjustable Keyboard work under A/UX?
D.23) How can I increase the number of inodes when creating a new
file system?
D.24) Can I use my Zip Drive under A/UX?

PORTING AND PROGRAMMING
P.01) How come rn|elm|less|etc... act weird concerning signals?
P.02) Is X11R5 available for A/UX?
P.03) I've noticed that FSF GNU doesn't support A/UX. Does that mean
I'll miss out on all the neat Gnu-stuff like gcc?
P.04) I've ported Elm (or other mail reader) and it doesn't seem to
work... Why?
P.05) What languages are available for A/UX?
P.06) Is OSF/Motif available for A/UX?
P.07) While trying to port some software, the Makefile looks
for a program called 'ranlib' and dies when it can't
find it. What is it and where can I get it.
P.08) When compiling, I get the message that 'setlocale' is
an "undefined symbol"... what's going on?
P.09) How in the world do I use nlist()?

COMMUNICATION:
C.01) I'm unable to start a getty process on a built-in serial port. When
I use 'setport' to enable the port, I get a "no such device" error.
Configuring /etc/inittab to respawn getty on the port has no effect.
C.02) I am using and depending on /etc/hosts to do all my hostname
resolving (i.e. not using named or /etc/resolv.conf). How come I
can't mail to other hosts, but I can ping|ftp|etc... them?
C.03) When I try to mail something, I get the following error message:
"Cannot read frozen config file: not a typewriter". What's wrong?
C.04) How do I set up my Mac and A/UX to enable remote logins via a modem
on tty0?
C.05) How come I can't use 'talk' with some of the other Unix boxes out
there, and they can't talk to me?
C.06) How can I convince A/UX to forward IP packets?
C.07) Is PPP available for A/UX?
C.08) How can I change the MTU value for CSlip?
C.09) I'm having trouble having Solaris 2.4 NFS clients access my
NFS server!
C.10) I'm running a busy web-server and clients are getting lots of
'Connection Refused' messages... Why?

ERRORS EXPLAINED:
E.01) How do I keep command lines that I edit with "backspace" from
erasing the prompt?
E.02) Whenever I try to run xinit (or startx) from the CommandShell I get
a fatal server error. Why?
E.03) I keep on getting the following error message on the Console:
"fcntl: local lock manager not registered". What's going on?
E.04) When I try to startup 'xterm', I get the following error
message: "xterm: no available ptys"... What gives?
E.05) 'ps' and 'pstat' only seem to work for root. If anyone else tries
these commands, they get a "no mem" error message. What's wrong?


===============================================
**** List of Contributors to A/UX FAQ List ****
-----------------------------------------------

The editor would like to thank all the various people who have contributed
to the A/UX FAQ List (both those that submitted questions as well as those
who submitted answers). Also included under the Q&A section are the relevant
people to contact if you have specific questions about specific A/UX items.
If I've left you out, PLEASE E-mail me!

Brian Bechtel (bl...@apple.com)
Greg Berryman (g...@gpb-mac.sps.mot.com)
Nick Beser (be...@aplcomm.jhuapl.edu)
Peter Brewer (bre...@hamlet.umd.edu)
Manuel Bouyssou (man...@apple.com)
John Coolidge (cool...@apple.com)
Bob Denny (de...@alisa.com)
Eric Dittman (dit...@skitzo.dseg.ti.com)
John Dundas III (dun...@salt.jpl.nasa.gov)
Thomas Eberhardt
Rick Ewing (ew...@vhp.vanderbilt.edu)
Ron Flax (r...@afsg.apple.com)
Marcelo Gallardo (mar...@deadzone.princeton.edu)
Ben Goren (b...@tux.fa.asu.edu)
James Gritton (gri...@byu.edu)
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
Chris Johnson (cjoh...@brl.mil)
Bill Johnston (john...@me.udel.edu)
Ron Johnston (john...@apple.com)
Bob Kirby (ki...@esl.com)
Nicolas Lenz (nl...@sdcc13.UCSD.EDU)
Darrell Pfeifer (pfe...@camins.camosun.bc.ca)
Phillip Porch (ro...@theporch.com)
Wes Price (w...@bullwinkle.ssc.gov)
Alexis Rosen (ale...@panix.com)
Eric Rosen (er...@cse.ucsc.edu)
Craig Ruff (cr...@ncar.ucar.edu)
Jim Ryan (jr...@adobe.com)
Paul Sander (pa...@sander.uucp)
Kent Sandvik (ks...@apple.com)
Jon Stevens (ro...@dolphin.csudh.edu)
Craig Struble (cstr...@gnu.ai.mit.edu)
Richard Todd (rmt...@servalan.servalan.com)
Chuq Von Rospach (ch...@apple.com)
Jon W{tte (d88...@nada.kth.se)
Earl Wallace (ea...@macaux.aux.apple.com)
Herb Weiner (he...@wiskit.com)
Bill Woodcock (wo...@zocalo.com)


=================================================
**** List of anonymous ftp archives for A/UX ****
-------------------------------------------------

The following sites have A/UX related archives and materials available via
anonymous ftp (see below for more information):

abs.apple.com (130.43.1.101)
Meant to be the central server for _all_ Apple Business Systems
products, including A/UX, AWS, MAE, etc...

afsg.apple.com (130.43.50.2)
ports and hacks for A/UX

dolphin.csudh.edu (155.135.16.1)
neat A/UX stuff

dunkin.Princeton.EDU (128.112.64.39)
mirror of jagubox.gsfc.nasa.gov

ftp.amug.org
mirror of jagubox and other goodies

ftp.fenk.wau.nl (137.224.129.4)
mirror of jagubox.gsfc.nasa.gov

ftp.support.apple.com (130.43.6.3)
main FTP server for Apple.

ftp1.jaguNET.com (206.156.208.7)
various A/UX goodies

jagubox.gsfc.nasa.gov (128.183.44.1)
FAQ List;
bunch of ports, utilities, new mini-inews (1.6);
Apple fixes (in ~ftp/pub/aux/Apple.fixes)
*** jagubox also runs a gopherd-server as well ***
*** and a WWW-httpd server "http://jagubox.gsfc.nasa.gov" ***

nada.kth.se (130.237.222.71)
mirror of A/UX items from:
afsg.apple.com
jagubox.gsfc.nasa.gov
wuarchive.wustl.edu

rascal.ics.utexas.edu (128.83.138.20)
misc. ports;
Mac applications, CDEVs, etc...;

redstar.dcs.qmw.ac.uk (192.135.231.4)
IIci benchmarking results;

wc208.residence.gatech.edu (199.77.224.208)
copies of various A/UX ports

wuarchive.wustl.edu (128.252.135.4)
ports, GNU stuff; (look in systems/aux)


=======================================
*** List of security-related issues ***
---------------------------------------

No system is 100% secure. To this end, it makes sense to make each one as
secure as possible, including A/UX.

~~~~~~~~~~~~~~~~~~~~~~
Permissive Permissions
~~~~~~~~~~~~~~~~~~~~~~

o The default distribution of A/UX has some files with somewhat permissive
permissions. These should be changed to avoid problems. These files and
the recommended modes, owners and groups are as follows:

-rwsr-xr-x 1 root sys /bin/ps
-rwxr-sr-x 1 bin sys /bin/pstat
-rwxr-xr-x 1 bin bin /etc/ncheck
-rwxr-sr-x 1 bin sys /usr/bin/lav
-rwxr-xr-x 1 bin bin /usr/bin/X11/xterm
-rwxr-sr-x 1 bin sys /usr/etc/ncstats
-rwxr-sr-x 1 bin sys /usr/etc/nfsstat
-rwxr-xr-x 1 bin bin /usr/etc/rpcinfo
-rwxr-x--- 1 adm adm /usr/lib/acct/diskusg
drwxr-xr-x 21 root sys /etc

(The removal of SUID-to-root from 'diskusg' means that the cron 'adm'
accounting package [all the /usr/lib/acct/* stuff] will need to be run by
'root' instead)

To make changing the user, group and permissions of these files a little
easier, Jim Jagielski has hacked together an ugly little 'ksh' script
that does it for you. The info required is self contained in the script
itself and it's easy to add more entries as required. Look for the script
on jagubox.gsfc.nasa.gov under "/pub/aux/Security/better.perms".

o Also, to close things a little tighter, remove all permissions for
"others" ('chmod o-rwx') for all files in:

/usr/lib/acct
/usr/lib/cron

o Only trusted users should be allowed to use 'lpr'. Remove execute
priviledges for OTHERS and then change '/etc/groups' to make _only_
trusted users as members of group 'daemon'. If you want, you can dump
'lpr/lpd' and use 'lp/lpsched'.

o You may want to consider if you really want the 'lp'|'lpr' admini-
stration programs (such as 'lpadmin', 'lpmove' etc...) executable by
all. If not, then remove that mode from them ('chmod o-rwx').

o Under 3.x.x, make sure that all files in /dev/scsi are mode 600 with
owner 'root' and group 'sys'... Get the new 'devscsi' file (available on
jagubox) to replace what's in /etc/install.d/init.d.

o A/UX also has the 'expreserve' problem. This program (actually called
'ex3.9preserve' under A/UX) is used by 'vi'|'ex' to "save" canceled
or killed edit sessions. 'expreserve' saves a copy of the buffer in
the "/usr/preserve" directory. The program is SUID to root since the
directory is owned by root, but any other user would do just fine. There's
also no real need for it to be SUID either. To preserve the use of
'expreserve' you'll need to create a new user whose sole existance is to
own "/usr/preserve" and 'ex3.9preserve'.

: Create a new user on the system. Make it totally unused. eg:

/etc/passwd:
preserve:* void *:33:33:secure preserve:/usr/preserve:/bin/noshell

/etc/group
preserve:* void *:33:preserve

: Now change the owner and group of /usr/lib/ex3.9preserve and
/usr/preserve to the above user. Change the mode of 'ex3.9preserve' to
2111 and 'preserve' to 775:

---x--s--x 1 preserve preserve /usr/lib/ex3.9preserve
drwxrwxr-x 2 preserve preserve 512 Mar 4 15:46 /usr/preserve

...and you're done. Now vi/expreserve can write in /usr/preserve but no
root security hole exists! If this is too much work, then you can just
remove the SUID bit for 'expreserve'; this will close the hole, but killed
editting sessions won't be saved (except for root).

(***NOTE*** Replacing 'sh' with the "fixed" version described below
fixes this hole. Still, having 'expreserve' SUID to root goes against
the ideal of running programs with the least priviledges possible.)

o The '/lib/librmt.a' library has write permissions for all users. You
should remove it (the write permissions, that is, not the file ;) ):

-rw-r--r-- 1 root bin 14734 Mar 23 1993 /lib/librmt.a

o Why not create a group called 'wheel' and make /bin/su mode 4750 with
owner 'root' and group 'wheel'. Then, only make trusted users with
the need to use 'su' as members of 'wheel'.

o Make sure that 'bin' has a void password and '/bin/false' as it's
login shell.

o The shadow-passwd suite has been ported to A/UX. Basically, this package
moves the encrypted passwds from world-readble /etc/passwd to root-only-
readable /ec/shadow, thus greatly increasing security. Some daemons, such
as popper and wu-ftpd will need to be recompiled. Use it!

~~~~~~~~~~~~~~~~~~~~~~~~~
Other "Gotcha's" and Info
~~~~~~~~~~~~~~~~~~~~~~~~~

o One definate improvement you should make to your A/UX system is to
obtain (from jagubox and other A/UX mirror sites) and install the
'uwrap' program. 'uwrap' is a wrapper specfically designed to
wrap and protect /etc/init from the SIGURG signal. It can also
be used to wrap other programs and processes as well if desired.
Programs linked with -lbsd or -lposix or those compiled with
'set42sig()' do not require SIGURG protection (and since /etc/init
exec's all other processes, unless processes use SysV signals
_and_ reset SIGURG to SIG_DFL, they will also be protected as
well).

o There is a replacement version of rpc.statd for A/UX 3.1 (3.1.1)
available on ftp.support.apple.com, in
/pub/apple_sw_updates/US/Unix/A_UX/supported/3.x that addresses and
fixes the vulnerability described in CERT Advisory CA-06.09.
Get It!

o A number of holes are due to some "wrong" things that '/bin/sh' does
concerning IFS. To fix this, Apple has released a "corrected" version
of 'sh' that resets IFS to it's default value before executing a script.
This fixes some holes that exist in SUID programs that call 'system()'
or 'popen()' to execute some commands. This replacement version of
'sh' is available both on aux.support.apple.com and jagubox.gsfc.nasa.gov.
To install it, follow these directions (assuming you are located in the
directory where the new 'sh' is located):

$ cp /bin/sh /bin/Osh
$ cp sh /bin/sh

For this to work, /bin/sh shouldn't be busy, so this should be done either
in Single-User mode (as long as root's shell isn't 'sh') or while in
A/UX Startup.

o If you are connected to the Internet, it's a Good Idea to either use
either tcp_wrappers (on ftp.win.tue.nl and jagubox)) or inetd 1.9
(on jagubox), both of which provide host access control (i.e. you can
select which hosts can exec which network daemons. While you are at it,
the replacement version of 'portmap' (also on jagubox) is very easy to
compile and is recommended as well.

o By all means, remove the Guest account. Check to make sure that there
are _no_ users with null-passwords in /etc/passwd.

o The default distribution of A/UX has 'in.fingerd' SUID to root. Even
though it doesn't have the famous Internet Worm problem, there's no
need for that. Much better to have it run as 'nobody'. You can do
this by either changing the owner of 'in.fingerd' to 'nobody' and
keeping it's SUID bit or you can remove the SUID capability and
tell 'inetd' to run it as 'nobody'. To do the later, you'll need to
use the new, unofficial replacement of 'inetd' for A/UX (see below:
"Performance Patches", "Ported s/w" and Q&A A.06). Jim Jagielski has
also ported a version of 'in.fingerd' that logs fingers. It's available
via anon-ftp on jagubox.gsfc.nasa.gov. Of course, the most secure option
is simply to disable 'in.fingerd' totally in '/etc/servers'.

o Root should never use the common System Folder... Due to it's very
nature it's writable by everyone. Give root a personal System Folder
and sleep easier :)

o A/UX doesn't support the 'sticky-bit' feature for directories. So
why not create a directory in your $HOME called '.tmp' with mode 700.
Now in /etc/profile add:

if [ -d "$HOME/.tmp" ]; then
EXINIT="set directory=$HOME/.tmp"
export EXINIT
TMPDIR="$HOME/.tmp"
export TMPDIR
fi

and in /etc/cshrc add:

if ( -d "$HOME/.tmp" ) then
setenv EXINIT "set directory=$HOME/.tmp"
setenv TMPDIR "$HOME/.tmp"
endif

Now most UNIX programs (like 'vi', 'elm', 'cc', 'gcc', etc...) will use
$HOME/tmp as a safer location for temp-files.


=========================================================
**** List of known bugs and patches under A/UX 3.x.x ****
---------------------------------------------------------

~~~~~~~~~~~~~~~
AWS Tune-Up 2.0
~~~~~~~~~~~~~~~
By far, this is the most important patch you could apply to A/UX 3.1.
It updates it to 3.1.1 and fixes lots of bugs as well as provides better
performance. The patch is in the form of 1 DiskCopy Image file which
can be found on jagubox.gsfc.nasa.gov and on aux.support.apple.com. You
download the files and then use DiskCopy to make the Installer disks.
This is a _free_ upgrade to 3.1 and requires 3.1. NOTE: A/UX 3.1.1
will _NOT_ run reliably on the MacII, MacIIx, MacIIcx or SE/30.

On jagubox, look in ~ftp/pub/aux/Apple.fixes/supported

~~~~~~~~~~~~~~~
AWS Tune-Up 1.0
~~~~~~~~~~~~~~~

By far, this is the most important patch you could apply to A/UX 3.0.1.
It updates it to 3.0.2 and fixes lots of bugs as well as provides better
performance. The patch is in the form of 2 DiskCopy Image files which
can be found on jagubox.gsfc.nasa.gov and on aux.support.apple.com. You
download the files and then use DiskCopy to make the Installer disks.
This is a _free_ upgrade to 3.0.1 and requires 3.0.1.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Performance related patches: 3.x.x
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

BNET:
*** Has an incredibly small listen() queue ***
*** which is a major pain for loaded WebServers ***
*** ***
*** 'adb' shell script that fixes this is ***
*** available on ftp1.jaguNET.com in /pub/aux ***
*** as well as on jagubox ***
{{{{{ }}}}}
{{{{{ Jim Jagielski (j...@jagubox.gsfc.nasa.gov) }}}}}

inetd:
*** Unofficial replacement is available ***
*** on jagubox.gsfc.nasa.gov in pub/aux/Daemons ***
*** This replacement is based on the BSD-reno inetd ***
*** and allows such nice features as rereading /etc/servers ***
*** on receiving SIGHUP, specifying options for ***
*** called daemons, logging when daemons ***
*** are spawned and which host requested the daemon ***
*** and providing host access control ***
{{{{{ }}}}}
{{{{{ Jim Jagielski (j...@jagubox.gsfc.nasa.gov) }}}}}
{{{{{ John Coolidge (cool...@apple.com) }}}}}

tc (tape driver device driver):
Reports incorrect file number when 'mt' is used to skip
files (fsf and/or bsf).
Doesn't allow for additional storage capability of extended
length tapes or hardware compression tape drives.
Doesn't work with Exabyte 8200s
*** ***
*** An unofficial replacement version of 'tc' has ***
*** has been written that fixes these bugs as well as ***
*** providing additional capability and support ***
*** for other drives ***
*** ***
*** 3.x.x replacement is available ***
*** on jagubox.gsfc.nasa.gov in pub/aux/Sys_stuff ***
{{{{{ }}}}}
{{{{{ Jim Jagielski (j...@jagubox.gsfc.nasa.gov) }}}}}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bugs and Fixes|Workarounds: 3.x.x
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~lp/model/at_interface:
Incorrectly prints multiple copies of input. For example,
"lp file.1 file.2" would print 2 copies of file.1 and just
one of file.2.
*** Due to '>>' being used instead of '>' in certain ***
*** places in at_interface. ***
*** Unofficial replacement is available ***
*** on jagubox.gsfc.nasa.gov in pub/aux/Sys_stuff ***
*** (entries in ~lp/interface based on at_interface ***
*** should also be changed/patched) ***
{{{{{ }}}}}
{{{{{ Jim Jagielski (j...@jagubox.gsfc.nasa.gov) }}}}}

atprint:
Doesn't correctly connect to the LaserWriter Pro 810.
*** Official replacement is available ***
*** on ftp.support.apple.com in /pub/aws95/atprint ***

syslogd:
Doesn't handle some facility (like 'news') logging correctly.
*** Unofficial replacement is available ***
*** on jagubox.gsfc.nasa.gov in pub/aux/Daemons ***
*** (contains new /etc/syslogd as well as syslog.h) ***
{{{{{ }}}}}
{{{{{ Jim Jagielski (j...@jagubox.gsfc.nasa.gov) }}}}}

in.telnetd:
Leaves ports open and hanging occasionally. Can cause kernel crashes.
*** Unofficial replacement is available ***
*** on jagubox.gsfc.nasa.gov ***
*** in pub/aux/Sys_stuff ***
{{{{{ }}}}}
{{{{{ Jim Jagielski (j...@jagubox.gsfc.nasa.gov) }}}}}
{{{{{ John Coolidge (cool...@apple.com) }}}}}
#### Please note that it appears that this new version has ####
#### some slight bugs in correctly handling Synchs and ####
#### options negotiation. I have only seen this using ####
#### VersaTerm Pro 3.6.2 and connecting to myself via telnet ####

/etc/startup.d/ao,as,ae6:
Ignores the Broadcast Address value in /etc/NETADDRS.
*** If your broadcast address needs to be different ***
*** then the default, you'll need to modify these scripts ***
*** to add 'broadcast "$broadcast"' to the 'ifconfig' ***
*** lines that _don't_ refer to Loopback. Pretty easy ***
*** but Email me if you have questions ***

/usr/include/dir.h:
If entered through dirent.h and _SYSV_SOURCE is defined,
rewinddir() is incorrectly "defined". It assumes that you are
linking -lposix and will use the "real" rewinddir() function
found there, when, in fact, you should #define rewinddir
as done with _BSD_SOURCE.
*** A hacked version of dir.h is available on ***
*** jagubox.gsfc.nasa.gov. It only assumes -lposix will ***
*** be included (and the real rewinddir() called) if ***
*** _only_ _POSIX_SOURCE is defined ***

/usr/include/sys/file.h:
Even though fcntl.h is smart enough to know if sys/file.h has
been included, and won't redefine things defined in there, the
reverse isn't true. So if you include sys/file.h 1st and fcntl.h
next, no warnings will be given, but if you do the reverse, some
"redefine" warnings will be printed.
*** A hacked version of file.h is available on ***
*** jagubox.gsfc.nasa.gov. It checks for __fcntl_h first ***
*** (if you are using 'gcc', you'll also need to snag it's ***
*** fixed header-file from jagubox: GNUfile.h) ***

/usr/include/sys/param.h:
MAXHOSTNAMLEN is defined as a ridiculously low value (32). It should
instead be set to what's "normal": 256.
*** Fix is very simple... edit /usr/include/sys/param.h ***
*** and change the value from 32 to 256 ***
*** (if you are using 'gcc', you'll also need to edit it's ***
*** include file [gcc/aux/?.?.?/include/sys/param.h] ***

/usr/include/sys/types.h:
Incorrectly defines size_t as signed int when every other header
file defines it as unsigned int.
*** Fix is very simple... edit /usr/include/sys/types.h ***
*** and change it from signed to unsigned ***

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bugs and Fixes|Workarounds: 3.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

chsh:
Resets the uid of nobody to 60001 (the MAXUID under 3.1 is 65534,
but 'chsh' thinks it's 60001).
*** Use 'vipw' to change this value back if needed ***

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bugs and Fixes|Workarounds: 3.0.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

elap:
A/UX-mac occasionally disappears under Chooser
*** Official 3.0.2 patch is now available ***
*** on aux.support.apple.com in aws95/elap ***

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Performance related patches: 3.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MacOS System Heap Expansion:
Not as robust as the _real_ System 7.0.1 capability, thus pre-
venting you from loading lots of memory hungry Extensions and
CDEVs.
*** Unofficial replacement is available ***
*** on jagubox.gsfc.nasa.gov ***
*** in pub/aux/Apple.fixes/unsupported/3.0 ***

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bugs and Fixes|Workarounds: 3.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

as, ao, etheraddr:
H/W ethernet address is burned in bitwise reverse on Q9?0
and Ethernet NB card. Thus, ao, as and etheraddr reports the
incorrect address.
*** 3.0 patch is now available ***
*** on aux.support.apple.com in supported/3.0 ***

BNU/HDB UUCP (the whole thing):
Severe problems as distributed, such as inability to dialout
with correctly configured modem, etc...
*** 3.0 patch is now available ***
*** on aux.support.apple.com in supported/3.0 ***
*** This "patch" is a newer version of HDB (to 1.16) ***
*** and adds some Mega-enhancements as well. ***
*** Thanks to Earl Wallace!!! ***
#### If you snagged version 1.14 from aux.support.apple.com ####
#### then be _sure_ to update to version 1.16. ####
#### ####
#### Installing BNU 1.6 causes syslogd to break under ####
#### new compiles. This is due to the fact that dial.o ####
#### is replaced in libc.a|libc_s.a when BNU is installed ####
#### To fix, just get the replacement dial.o ####
#### on ftp.apple.com in pub/earlw/dial ####

csh:
Doesn't seem to like filename completion.

pstat:
Depending on the options used, can gobble memory and not release
it.
*** Unofficial replacement is available ***
*** on jagubox.gsfc.nasa.gov ***
*** in pub/aux/Apple.fixes/unsupported/3.0 ***

rpc.rstatd:
Doesn't report correct load averages
*** Unofficial replacement is available ***
*** on jagubox.gsfc.nasa.gov ***
*** in pub/aux/Apple.fixes/unsupported/3.0 ***

serial drivers:
After some use on all Macs (except IIfx and maybe the Quadras)
the kernel will crash.
*** This has been confirmed by Apple but no fix exists yet!! ***

syslogd:
If BNU 1.6 is installed, syslogd won't work on newly compiled
programs due to some munging of libc.a|libc_s.a when BNU 1.6
is installed. See BNU/HDB UUCP above.


=========================================================
**** List of ported software available via anon-ftp: ****
---------------------------------------------------------

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Already ported and available:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(Included is the person responsible for the port and the location of the port)

3270 (v3.6):
Eric C Hagberg (hag...@mail.med.cornell.edu)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

Austin KCL (619):
Thomas Weigert (wei...@mcs.anl.gov)
wuarchive.wustl.edu [???]

apache (v1.0.0 thru v1.1)
Jim Jagielski (j...@jaguNET.com)
jagubox.gsfc.nasa.gov [pub/aux/Web_stuff]
ftp.apache.org [officially supported OS]

bash (1.12):
John Coolidge (cool...@apple.com)
wuarchive.wustl.edu [systems/aux/gnu]

Berkeley make:
Phillip P. Porch (ro...@theporch.com)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

Berkeley mandoc:
Phillip P. Porch (ro...@theporch.com)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

cut & paste (BSD versions):
Ken Whang (k...@touch.wustl.edu)
jagubox.gsfc.nasa.gov [pub/aux/Sys_stuff]

EBBS/BBS 2.2 (UNIX based BBS):
Jon Stevens (ro...@dolphin.csudh.edu)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

emacs 19.21:
Brent Burton (bre...@tamsun.tamu.edu)
isc.tamu.edu [pub/personal/brentb]
(The diffs that Brent used, done by Paul Traina, are available
on jagubox in the emacs diffs "collection" tarchive)

fortune:
Phillip P. Porch (ro...@theporch.com)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

freeWAIS (0.3):
Jon Stevens (ro...@dolphin.csudh.edu)
jagubox.gsfc.nasa.gov [pub/aux/Web_stuff]

fvwm (1.21z):
Renzo Marcanzin (ai...@maya.dei.unipd.it)
maya.dei.unipd.it [pub?]

gated (2.1.3)
Herb Weiner (he...@wiskit.com)
jagubox.gsfc.nasa.gov [pub/aux/Patches]

gcc (2.7.2):
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/GNU_stuff]
(See Q&A #P.03)

gdb (4.12):
John Coolidge (cool...@apple.com)
wuarchive.wustl.edu [systems/aux/gnu]
jagubox.gsfc.nasa.gov [pub/aux/GNU_stuff]

GNUplot (3.5):
Eric Rosen (er...@cse.ucsc.edu)
jagubox.gsfc.nasa.gov [pub/aux/GNU_stuff]

GNUtar (1.11.2):
Dennis Govoni (dennis...@East.Sun.COM)
jagubox.gsfc.nasa.gov [pub/aux/GNU_stuff]

GNUzip (1.2.4):
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/GNU_stuff]

httpd (1.4):
Jim Jagielski (j...@jaguNET.com)
ftp.ncsa.uiuc.edu [Web/Unix]

inetd (BSD/Reno)
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
John Coolidge (cool...@apple.com)
jagubox.gsfc.nasa.gov [pub/aux/Daemons]

last (BSD version):
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
Ken Whang (k...@touch.wustl.edu)
jagubox.gsfc.nasa.gov [pub/aux/Sys_stuff]

lemacs (19.6):
Thomas Eberhardt
labrea.Stanford.EDU [pub/gnu/lucid]
<<ED: I don't think it's there anymore... anybody know
where a copy might be?>>

libg++ (2.5.3):
John Coolidge (cool...@apple.com)
wuarchive.wustl.edu [systems/aux/gnu]
jagubox.gsfc.nasa.gov [pub/aux/GNU_stuff]

logging in.ftpd:
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Daemons]
(See Q&A #A.06)

md5:
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Security]

Mosaic (diffs for 2.2):
Eric Rosen (er...@cse.ucsc.edu)
jagubox.gsfc.nasa.gov [pub/aux/Web_stuff]

Mosaic (2.4 binary):
jagubox.gsfc.nasa.gov [pub/aux/Web_stuff]

msgs:
Phillip P. Porch (ro...@theporch.com)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

mt2 (replacement for 'mt' tape positioner program... not really
needed since NEWtc is available that fixes the need for mt2):
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Sys_stuff]

mtools (MS DOS floppy access tools):
Parag Patel (pa...@netcom.com)
jagubox.gsfc.nasa.gov [pub/aux/GNU_stuff]

named:
Various A/UXers
PS: DON'T replace the header files and don't
let 'make' install the files... instead, install
them by hand. Specifically, copy the 'named' and
'named-xfer' files from './named' to the correct
location (usually /etc) on your system. _There
is NO need to install or use ANY of the header
(*.h) or library (*.a) files in the distribution_!!
Just replace the binaries, not the include-files!
(PS: There is also no need to recompile your programs
as well)

patch:
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

perl (4.036):
perl (5.001e):
perl (5.002):
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

pine 3.90:
Phillip P. Porch (ro...@theporch.com)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

popper:
Ben Goren (b...@tux.fa.asu.edu)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

popper-shadow:
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

+ portmap 4:
+ Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
+ jagubox.gsfc.nasa.gov [pub/aux/Daemons]

sendmail 5.65:
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Daemons]
(See Q&A #C.02)

sendmail.cf:
Alexis Rosen (ale...@panix.com)
jagubox.gsfc.nasa.gov [pub/aux/UUCP-sendmail-cf]
(See Q&A #A.06)

shadow-passwd:
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Sys_stuff]

showaudio:
Eric Rosen (er...@cse.ucsc.edu)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

smail 3.1.28:
Bob Denny (de...@alisa.com)
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Daemons]

+ ssh-1.2.17:
+ <<later versions compile easily out of the box>>
+ Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
+ jagubox.gsfc.nasa.gov [pub/aux/Daemons]

talk and talkd (BSD 4.3 versions)
Steve Green (xr...@dirac.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Daemons]
(See Q&A #C.05)

+ tcp_wrappper 7.4:
+ Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
+ jagubox.gsfc.nasa.gov [pub/aux/Daemons]

tcsh (6.03):
jagubox.gsfc.nasa.gov [pub/aux/GNU_stuff]

texinfo (3.1):
Phillip P. Porch (ro...@theporch.com)
jagubox.gsfc.nasa.gov [pub/aux/GNU_stuff]

vim (4.2):
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/unix/vim]

vtwm (5.1):
Dennis Govoni (dennis...@East.Sun.COM)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

WUARCHIVE ftpd (2.4):
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Daemons]
(See Q&A #A.06)

xmeter:
Eric Rosen (er...@cse.ucsc.edu)
jagubox.gsfc.nasa.gov [pub/aux/Utilties]

xntpd (3.3zd):
Jim Jagielski (j...@jagubox.gsfc.nasa.gov)
John Dundas III (dun...@salt.jpl.nasa.gov)
jagubox.gsfc.nasa.gov [pub/aux/Daemons]

zmodem:
Jon Stevens (ro...@dolphin.csudh.edu)
jagubox.gsfc.nasa.gov [pub/aux/Utilities]

~~~~~~~~~~~
Easy to do:
~~~~~~~~~~~

The following have also been successfully ported to A/UX with minimal trouble.
Since the ports are pretty straightforward, only a few are actually available
in their ported form (please see Q&A #P.01). Please note that most of these
require or assume using 'gcc.'

<< ED: As a general rule of thumb, most of the ports that I've done use
gcc and GNUmake... provided patches may assume or require these >>

o Cnews (Ver. ??)
o Deliver (v2.1 pl. 9 or later)
# Elm 2.4.23
(use -lbsd and edit config.sh and "undef" d_locale or else
follow the advice of P.08, below)
o Ghostscript 2.3
# GNU Stuff (all are pretty much straight-forward and compile
"right out of the box"):
binutils 1.9
# bison 1.22
# diffutils 2.3
emacs 19.[19-22]
(diffs on jagubox in the emacs diffs "collection" tarchive)
# fileutils 3.6
# find 3.8
(to allow 'find' to recognize user=nobody, compile with 'cc')
flex 2.3.7
gawk 2.1.5
(use '-traditional' with gcc)
# gdbm 1.7.1
# grep 2.0
# gzip 1.2.4
# indent 1.9.1
# make 3.71
# pgp 2.6/2.6.1 (from bitsy.mit.edu)
# ripem 1.2 (from ripem.msu.edu)
# sed 1.1.6
# sed 2.0.3
shellutils 1.8
Smalltalk 1.1.1
# tar 1.11.2
(requires '-lbsd -lposix')
# textutils 1.6
# gopher/gopherd 2.016 [from boombox.micro.umn.edu]
(diffs available on jagubox)
o Gwm 1.7h
# httpd 1.4.2/1.5 [from ftp.ncsa.uiuc.edu]
(compiles right outta the book. Officially supports A/UX).
o INN 1.4 (get 'INN.config.data' files from jagubox)
Please note that INN is an _extreme_ memory hog, esp.
when compiled using gcc. If you use it, be _sure_
that you have enough memory and swap space. It helps
a LOT if you don't run the Finder interface as well.
# less 177
# listproc 6.0c (was: listserv)
(compile w/ -DDONT_GO_INTERACTIVE; and use GNUmake)
# lynx 2.3 [from FTP2.cc.ukans.edu]
(diffs available on jagubox)
# NetHack
# mush 7.2.5 (Use either 'cc -DAUX' or 'gcc -traditional';
make sure SIGRET=int; use INTERNAL_MALLOC; use makefile.sys.v)
# named
(compiles right outta the book. Officially supports A/UX;
however, don't let it install itself. instead, install
them by hand. Specifically, copy the 'named' and
'named-xfer' files from './named' to the correct
location (usually /etc) on your system. _There
is NO need to install or use ANY of the header
(*.h) or library (*.a) files in the distribution_!!
Just replace the binaries, not the include-files!
(PS: There is also no need to recompile your programs
as well))
# nn 6.4.18
(A/UX configuration file available on jagubox)
# nn 6.5.0(b3)
(A/UX configuration file available on jagubox)
# nntp 1.5.11
# perl 4.035
(use '-lm -lPW -ldbm -lbsd', get "fixed" dir.h to
avoid needing -lposix for rewinddir(), use gcc if
possible, make sure d_voidsig is correct ("define" if
using ANSI, "undef" if not), and undef d_ndbm while
defining d_dbm in config.sh).
# perl 4.036
(Don't answer "aux" but instead let the configure script
work it's magic -- hints for 4.035 also apply)
# perl 5.003
# portmap ("secure" version on ftp.win.tue.nl).
# rn 4.3.54
# rn 4.4.1
o SB Prolog 3.1
(minor changes in the builtin directory)
# sendmail 8.6.12/8.7.?
(compiles right outta the book. Officially supports A/UX).
# smail 3.1.28
(get the AUXsmail.tar.gz file on jagubox for
A/UX diffs and patches)
# tcpd 6.3 [from ftp.win.tue.nl]
# tcsh (compiles out of the box)
# trn 3.0
+ # vim 4.00 (non-GUI, and add -D_POSIX_SOURCE and -lposix)
# xntpd (see above)

////////////////////// END OF PART 1 OF 4 \\\\\\\\\\\\\\\\\\\\\\
--
#include <std/disclaimer.h>
| Jim Jagielski | j...@jagubox.gsfc.nasa.gov | V: 301 286-5964 |
| NASA/GSFC, Code 734.4 | Greenbelt, MD 20771 | F: 301 286-1737 |
<< "Suspicion is the sure sign of a little mind" >>

0 new messages