home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso / answers / sgi / faq / admin next >
Encoding:
Internet Message Format  |  1994-10-06  |  65.7 KB

  1. Path: bloom-beacon.mit.edu!grapevine.lcs.mit.edu!olivea!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!news.tamu.edu!sgi-faq
  2. From: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  3. Newsgroups: comp.sys.sgi.misc,comp.answers,news.answers
  4. Subject: SGI admin Frequently Asked Questions (FAQ)
  5. Supersedes: <admin_780040807@viz.tamu.edu>
  6. Followup-To: comp.sys.sgi.misc
  7. Date: 6 Oct 1994 06:00:10 GMT
  8. Organization: Visualization Lab, Texas A&M University
  9. Lines: 1683
  10. Approved: news-answers-request@mit.edu
  11. Expires: 3 Nov 1994 06:00:07 GMT
  12. Message-ID: <admin_781423207@viz.tamu.edu>
  13. Reply-To: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  14. NNTP-Posting-Host: viz.tamu.edu
  15. Originator: sgi-faq@viz
  16. Xref: bloom-beacon.mit.edu comp.sys.sgi.misc:13795 comp.answers:7656 news.answers:26907
  17.  
  18. Archive-name: sgi/faq/admin
  19. Last-modified: Thu Oct  6  1:00:03 CDT 1994
  20.  
  21.     SGI admin Frequently Asked Questions (FAQ)
  22.  
  23. This is one of the Silicon Graphics FAQ series, which consists of:
  24.  
  25.     SGI admin FAQ - IRIX system administration
  26.     SGI apps FAQ - Applications and miscellaneous programming
  27.     SGI audio FAQ - Audio applications and programming
  28.     SGI graphics FAQ - Graphics and user environment customization
  29.     SGI hardware FAQ - Hardware
  30.     SGI Impressario FAQ - IRIS Impressario
  31.     SGI Inventor FAQ - IRIS Inventor
  32.     SGI misc FAQ - Introduction & miscellaneous information
  33.     SGI movie FAQ - Movies
  34.     SGI Performer FAQ - IRIS Performer
  35.     SGI pointer FAQ - Pointer to the other FAQs
  36.  
  37. Read the misc FAQ for information about the FAQs themselves.  Each FAQ
  38. is posted to comp.sys.sgi.misc and to the news.answers and comp.answers
  39. newsgroups (whose purpose is to store FAQs) twice per month.  If you
  40. can't find one of the FAQs with your news program, you can get it by
  41. anonymous FTP from one of these sites:
  42.  
  43.     rtfm.mit.edu:/pub/usenet/comp.sys.sgi.misc/
  44.     rtfm.mit.edu:/pub/usenet/news.answers/sgi/faq/
  45.     rtfm.mit.edu:/pub/usenet/comp.answers/sgi/faq/
  46.     viz.tamu.edu:/pub/sgi/faq/
  47.  
  48. Note that rtfm.mit.edu is home to many other FAQs and informational
  49. documents, and is a good place to look if you can't find an answer
  50. here. If you can't use FTP, send mail to mail-server@rtfm.mit.edu with
  51. the command 'send usenet/news.answers/ftp-list/faq' on a line by itself
  52. in the text, and it will send you a document describing how to FTP by
  53. mail. You can also read a hypertext version of the FAQs at
  54.  
  55.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/sgi/top.html
  56.  
  57. The SGI FAQs are freely distributable and we encourage wide circulation.
  58. The contents are accurate as far as we know, but the usual disclaimers
  59. apply. Please send additions and changes to sgi-faq@viz.tamu.edu.
  60.  
  61. Topics covered in this FAQ:
  62. ---------------------------
  63.    -1- DIAGNOSTICS
  64.    -2- How can I determine which release of IRIX I'm running?
  65.    -3- How can I determine my SGI's Ethernet (and/or FDDI) address?
  66.    -4- My SGI crashed and generated a file, /usr/adm/crash/vmcore.1. How
  67.        can I examine this file to see what crashed my system?
  68.    -5- DISKS
  69.    -6- Why is /debug or /proc full of huge files?
  70.    -7- How do I extend an existing filesystem onto a new disk?
  71.    -8- How do I know if I need more memory and/or swap space?
  72.    -9- How much swap space should I have per megabyte of memory?
  73.   -10- How can I increase my swap space?
  74.   -11- What are virtual and logical swap space? How do they work in IRIX
  75.        3.x, 4.0.x and 5.x?
  76.   -12- BOOTING
  77.   -13- How can I boot directly into single-user mode?
  78.   -14- How can I boot from a non-default disk?
  79.   -15- How can I boot my machine using a server on the other side of a
  80.        router?
  81.   -16- How do I make a bootable tape from an IRIX 4.0.X CD?
  82.   -17- Why can't I boot one of the stand-alone programs on a tape or CD?
  83.   -18- INSTALLING
  84.   -19- Is it possible to remotely install IRIX over a network?
  85.   -20- Which IRIX CD is the program 'foo' on?
  86.   -21- How can I extract a single file from an 'inst' subsystem?
  87.   -22- Why doesn't 'inst' work?
  88.   -23- Why doesn't 'inst' work remotely?
  89.   -24- I reinstalled an IRIX subsystem to restore a missing file or get
  90.        rid of a corrupted file, but it didn't help. Why not?
  91.   -25- How can I install IRIX onto a second disk which I can then move
  92.        to another machine?
  93.   -26- How can I copy my system disk onto a second disk which I can then
  94.        move to another machine?
  95.   -27- NETWORKING
  96.   -28- How can I measure my network's reliability?
  97.   -29- How do I add a static route?
  98.   -30- How can I make the 'slip' command advertise the Ethernet address
  99.        of the SLIP client?
  100.   -31- I've just edited inetd.conf, and nothing changed. Why?
  101. ! -32- Why isn't the objectserver working?
  102.   -33- What is sending packets to the sgi-dog.mcast.net multicast
  103.        address?
  104.   -34- MAIL
  105.   -35- How can I set up 'sendmail' to pass 8-bit characters?
  106.   -36- Why are my mailbox files changing ownership?
  107.   -37- Why isn't a valid user getting their mail?
  108.   -38- How can SGIs and Suns share a mail spool?
  109.   -39- What's an "unknown mailer error"?
  110.   -40- What's "mailbox: Error 0"?
  111.   -41- Why can't I receive mail on an IRIX 5.2 machine with an NFS-
  112.        mounted mail spool?
  113.   -42- NFS
  114.   -43- How can I tell what hostname to use in /etc/exports?
  115.   -44- Why can't I export an NFS-mounted filesystem?
  116.   -45- Why can't Ultrix automount SGI filesystems?
  117.   -46- Why does 'tar' work strangely on a filesystem mounted from an
  118.        SGI?
  119.   -47- Is 'pcnfsd' available for the SGI?
  120.   -48- Can I export a CD-ROM from my SGI to a non-SGI?
  121.   -49- Why can't I export an ISO 9660 CD-ROM using NFS?
  122.   -50- How can I read an IRIX (EFS) CD-ROM on a machine which doesn't
  123.        use EFS?
  124.   -51- PRINTING
  125.   -52- Why can't 'lp' read my file?
  126.   -53- How can I use 'lpr' to print to my local printer?
  127.   -54- How can I use 'lp' to print to an 'lpr'-controlled printer?
  128.   -55- How can I tell 'lp' to turn banner printing or page reversal off
  129.        or on?
  130.   -56- SECURITY
  131.   -57- Where can I learn about Unix and IRIX security?
  132. ! -58- How can I configure IRIX more securely?
  133.   -59- How can I log more information about logins?
  134.   -60- How can I make an anonymous or restricted FTP account?
  135.   -61- How can I get X authorization to work?
  136.   -62- What security-related bugs does IRIX have?
  137.   -63- I think I've found a security hole in IRIX; whom do I notify at
  138.        SGI?
  139.   -64- BUGS
  140.   -65- Why is my network license daemon ('netlsd') exiting?
  141.   -66- Why isn't /usr/adm/SYSLOG being updated?
  142.   -67- What's this 'iotim' error in my syslog?
  143.   -68- Why do 'who', 'rusers', etc. show users who aren't really logged
  144.        in?
  145.   -69- What's wrong with ftpd in IRIX 5.2?
  146.   -70- Why do some programs parse /etc/fstab incorrectly?
  147.   -71- My Indigo's Ethernet performance is dog-slow. What gives?
  148.   -72- My Indigo running 4.0.5IOP is getting SIGSEGVs and crashing. What
  149.        gives?
  150.   -73- Why is my Indigo2 panicking?
  151.   -74- Why can't I 'rdist' files between Suns and SGIs?
  152.   -75- I just edited /etc/inittab, and now I can't start up or shut down
  153.        my SGI! What's wrong?
  154.   -76- MISCELLANEOUS
  155.   -77- How do I set the number of processes allowed on my machine?
  156.   -78- Where can I get a termcap file for 'iris-ansi-net' to install on
  157.        my non-SGI system?
  158.   -79- Can I change my full name or login shell without being superuser?
  159.   -80- How can I administer my Iris without a graphics terminal?
  160.   -81- Can I use the visual admin tools on a system with graphics to
  161.        administer a system without graphics?
  162.   -82- Can I put my own picture in the 'clogin' display?
  163.  
  164. ----------------------------------------------------------------------
  165.  
  166. Subject:    -1- DIAGNOSTICS
  167. Date: 15 May 94 00:00:01 EST
  168.  
  169. These questions discuss how to find out things about your system.
  170.  
  171. ------------------------------
  172.  
  173. Subject:    -2- How can I determine which release of IRIX I'm running?
  174. Date: 07 Feb 94 00:00:01 CST
  175.  
  176. 'uname -a' gives you all the kernel info; see the uname(1) manpage for
  177. other options.
  178.  
  179. Of more general use, since kernels don't always reflect installed
  180. software, is the 'versions' command.  'versions' with no arguments
  181. lists all the installed software subsystems.
  182.  
  183. IRIX 5.2's System Manager ('chost') has the IRIX version number under
  184. "IRIX Version" and a listing of installed software under "Software"
  185. (the "Show Installed" button).
  186.  
  187. ------------------------------
  188.  
  189. Subject:    -3- How can I determine my SGI's Ethernet (and/or FDDI)
  190.                 address?
  191. Date: 07 Feb 94 00:00:01 CST
  192.  
  193. Many thanks to Miguel Sanchez <miguel@oasis.csd.sgi.com> for providing
  194. the original version of the following discussion, and to Dave Olson
  195. <olson@sgi.com> for comments. Andrew Cherenson
  196. <arc@sgi.com> reminded us that all these methods except
  197. the first apply to FDDI as well, but we'll just say "Ethernet" below.
  198.  
  199. Every system on an Ethernet network must have a unique Ethernet address
  200. for the network to operate properly. The physical Ethernet address of
  201. your system is the unique number assigned to the Ethernet hardware on
  202. your system. This unique number is assigned to the manufacturer of your
  203. Ethernet hardware by the IEEE (formerly by Xerox, one of the original
  204. developers of Ethernet). This is not to be confused with the IP
  205. address, which can be set arbitrarily.
  206.  
  207. You may need to determine your system's Ethernet address if your
  208. network manager requires it before connecting your system to a
  209. network.  How to do so depends on whether IRIX is running and what
  210. operating system version is loaded.  Method 1 only provides the
  211. Ethernet address of the primary interface.  If you have multiple
  212. Ethernet interfaces (boards) in a system, use method 2, 3, 4 or 5 to
  213. determine the address(es) of any other interface(s).
  214.  
  215. METHOD 1: eaddr
  216.  
  217.     If IRIX is not running, and the system is a Personal IRIS (4D20,
  218.     25, 30, or 35), Indigo, Crimson, Onyx or Challenge, you can obtain
  219.     the Ethernet address by typing 'eaddr' (older machines) or
  220.     'printenv eaddr' (newer) at the PROM monitor prompt.  On some
  221.     machines (4D30 or later) you can say 'nvram eaddr' while IRIX is
  222.     running to get the same result.
  223.  
  224. METHOD 2: netstat
  225.  
  226.     Under IRIX 4.0.1 or later, you can use the netstat command. For
  227.     example,
  228.  
  229.     % /usr/etc/netstat -ia
  230.     Name  Mtu    Network   Address            Ipkts   Ierrs   Opkts  Oerrs  Coll
  231.     ec0   1500   siligrph  luey7              7765678 21648  384477     0  30338
  232.                 192.48.200.251
  233.                 192.0.0.1
  234.                 08:00:69:06:17:c2
  235.     lo0   32880  loopback localhost           41438       0   41438     0      0
  236.                 192.0.0.1
  237.  
  238.     As seen on the fourth address line, the address of the system
  239.     luey7's primary Ethernet interface, "ec0", is 08:00:69:06:17:c2.
  240.  
  241. METHOD 3: arp
  242.  
  243.     You can obtain the Ethernet address of a Silicon Graphics system by
  244.     using another system on your network. 'ping' the system whose
  245.     Ethernet address you want, then use 'arp'. For example,
  246.  
  247.     % /usr/etc/ping -c 1 luey6
  248.     PING luey6.sgi.com (192.48.200.250): 56 data bytes
  249.     64 bytes from 192.48.200.250: icmp_seq=0 ttl=255 time=0 ms
  250.     ----luey6.sgi.com PING Statistics----
  251.     3 packets transmitted, 3 packets received, 0% packet loss
  252.     round-trip (ms)  min/avg/max = 0/0/0
  253.     % /usr/etc/arp luey6
  254.     luey6 (192.48.200.250) at 8:0:69:6:c:40
  255.     %
  256.  
  257. METHOD 4: NetVizualyzer/FDDIVizualyzer and the like
  258.  
  259.     SGI's NetVizualyzer/FDDIVizualyzer network monitoring software and
  260.     at least one public domain equivalent ('netman', at
  261.     ftp.cs.curtin.edu.au:/pub/netman/) allow you to find the Ethernet
  262.     address corresponding to any IP address. Read the manual.
  263.  
  264. METHOD 5: System Manager
  265.  
  266.     The Network Setup part ('cnet') of IRIX 5.2's System Manager tool
  267.     ('chost') shows the Ethernet address of each interface.
  268.  
  269. 4DDN: A Special Case
  270.  
  271.     DECnet uses a one-to-one relationship between the DECnet node ID
  272.     and the Ethernet address. If the DECnet address is changed the
  273.     Ethernet address is changed. DECnet Ethernet addresses always start
  274.     with aa:, so you can identify systems running DECnet with 'arp -a'.
  275.  
  276.     4DDN is Silicon Graphics' DECnet interconnection product. The
  277.     Ethernet address of an IRIS running 4DDN will change when 4DDN is
  278.     started.  Method 1 will return the original Ethernet address for
  279.     the system.  Methods 2-5 will show the Ethernet address currently
  280.     in use.
  281.  
  282. sysinfo
  283.  
  284.     /etc/sysinfo is intended to return a unique identifier, which on
  285.     some machines includes part or all of the Ethernet address. This is
  286.     best regarded as an amusing coincidence, like HAL's name in "2001".
  287.     Don't rely on it.
  288.  
  289. ------------------------------
  290.  
  291. Subject:    -4- My SGI crashed and generated a file,
  292.                 /usr/adm/crash/vmcore.1. How can I examine this file to
  293.                 see what crashed my system?
  294. Date: 12 Jul 94 00:00:01 EST
  295.  
  296. For a start, you can use 'dbx' like so:
  297.  
  298.   dbx -k /usr/adm/crash/{unix,vmcore}.#
  299.   t
  300.   &putbuf/1000s
  301.  
  302. Some machines have a special 'dbx' for crash dumps,
  303. /usr/adm/crash/dbx.  If it exists, use it instead of /usr/bin/dbx.
  304.  
  305. IRIX 5.x includes a script, 'crpt', which does this and more
  306. automagically. A copy of the IRIX 5.2 version lives at
  307. viz.tamu.edu:/pub/sgi/software/crpt/.
  308.  
  309. ------------------------------
  310.  
  311. Subject:    -5- DISKS
  312. Date: 15 May 94 00:00:01 EST
  313.  
  314. These questions deal with disks and swap space.
  315.  
  316. ------------------------------
  317.  
  318. Subject:    -6- Why is /debug or /proc full of huge files?
  319. Date: 10 Dec 93 00:00:01 EST
  320.  
  321. Those aren't disk files, they're interfaces to running processes.  Read
  322. the debug(4) and/or proc(4) manpages.
  323.  
  324. ------------------------------
  325.  
  326. Subject:    -7- How do I extend an existing filesystem onto a new disk?
  327. Date: 24 Jan 94 00:00:01 EST
  328.  
  329. Back up the existing filesystem (just in case) then run 'mklv' and
  330. 'growfs'. 'mklv' and 'growfs' are nondestructive, so you don't need to
  331. restore the backup unless you screw up. Don't use 'mkfs', which does
  332. destroy existing data.
  333.  
  334. ------------------------------
  335.  
  336. Subject:    -8- How do I know if I need more memory and/or swap space?
  337. Date: 20 Feb 94 00:00:01 EST
  338.  
  339. If processes are killed due to lack of memory/swap, you need more
  340. memory and/or swap space. If your CPU is always waiting for swapping
  341. (run 'osview' and look at the "%Swap" entry under "Wait Ratio") you
  342. need more memory.
  343.  
  344. ------------------------------
  345.  
  346. Subject:    -9- How much swap space should I have per megabyte of
  347.                 memory?
  348. Date: 20 Feb 94 00:00:01 EST
  349.  
  350. An oft-recommended ratio is X memory:2.5 X swap, but this may be too
  351. slow. Decide how much of your favorite program (plus IRIX) needs to be
  352. resident for good performance and how much doesn't, and make sure you
  353. have enough memory for the former and enough memory plus swap for the
  354. latter. Put "rmem" and "swp" in your ~/.grosview file, run 'gr_osview'
  355. and run your favorite program to see what it needs.
  356.  
  357. ------------------------------
  358.  
  359. Subject:   -10- How can I increase my swap space?
  360. Date: 26 Jul 94 00:00:01 EST
  361.  
  362. The Jan/Feb 93 and May/Jun 94 Pipelines have detailed writeups on how to
  363. do this in IRIX 4.0.x and 5.x respectively. The Jul/Aug Pipeline has a
  364. correction to the latter article. If you like you can call the TAC and
  365. have them fax you the very latest version.
  366.  
  367. ------------------------------
  368.  
  369. Subject:   -11- What are virtual and logical swap space? How do they
  370.                 work in IRIX 3.x, 4.0.x and 5.x?
  371. Date: 05 Jul 94 00:00:01 EST
  372.  
  373. Two terms whose meanings should already be clear: Physical swap space
  374. is an area on disk, either a partition or (in IRIX 5.x) a swap file.
  375. Virtual memory is the sum of physical memory and swap space.
  376.  
  377. IRIX 3.x accepts a memory request only if enough virtual memory is
  378. free. Even if a process isn't using most of the memory it requested
  379. (which happens often, e.g. when a large process forks and execs a small
  380. process, or with Fortran 77 programs which allocate all storage
  381. statically), its memory is unavailable to other processes until it
  382. exits. IRIX 3.x has no virtual or logical swap space.
  383.  
  384. In IRIX 4.0.x, IRIX accepts every memory request, and does not allocate
  385. virtual memory until a process actually tries to use it. This allows
  386. programs which request more memory than they use to run with much less
  387. memory than would otherwise be required. If too many processes actually
  388. use their memory requests so that virtual memory is in danger of filling
  389. up, IRIX kills one or more processes. IRIX usually kills the process
  390. which is using the most virtual memory, which may well not be the
  391. process which most recently requested virtual memory.
  392.  
  393. IRIX 5.x works like IRIX 4.0.x, but one can set the amount of virtual
  394. memory which IRIX is allowed to overallocate. This amount is called
  395. "virtual swap space". "Logical swap space" is the sum of physical and
  396. virtual swap. There is no virtual swap space by default, so IRIX 5.x
  397. behaves like IRIX 3.x. One can set virtual swap to any amount of memory;
  398. if it is set sufficiently high, memory requests will always be granted,
  399. just like IRIX 4.0.x. Using jargon retroactively, IRIX 4.0.x has an
  400. infinite amount of virtual swap space.
  401.  
  402. Large or infinite amounts of virtual swap space work well for many
  403. people, because most programs don't use all the virtual memory they
  404. request, at least not at once. If your programs do use all their virtual
  405. memory, they'll be killed and you'll see "Process killed due to
  406. insufficient memory/swap" messages in your SYSLOG.
  407.  
  408. Under IRIX 4.0.x, you can only turn virtual swap off completely. Set the
  409. kernel variable availsmem_accounting to 1: edit
  410. /usr/sysgen/master.d/kernel, do 'autoconfig -f' and reboot. Doing so
  411. makes IRIX 4.0.x behave like IRIX 3.x, allocating memory only if it is
  412. actually available.
  413.  
  414. Under IRIX 5.x, you can turn virtual swap on or off by doing 'chkconfig
  415. vswap off' or 'chkconfig vswap on', or change the size of virtual swap
  416. by editing /etc/config/vswap.options, and rebooting. You can also use
  417. 'swap -v' to do any of these things directly and without rebooting.
  418.  
  419. Remember that IRIX 5.x comes with virtual swap turned off and set to
  420. zero.  If you were happy with IRIX 4.0.x, you should turn virtual swap
  421. on and set its size to a very large number. If programs are killed,
  422. decrease the size of virtual swap or turn it off.
  423.  
  424. See the swap(1M) and swapctl(2) manpages for details.
  425.  
  426. ------------------------------
  427.  
  428. Subject:   -12- BOOTING
  429. Date: 15 May 94 00:00:01 EST
  430.  
  431. As the song says, "There must be fifty ways to boot your Iris."
  432.  
  433. ------------------------------
  434.  
  435. Subject:   -13- How can I boot directly into single-user mode?
  436. Date: 20 Feb 94 00:00:01 EST
  437.  
  438. Use the PROM monitor's 'single' command.
  439.  
  440. For machines earlier than 4D35s, whose PROMs don't have that command,
  441. say 'boot dksc(0,1,0)unix initstate=s'. Replace 'dksc(0,1,0)' with the
  442. appropriate device and partition if your boot volume is something other
  443. than a SCSI device partitioned in the standard manner; see the chapter
  444. on the PROM monitor in the "Advanced Site and Server Administration
  445. Guide".
  446.  
  447. ------------------------------
  448.  
  449. Subject:   -14- How can I boot from a non-default disk?
  450. Date: 20 Jan 94 00:00:01 CST
  451.  
  452. Says Justin Mason <jmason@iona.ie>: If your disk is SCSI ID 4, do
  453.  
  454.   boot -f dksc(0,4,8)sash dksc(0,4,0)unix root=dks0d4s0
  455.  
  456. or
  457.  
  458.   setenv bootfile dksc(0,4,8)sash
  459.   setenv path dksc(0,4,8)
  460.   setenv root dks0d4s0            # This is the tricky part 
  461.   auto
  462.  
  463. from the PROM. The first method works once, so that subsequent reboots
  464. use SCSI ID 1, and the second method sets the PROM to boot from ID 4
  465. every time (until you reset the PROM variables).
  466.  
  467. ------------------------------
  468.  
  469. Subject:   -15- How can I boot my machine using a server on the other
  470.                 side of a router?
  471. Date: 24 Jan 94 00:00:01 EST
  472.  
  473. Tell the router to forward BOOTP packets. If it can't, NFS-mount the
  474. remote volumes on another machine on the same subnet and use the nearby
  475. machine for your boot server.
  476.  
  477. ------------------------------
  478.  
  479. Subject:   -16- How do I make a bootable tape from an IRIX 4.0.X CD?
  480. Date: 20 Feb 94 00:00:01 EST
  481.  
  482. See the Sep/Oct 93 Pipeline for a detailed description, or just follow
  483. Dave Olson <olson@sgi.com>'s summary: Take a look at the distcp(1M)
  484. manpage, and do something like
  485.  
  486.     tapehost# mount -o ro cdhost:/CDROM /mnt
  487.     tapehost# distcp /mnt/dist /dev/nrtape
  488.  
  489. Note that 'fx', 'ide', and 'sash' for all machines are in the dist/sa
  490. file.  'sa' is an image of the first part of the tape; use 'mkbootape
  491. -f sa -l' to see the contents.
  492.  
  493. ------------------------------
  494.  
  495. Subject:   -17- Why can't I boot one of the stand-alone programs on a
  496.                 tape or CD?
  497. Date: 03 Apr 94 00:00:01 EST
  498.  
  499. One reason is that some CPU names are preceded by periods and some
  500. aren't. Another is that the Indigo R4000 and later CPUs use the suffix
  501. 'ARCS', not 'IP20' or whatever as one might expect from 'hinv'. For
  502. example, the correct command to boot fx directly from the PROM monitor
  503. on an Indigo R4000 is 'boot -f dksc(ctlr,unit,8)sashARCS
  504. dksc(ctlr,unit,7)stand/fx.ARCS'. Note the use of 'ARCS' instead of
  505. 'IP20' and the missing period in 'sashARCS'.
  506.  
  507. ------------------------------
  508.  
  509. Subject:   -18- INSTALLING
  510. Date: 15 May 94 00:00:01 EST
  511.  
  512. These questions discuss software installation.
  513.  
  514. ------------------------------
  515.  
  516. Subject:   -19- Is it possible to remotely install IRIX over a network?
  517. Date: 20 May 93 00:00:01 CST
  518.  
  519. Yes. You can install IRIX from a remote machine which has a CD-ROM, a
  520. tape drive, or an IRIX distribution directory.  All of these scenarios
  521. (and several others) are described in detail in the "IRIS Software
  522. Installation Guide".  Examples are provided.
  523.  
  524. ------------------------------
  525.  
  526. Subject:   -20- Which IRIX CD is the program 'foo' on?
  527. Date: 25 May 94 00:00:01 EST
  528.  
  529. Mount the CD and try 'grep foo /CDROM/dist/*.idb'. If you don't get any
  530. output, 'foo' isn't on that CD. If you do, it is, and one of the fields
  531. is the subsystem in which 'foo' lives. Entries in *.idb files don't
  532. have a leading slash so you must leave it out if you grep for a full
  533. path, e.g. 'grep usr/bin/lp /CDROM/dist/*.idb', not 'grep /usr/bin/lp
  534. /CDROM/dist/*.idb'.
  535.  
  536. ------------------------------
  537.  
  538. Subject:   -21- How can I extract a single file from an 'inst'
  539.                 subsystem?
  540. Date: 25 May 94 00:00:01 EST
  541.  
  542. 'inst' guru Paul Jackson <pj@sgi.com> reveals all:
  543.  
  544. - Find the subsystem in which the file lives, as described in the
  545.   previous question. For this example we'll extract /sbin/ed, which
  546.   lives in eoe1.sw.unix.
  547.  
  548. - Follow the bouncing prompt:
  549.  
  550.   > su
  551.   > cd /usr/tmp
  552.   > mkdir -p tmproot/var/inst
  553.   > inst -f /CDROM/dist/eoe1 -r /usr/tmp/tmproot
  554.   > Inst> keep *
  555.   > Inst> install eoe1.sw.unix
  556.   > Inst> go
  557.   > Inst> q
  558.   > ls -l /usr/tmp/tmproot/sbin/ed
  559.   -rwxr-xr-x    1 root     sys        75480 May 24 13:57 /usr/tmp/tmproot/sbin/ed
  560.  
  561. - Move your file somwhere else and 'rm -r /usr/tmp/tmproot'.
  562.  
  563. - That was under IRIX 5.x. Under IRIX 4.0.x or earlier, use
  564.   '/usr/tmp/tmproot/usr/lib/inst' for a temporary inst directory
  565.   instead of '/usr/tmp/tmproot/var/inst'.
  566.  
  567. ------------------------------
  568.  
  569. Subject:   -22- Why doesn't 'inst' work?
  570. Date: 16 Jan 94 00:00:01 EST
  571.  
  572. One possibility is that you're using an old 'inst' with new software.
  573. Always use an 'inst' at least as new as what you're installing.
  574.  
  575. ------------------------------
  576.  
  577. Subject:   -23- Why doesn't 'inst' work remotely?
  578. Date: 05 May 94 00:00:01 EST
  579.  
  580. Usually because it can't log in to the machine with the distribution
  581. media.  'inst' uses the guest account to do so, so make sure that
  582. guest on the machine on which you want to install software can rlogin
  583. to guest on the machine with the distribution media without a
  584. password.
  585.  
  586. ------------------------------
  587.  
  588. Subject:   -24- I reinstalled an IRIX subsystem to restore a missing
  589.                 file or get rid of a corrupted file, but it didn't help.
  590.                 Why not?
  591. Date: 13 Apr 94 00:00:01 EST
  592.  
  593. 'inst' doesn't bother to install a subsystem if the same or a newer
  594. version is already installed. Tell it to install anyway by saying 'set
  595. neweroverride' before you say 'go'. Removing the subsystem and
  596. reinstalling it will do more or less the same thing.
  597.  
  598. ------------------------------
  599.  
  600. Subject:   -25- How can I install IRIX onto a second disk which I can
  601.                 then move to another machine?
  602. Date: 20 Jan 94 00:00:01 EST
  603.  
  604. With difficulty. Many parts of the installation process assume that
  605. you're installing IRIX onto your system disk (SCSI ID 1). Just fiddle
  606. with SCSI ID switches and/or move disks around to make the disk onto
  607. which you want to install IRIX the system disk for the duration of the
  608. installation.
  609.  
  610. Furthermore, IRIX has many hardware dependencies, so you should only
  611. move system disks between absolutely identical machines. If you want to
  612. make a system disk for a machine without a network connection, CD-ROM
  613. or tape drive, the easiest and safest way is to borrow another CD-ROM
  614. or tape drive.
  615.  
  616. If you want to try anyway, Justin Mason <jmason@iona.ie> reports that
  617. the following works under IRIX 5.1.1:
  618.  
  619. Set up the disk, e.g. with SCSI id 4, fx a generic "[bo]otable"
  620. partition setup onto it, and mkfs the partitions. Copy sash, etc. from
  621. your system disk to the new disk with dvhtool. Boot up the miniroot
  622. as usual, go into inst, choose "admin" from the menu and do the
  623. following, replacing SCSI IDs and partition numbers as appropriate:
  624.  
  625.   umount /root
  626.   umount /root/usr
  627.   mount /dev/dsk/dks0d4s0 /root
  628.   mount /dev/dsk/dks0d4s6 /root/usr
  629.   mount                    # Just to check
  630.   return                # Go back to main inst menu
  631.  
  632. Then install as you like.
  633.  
  634. ------------------------------
  635.  
  636. Subject:   -26- How can I copy my system disk onto a second disk which I
  637.                 can then move to another machine?
  638. Date: 17 Jun 94 00:00:01 EST
  639.  
  640. See the article in the Jul/Aug 92 Pipeline and the addendum in the
  641. Nov/Dec 92 Pipeline, and note that the warning about hardware
  642. dependencies in the previous question applies here too. Steve
  643. Kotsopoulos <steve@ecf.toronto.edu> has written a script which does
  644. this automatically; you can FTP it from
  645. viz.tamu.edu:/pub/sgi/software/clonedisk/clonedisk. Be sure to read
  646. the comments before running it!
  647.  
  648. ------------------------------
  649.  
  650. Subject:   -27- NETWORKING
  651. Date: 15 May 94 00:00:01 EST
  652.  
  653. These questions discuss general networking.
  654.  
  655. ------------------------------
  656.  
  657. Subject:   -28- How can I measure my network's reliability?
  658. Date: 13 Feb 94 00:00:01 EST
  659.  
  660. Don't worry about collisions. They are part of normal operation on a
  661. crowded Ethernet. You *should* worry about late collisions (which are
  662. logged to the console) and lost packets (which you can easily measure
  663. with the command 'ping -fs 3000 -c 1000 someotherhost'), which usually
  664. mean network hardware problems or a misconfigured bridge or router.
  665.  
  666. ------------------------------
  667.  
  668. Subject:   -29- How do I add a static route?
  669. Date: 10 Mar 94 00:00:01 EST
  670.  
  671. Some sites handle IP routing by designating a routing machine and
  672. having all other hosts define a static route to that machine. The way
  673. to do this on SGIs is in the /etc/init.d/network.local script.
  674.  
  675. 1) Read the paragraph just before the copyright at the top of
  676.    /etc/init.d/network and make the links it specifies.
  677.  
  678. 2) Put something like the following in /etc/init.d/network.local,
  679.    replacing ROUTER'S.IP.ADDRESS.HERE with the address of your router.
  680.  
  681.   #! /bin/sh
  682.   case "$1" in
  683.   'start')
  684.       /usr/etc/route add default ROUTER'S.IP.ADDRESS.HERE 1 ;;
  685.   'stop')
  686.       /usr/etc/route delete default ROUTER'S.IP.ADDRESS.HERE ;;
  687.   *)
  688.       echo "Usage: $0 {start|stop}" ;;
  689.   esac
  690.  
  691. If you NFS-mount disks from the other side of the static route, they
  692. will not be unmounted properly during shutdown. You can fix this by
  693. making the links so that /etc/init.d/network.local runs before
  694. /etc/init.d/network: 'ln -s /etc/init.d/network.local
  695. /etc/rc0.d/K41network' instead of '/etc/rc0.d/K39network'.
  696.  
  697. ------------------------------
  698.  
  699. Subject:   -30- How can I make the 'slip' command advertise the Ethernet
  700.                 address of the SLIP client?
  701. Date: 10 Dec 93 00:00:01 EST
  702.  
  703. You can't. Just add something like
  704.  
  705.   /usr/etc/arp -s $USER `netstat -ia | grep :` pub
  706.  
  707. to the shell script in which you start the SLIP process. $USER is the
  708. SLIP client. The 'netstat | grep' part gets the host's Ethernet
  709. address, and 'arp' advertises the host as an ARP server for $USER. See
  710. also the arp(1M) manpage.
  711.  
  712. ------------------------------
  713.  
  714. Subject:   -31- I've just edited inetd.conf, and nothing changed. Why?
  715. Date: 10 Dec 93 00:00:01 CST
  716.  
  717. You need to make 'inetd' reread the file. Do 'killall -HUP inetd' or
  718. reboot.
  719.  
  720. ------------------------------
  721.  
  722. Subject: ! -32- Why isn't the objectserver working?
  723. Date: 04 Oct 94 00:00:01 EST
  724.  
  725. - Its database may be corrupt. Rebuild it like so:
  726.  
  727.     /etc/init.d/cadmin stop
  728.     /etc/init.d/cadmin clean
  729.     /etc/init.d/cadmin start
  730.  
  731.   If the preceding doesn't work, try this
  732.  
  733.     /etc/init.d/cadmin stop
  734.     rm -rf /var/Cadmin/data
  735.     /usr/Cadmin/bin/parseclasses
  736.     /etc/init.d/cadmin start
  737.  
  738. - /etc/fstab, /etc/exports and/or /etc/inittab may have minor format
  739.   problems which don't bother IRIX proper but do bother the
  740.   objectserver. One such problem might be that the last line doesn't end
  741.   with a linefeed. If you find and fix a problem, rebuild the databases
  742.   as above.
  743.  
  744. - You may be swamping the objectserver with NIS (YP) users. There are
  745.   several ways around this (thanks to Anne Eagle <annee@sgi.com> for
  746.   these):
  747.  
  748.   - Start a directoryserver on a machine on your local network.
  749.  
  750.   - Use netgroups or the "+user" form in /etc/passwd instead of just a
  751.     "+" and rebuild the databases as above.
  752.  
  753.   - Most severely, remove the NIS object definition files so that the
  754.     objectserver will not create NIS objects, rebuild the objectserver
  755.     database (without the NIS objects) and restart the objectserver as
  756.     follows. You will not be able to manipulate NIS users with Cadmin if
  757.     you do this.
  758.  
  759.     killall fm
  760.     mediad -k
  761.     killall objectserver
  762.     mv /var/Cadmin/data /var/Cadmin/data.orig
  763.     cp -pr /usr/Cadmin/classes /usr/Cadmin/classes.orig
  764.     rm /usr/Cadmin/classes/groupObject.op
  765.     rm /usr/Cadmin/classes/nisAccountObject.op
  766.     rm /usr/Cadmin/classes/peopleNISObject.op
  767.     rm /usr/Cadmin/classes/peopleObject.op
  768.     /usr/Cadmin/bin/parseclasses
  769.     /usr/Cadmin/bin/objectserver
  770.     ps -ef | grep obj
  771.     
  772.     Wait until you see 2 objectserver processes running, then do
  773.  
  774.     mediad
  775.     fm -lrb &
  776.  
  777. See also "Indigo Magic Tips and Tricks" in the Sep/Oct 94 Pipeline.
  778.  
  779. ------------------------------
  780.  
  781. Subject:   -33- What is sending packets to the sgi-dog.mcast.net
  782.                 multicast address?
  783. Date: 15 Jun 94 00:00:01 EST
  784.  
  785. The objectserver.
  786.  
  787. ------------------------------
  788.  
  789. Subject:   -34- MAIL
  790. Date: 15 May 94 00:00:01 EST
  791.  
  792. These questions discuss mail configuration and problems.
  793.  
  794. ------------------------------
  795.  
  796. Subject:   -35- How can I set up 'sendmail' to pass 8-bit characters?
  797. Date: 12 Feb 94 00:00:01 EST
  798.  
  799. Dunno, offhand, but many experts say "don't try". RFC822 requires mail
  800. transport agents to *clear* the eighth bit, and many hosts do. Some
  801. which don't may crash when they get mail with the eighth bit set.
  802. Instead, use a MIME-compatible mail program. MIME, described in
  803. RFC1521, is a standard for enclosing non- RFC822 material in your
  804. mail.  The apps FAQ discusses several mail programs which support it.
  805.  
  806. Nonetheless, if someone wants to tell us about putting SGI's 'sendmail'
  807. into 8-bit mode we'll note it here.
  808.  
  809. ------------------------------
  810.  
  811. Subject:   -36- Why are my mailbox files changing ownership?
  812. Date: 17 Jan 94 00:00:01 CST
  813.  
  814. If your mail directory is mounted from another machine, your machine
  815. does not have root access, and the other machine has BSD-style
  816. "restricted chown" (either because it's not an SGI or because someone
  817. turned restricted chown on), /bin/mail will change mail file ownership
  818. when delivering local mail. Without unrestricted chown or root access,
  819. /bin/mail is unable to give mail files back to their owners after
  820. delivering mail. You can fix the problem by turning off restricted
  821. chown on the other machine (if it's an SGI), exporting the mail
  822. directory with root access for your machine, or waiting for IRIX 5.2,
  823. in which the problem will be fixed.
  824.  
  825. ------------------------------
  826.  
  827. Subject:   -37- Why isn't a valid user getting their mail?
  828. Date: 24 Jan 94 00:00:01 EST
  829.  
  830. IRIX' mail system requires "valid users" to have both valid password
  831. file entries (whether local or via NIS) and home directories. The
  832. latter often trips one up when installing POP servers and whatnot,
  833. where home directories aren't really necessary. Just make a fake one.
  834.  
  835. ------------------------------
  836.  
  837. Subject:   -38- How can SGIs and Suns share a mail spool?
  838. Date: 05 Feb 94 00:00:01 EST
  839.  
  840. Paul Riddle <paulr@umbc.edu> has written up how he did it. Read
  841. ftp.umbc.edu:/pub/sgi/shared-spool.text.
  842.  
  843. ------------------------------
  844.  
  845. Subject:   -39- What's an "unknown mailer error"?
  846. Date: 20 Feb 94 00:00:01 EST
  847.  
  848. There's a list in viz.tamu.edu:/pub/sgi/software/mail/mail-errors.
  849.  
  850. ------------------------------
  851.  
  852. Subject:   -40- What's "mailbox: Error 0"?
  853. Date: 05 Mar 94 00:00:01 EST
  854.  
  855. It's a harmless bug; don't worry about it. It is present in IRIX 4.0.x
  856. before 4.0.5H/4.0.5IOP and fixed in those and later versions.
  857.  
  858. ------------------------------
  859.  
  860. Subject:   -41- Why can't I receive mail on an IRIX 5.2 machine with an
  861.                 NFS-mounted mail spool?
  862. Date: 29 Aug 94 00:00:01 EST
  863.  
  864. IRIX 5.2 NFS has a bug which prevents writing to a zero-length file if
  865. the writing process has group write permission but not group read (or
  866. user write) permission. IRIX 5.2 /bin/mail likes to set the permissions
  867. of /var/mail/<user> to mode 620, exactly what is needed to exercise the
  868. NFS bug. There is no patch for the NFS bug (although it will be fixed in
  869. IRIX 5.3) but you can get a /bin/mail from the TAC which leaves mail
  870. files mode 660 and thus doesn't exercise the bug.
  871.  
  872. ------------------------------
  873.  
  874. Subject:   -42- NFS
  875. Date: 15 May 94 00:00:01 EST
  876.  
  877. These questions discuss NFS.
  878.  
  879. ------------------------------
  880.  
  881. Subject:   -43- How can I tell what hostname to use in /etc/exports?
  882. Date: 07 Feb 94 00:00:01 EST
  883.  
  884. NFS servers may need a particular form of a client's name in
  885. /etc/exports to allow the client access. This may not be obvious, for
  886. example if the server is also a router. Log in from the client to the
  887. server and say 'echo $REMOTEHOST' to see what the server thinks the
  888. client is called, and put that in /etc/exports.
  889.  
  890. IRIX 5.2's System Manager ('chost') should be able to determine the
  891. correct hostname for you.
  892.  
  893. ------------------------------
  894.  
  895. Subject:   -44- Why can't I export an NFS-mounted filesystem?
  896. Date: 10 Dec 93 00:00:01 CST
  897.  
  898. This is known as multi-hop NFS. It is not allowed or supported in
  899. (Sun's) NFS because it is not in general possible to detect errors such
  900. as infinite mount loops, on either the client or the server.
  901.  
  902. ------------------------------
  903.  
  904. Subject:   -45- Why can't Ultrix automount SGI filesystems?
  905. Date: 10 Dec 93 00:00:01 CST
  906.  
  907. Ultrix's automount uses an "untrusted" port for mount requests. Add
  908. an '-n' to the mountd lines in /usr/etc/inetd.conf (/etc/inetd.conf
  909. in IRIX 5.x), like so:
  910.  
  911. mountd/1    stream  rpc/tcp wait    root    /usr/etc/rpc.mountd     mountd -n
  912. mountd/1    dgram   rpc/udp wait    root    /usr/etc/rpc.mountd     mountd -n
  913.  
  914. then 'killall mountd' and 'killall -HUP inetd' or reboot.
  915.  
  916. ------------------------------
  917.  
  918. Subject:   -46- Why does 'tar' work strangely on a filesystem mounted
  919.                 from an SGI?
  920. Date: 03 Apr 94 00:00:01 EST
  921.  
  922. When user A extracts a file owned by user B from a tar archive, 'tar'
  923. makes the file owned by user A unless user A is the superuser.  Some
  924. systems allow users to give files away (e.g. IRIX); some do not (e.g.
  925. SunOS).  On some systems with the restricted behavior (SunOS among
  926. them), 'tar' tries to give the file to user B whether or not user A is
  927. the superuser, assuming that the chown system call will fail if user A
  928. is not. This is not true if user A is using 'tar' on (e.g.) a Sun to
  929. extract files onto a filesystem NFS-mounted from (e.g.) an SGI. 'tar'
  930. may create zero-length files or give away directories and then be
  931. unable to extract files into them.
  932.  
  933. Work around the problem by doing the 'tar' on the SGI or extracting
  934. onto a Sun filesystem. It is possible that third-party versions of
  935. 'tar' (e.g. GNU tar) are smarter; let us know if so. Don't turn the
  936. restricted_chown kernel variable on on the SGI; while this will fix the
  937. problem at hand, it will break SGI programs which need to give files
  938. away without running as root (notably /bin/mail).
  939.  
  940. ------------------------------
  941.  
  942. Subject:   -47- Is 'pcnfsd' available for the SGI?
  943. Date: 27 Feb 94 00:00:01 EST
  944.  
  945. For IRIX 4.0.x, look in ftp.sgi.com:/support/pcnfsd.sysV/. (Note that
  946. although SGI makes this available, they do not support it.) For IRIX 5.x,
  947. look in viz.tamu.edu:/pub/sgi/software/pcnfsd/.
  948.  
  949. ------------------------------
  950.  
  951. Subject:   -48- Can I export a CD-ROM from my SGI to a non-SGI?
  952. Date: 10 Dec 93 00:00:01 EST
  953.  
  954. Not in IRIX 4.0.x. You can in IRIX 5.x, as you would any other
  955. filesystem.
  956.  
  957. ------------------------------
  958.  
  959. Subject:   -49- Why can't I export an ISO 9660 CD-ROM using NFS?
  960. Date: 20 Feb 94 00:00:01 EST
  961.  
  962. You can, but only to another SGI (see the previous question) and
  963. there's a catch. Add the CD-ROM filesystem to /etc/exports and export
  964. it with 'exportfs' *before* you mount the CD-ROM.  This chicanery is
  965. not necessary in IRIX 5.x. For more detail, read
  966. viz.tamu.edu:/pub/sgi/hardware/exporting-iso-9660-cdrom or the article
  967. in the Jan/Feb 93 Pipeline, or for an up-to-date copy call the TAC and
  968. ask for SGI's writeup on "Mounting an ISO 9660 CD Across NFS".
  969.  
  970. ------------------------------
  971.  
  972. Subject:   -50- How can I read an IRIX (EFS) CD-ROM on a machine which
  973.                 doesn't use EFS?
  974. Date: 09 Jan 94 00:00:01 EST
  975.  
  976. You want 'efslook', in viz.tamu.edu:/pub/sgi/software/efslook/.
  977.  
  978. ------------------------------
  979.  
  980. Subject:   -51- PRINTING
  981. Date: 15 May 94 00:00:01 EST
  982.  
  983. These questions discuss printing.
  984.  
  985. ------------------------------
  986.  
  987. Subject:   -52- Why can't 'lp' read my file?
  988. Date: 10 Dec 93 00:00:01 EST
  989.  
  990. 'lp' is setuid, so it can only read world-readable files. You can say
  991. 'lp < file' if you don't want to make your file world-readable.
  992.  
  993. ------------------------------
  994.  
  995. Subject:   -53- How can I use 'lpr' to print to my local printer?
  996. Date: 10 Dec 93 00:00:01 EST
  997.  
  998. SGI provides 'lpr' for printing on remote printers, and does not
  999. support it for local printing. One way to do it anyhow is to make an
  1000. /etc/printcap entry with an output filter which is just a wrapper
  1001. around 'lp'. If that isn't crystal-clear, call the TAC and ask for
  1002. their "faxable" on "Integrating The AT&T Spooler With The BSD LPR Print
  1003. Spooler". A not-guaranteed-to-be-up-to-date copy is at
  1004. viz.tamu.edu:/pub/sgi/software/lp-lpr/lpr-to-lp.
  1005.  
  1006. ------------------------------
  1007.  
  1008. Subject:   -54- How can I use 'lp' to print to an 'lpr'-controlled
  1009.                 printer?
  1010. Date: 19 Jun 94 00:00:01 EST
  1011.  
  1012. Two possible ways:
  1013.  
  1014. - Write an 'lp' interface script that calls 'lpr'. Impressario 1.1 or
  1015.   later can do this for you; see the Impressario FAQ. If you don't
  1016.   have Impressario you can do it yourself or call SGI and ask for
  1017.   their writeup, "LPTOLPR, A Model File for LP", which includes (in
  1018.   fact, consists of) just such an interface script. A
  1019.   not-guaranteed-to-be-up-to-date copy is at
  1020.   viz.tamu.edu:/pub/sgi/software/lp-lpr/lp-to-lpr.
  1021.  
  1022. - Write an 'lp' replacement script that calls 'lpr'. One such script
  1023.   is at viz.tamu.edu:/pub/sgi/software/lp-lpr/lp-wrapper-for-lpr.
  1024.  
  1025. ------------------------------
  1026.  
  1027. Subject:   -55- How can I tell 'lp' to turn banner printing or page
  1028.                 reversal off or on?
  1029. Date: 19 Jun 94 00:00:01 EST
  1030.  
  1031. 'lp' controls printers via shell scripts, called 'models', which live
  1032. in /usr/spool/lp/model. When you install a printer, the appropriate
  1033. model script is copied to /usr/spool/lp/interface/<name-of-printer>.
  1034.  
  1035. To temporarily change a printer's behavior, look at the manpage for its
  1036. interface script (or, if there is none, the script itself) to see what
  1037. options it wants, and pass them to the script with 'lp's '-o' option.
  1038. For example, 'lp -o"-nobanner" file' tells a "Generic Postscript"
  1039. printer (described in the gpsinterface(1) manpage) to print 'file'
  1040. without a banner page.
  1041.  
  1042. To permanently change a printer's behavior, edit its interface script.
  1043. The following are true for "Generic Postscript" printers, but the idea
  1044. is the same for others:
  1045.  
  1046. - To turn banner printing off or on, change the line 'BANNER=1' to
  1047.   'BANNER=0' or vice versa.
  1048.  
  1049. - To turn page reversal off or on, change the line
  1050.   'send=/usr/lib/print/lptops' to 'send="/usr/lib/print/lptops -U"'
  1051.   (note the quotes) or vice versa.
  1052.  
  1053. In IRIX 5.x, you can change these settings in the printpanel. You can
  1054. also turn banner printing off on a per-user basis by doing 'echo
  1055. nobanner > /usr/spool/lp/settings/<printername>/<yourusername>'.
  1056.  
  1057. ------------------------------
  1058.  
  1059. Subject:   -56- SECURITY
  1060. Date: 15 May 94 00:00:01 EST
  1061.  
  1062. These questions discuss security.
  1063.  
  1064. ------------------------------
  1065.  
  1066. Subject:   -57- Where can I learn about Unix and IRIX security?
  1067. Date: 26 Aug 94 00:00:01 EST
  1068.  
  1069. The Jul/Aug 94 Pipeline has an article discussing general Unix security
  1070. with some IRIX-specific aspects. Read
  1071. rtfm.mit.edu:/pub/usenet/news.answers/security-faq and the books and
  1072. papers listed therein for general discussions of Unix security.  Look on
  1073. ftp.cert.org:/ for CERT advisories, descriptions of what CERT and CERT
  1074. advisories are, and other security-related material. If you have a lot
  1075. of spare time, consider the comp.security.unix newsgroup.
  1076.  
  1077. ------------------------------
  1078.  
  1079. Subject: ! -58- How can I configure IRIX more securely?
  1080. Date: 01 Oct 94 00:00:01 EST
  1081.  
  1082. Several aspects of SGI's default IRIX configuration were chosen for
  1083. convenience, not security. Unless your machine is not networked, you
  1084. may be more concerned about security than SGI assumed.  Note that these
  1085. items have been discussed on Usenet many times, and Usenet chatter is
  1086. not a good way to change SGI policy. If they bother you, complain to
  1087. your sales rep and then fix them yourself as follows:
  1088.  
  1089. - Several accounts come without passwords, including (but not limited
  1090.   to) guest, 4Dgifts, demos, tutor, tour and particularly lp. Examine
  1091.   /etc/passwd and lock all unnecessarily open accounts.  Note that 1)
  1092.   parts of IRIX (e.g. 'inst') use the open guest account by default,
  1093.   and 2) remote 'lp' clients need access to the lp account to print, so
  1094.   you'll need to make other arrangements.
  1095.  
  1096. - IRIX 5.x has shadow passwords, but they are not used by default. Run
  1097.   'pwconv' to move your passwords to /etc/shadow, where only root can
  1098.   read them. Note that you'll have to update /etc/shadow by hand for NIS
  1099.   users. See the pwconv(1M) and shadow(4) manpages.
  1100.  
  1101. - 'xdm' does 'xhost +' by default when you log in. This allows anyone to
  1102.   open windows on your display and even to record what you type at your
  1103.   keyboard. Close this hole by removing the 'xhost +' from
  1104.   /usr/lib/X11/xdm/Xsession, /usr/lib/X11/xdm/Xsession-remote and (in
  1105.   IRIX 5.x) /usr/lib/X11/xdm/Xsession.dt.  In IRIX 5.2 and later you can
  1106.   use X authority to control access to remote displays; see below. In
  1107.   IRIX 5.1.x and earlier X authority doesn't work, so you'll need to use
  1108.   'xhost' judiciously to get to remote displays: say 'xhost +localhost'
  1109.   to run DGL programs and 'xhost +otherhost' to display remote X
  1110.   programs.
  1111.  
  1112. - At least some of the possible default values of the PATH environment
  1113.   variable begin with the current directory. (The system interprets
  1114.   either a period or the empty string in any component of PATH as the
  1115.   current directory. PATH is colon-separated, so if it begins with a
  1116.   colon the first component is the empty string.) This exposes you to
  1117.   Trojan horse programs. Set PATH to a safe value (remove the current
  1118.   directory, or at least move it to the end) in /etc/cshrc and/or
  1119.   /etc/profile.
  1120.  
  1121. - By default, /etc/config/ypbind.options contains the -ypsetme option.
  1122.   This allows someone who can fake your IP address to change your YP
  1123.   binding. Remove the option to close the hole and add the -s option for
  1124.   a little extra protection. If your site runs ypbind with the -v
  1125.   (verbose) option, you may also want to add 'YPSET=true' to
  1126.   /etc/config/ypmaster.options and comment out the 'ypset' line in
  1127.   /var/yp/ypmake. See the ypbind(1) and ypset(1) manpages for more.
  1128.  
  1129. - Under IRIX 5.x, you can limit the hosts from which portmap(1) will
  1130.   accept RPC requests by using the -a option in
  1131.   /etc/config/portmap.options. For example, if your machine is
  1132.   www.xxx.yyy.zzz and your subnet is www.xxx.yyy you can reject RPC
  1133.   requests from outside your subnet by putting '-a 255.255.255.0
  1134.   www.xxx.yyy.0' in that file. (Thanks to Paul "Shag" Walmsley
  1135.   <ccshag@showme.missouri.edu> for this and the previous item.)
  1136.  
  1137. - If you use SLIP (see slip(1M)), be sure that SLIP accounts' home
  1138.   directories are not world-writable. SLIP accounts are uid 0, so it's
  1139.   bad if just anyone can mess with their .forward files and the like.
  1140.   /tmp, which is recommended in the "IRIX Advanced Site and Server
  1141.   Administration Guide", is necessarily world-writable and a bad choice.
  1142.   You may want to make an empty, root-owned, mode 755 directory to the
  1143.   effect of /usr/slip and use that. Any number of SLIP accounts can use
  1144.   a single home directory without conflict.
  1145.  
  1146. - Get 'securscan' from ftp://ftp.vis.colostate.edu/pub/irix/security/.
  1147.   It checks for many common IRIX-specific security bugs and problems.
  1148.   You might also want to try a generic Unix security-checking tool such
  1149.   as COPS or tiger and/or a password checker such as Crack. Look in the
  1150.   security FAQ (above) for locations.
  1151.  
  1152. - Read the rest of the entries in this section and make the changes
  1153.   they describe if necessary.
  1154.  
  1155. Please note that this list is guaranteed to be incomplete. Keep your
  1156. eyes open.
  1157.  
  1158. ------------------------------
  1159.  
  1160. Subject:   -59- How can I log more information about logins?
  1161. Date: 22 Aug 94 00:00:01 EST
  1162.  
  1163. - 'last', 'who', etc. get remote login information from /etc/xutmp and
  1164.   /etc/xwtmp. That information is only logged into these files if they
  1165.   already exist. To create them, just say 'touch /etc/xutmp
  1166.   /etc/xwtmp'. In IRIX 5.x, 'touch /var/adm/utmpx /var/adm/wtmpx'.
  1167.  
  1168. - As described in the login(1) manpage, you can add the line
  1169.   'syslog=all' to /etc/config/login.options to log all login attempts,
  1170.   not just successful ones, in /usr/adm/SYSLOG.
  1171.  
  1172. - 'ftpd', 'rshd' and 'tftpd' all have options ('-l' or '-L') which
  1173.   cause them to log all accesses. See their manpages. 'ftpd' also has
  1174.   '-ll' and '-lll' options (undocumented before IRIX 5.x) which log
  1175.   individual file transfers and the sizes of those files respectively.
  1176.   Add the options to the last fields (not the second-to-last) of the
  1177.   appropriate lines of /usr/etc/inetd.conf (/etc/inetd.conf in IRIX
  1178.   5.x), then do 'killall -HUP inetd' or reboot.
  1179.  
  1180. - Consider using TCP wrappers. These allow you to restrict connections
  1181.   to individual TCP daemons to particular hosts and prevent some forms
  1182.   of address spoofing. You can get source code from
  1183.   ftp://ftp.win.tue.nl/pub/security/.
  1184.  
  1185. ------------------------------
  1186.  
  1187. Subject:   -60- How can I make an anonymous or restricted FTP account?
  1188. Date: 04 May 94 00:00:01 EST
  1189.  
  1190. Read the ftpd(1M) manpage and/or the article in the March/April 1994
  1191. Pipeline. However, both discussions have a serious error: the ftp
  1192. account's home directory (/usr/people/ftp) should be owned and
  1193. writable only by root, NOT ftp. You might also want to make the 'pub'
  1194. directory "sticky" with 'chmod +t' (like /tmp and /usr/tmp) so that
  1195. one user can't delete another's files. A script which sets up a secure
  1196. anonymous FTP account is at
  1197. viz.tamu.edu:/pub/sgi/software/ftp/make-anonftp.
  1198.  
  1199. ------------------------------
  1200.  
  1201. Subject:   -61- How can I get X authorization to work?
  1202. Date: 27 Apr 94 00:00:01 EST
  1203.  
  1204. Under IRIX 5.1.x or earlier, don't try. The MIT-MAGIC-COOKIE-1 protocol
  1205. did not work, and DGL programs did not understand X authority.
  1206.  
  1207. Under IRIX 5.2 or later, heed the wise words of Mark Kilgard of SGI's
  1208. X Window Systems group <mjk@hoot.asd.sgi.com>:
  1209.  
  1210. The basic mechanism for the MIT-MAGIC-COOKIE-1 authorization protocol
  1211. is implemented by the X server, Xlib, and xdm, and does work in IRIX
  1212. 5.x.  MIT-MAGIC-COOKIE-1 is the only supported protocol.
  1213.  
  1214. Two caveats before I describe how to enable X authorization:
  1215.  
  1216. 1) Old remote IRIS GL programs probably will not be able to connect to
  1217.    the X server when X authority is enabled. (More on this below.)
  1218.  
  1219. 2) Due to a problem with how the local hostname is handled, to use X
  1220.    authority in the IRIX 5.x releases, you will need to make sure your
  1221.    /etc/sys_id file has a simple hostname, ie. hoot instead of a fully
  1222.    resolved hostname like hoot.asd.sgi.com  This problem has already
  1223.    been fixed for the next general release of IRIX.
  1224.  
  1225. TO ENABLE X AUTHORIZATION, do the following to your IRIX 5.2 system:
  1226.  
  1227.     1)  Edit /var/X11/xdm/xdm-config as root and change the line saying
  1228.  
  1229. DisplayManager*authorize:               off
  1230.  
  1231.       to say
  1232.  
  1233. DisplayManager*authorize:               on
  1234.  
  1235.     2) Edit /var/X11/xdm/Xsession, /var/X11/xdm/Xsession-remote, and
  1236.        /var/X11/xdm/Xsession.dt as root and change the line saying
  1237.  
  1238. /usr/bin/X11/xhost +
  1239.  
  1240.        to say
  1241.  
  1242. #/usr/bin/X11/xhost +
  1243.  
  1244.        This disables the "xhost +" by commenting out the command.
  1245.  
  1246.     3) Make sure your /etc/sys_id file has no periods in it.  For
  1247.        example, change as root:
  1248.  
  1249. hoot.asd.sgi.com
  1250.  
  1251.        to say
  1252.  
  1253. hoot
  1254.  
  1255.     4) Reboot the machine OR restart a new xdm and X server.  This can
  1256.        be done as root with the following command:
  1257.  
  1258. (/usr/gfx/stopgfx; killall xdm; /usr/gfx/startgfx) &
  1259.  
  1260.     5) Log in.  X authorization should be enabled.
  1261.  
  1262. If you want to disable X authorization and return to the default system
  1263. state where X clients can connect to the X server from any machine,
  1264. reverse the changes in steps 1 and 2 and repeat step 4.
  1265.  
  1266. If you want more information on X authorization, see the manpages for
  1267. xdm(1), Xserver(1), Xsgi(1), Xsecurity(1), xauth(1) and xhost(1).
  1268.  
  1269. X AUTHORITY AND REMOTE IRIS GL PROGRAMS: One of the major reaons for
  1270. Silicon Graphics shipping its window system so that an X client from
  1271. any machine could connect to the X server was because IRIS GL programs
  1272. running remote using the DGL (distributed GL) protocol didn't
  1273. interoperate with the X authorization mechanism; the dgld daemon that
  1274. would run on the machine with graphics hardware had no way to get the
  1275. correct X authority information to connect to the X server.
  1276.  
  1277. This has been fixed for IRIX 5.2, but the fix only applies to IRIX 5
  1278. binaries running remotely on an IRIX 5.2 system connecting to an IRIX
  1279. 5.2 X server.  In particular, remotely run IRIX 4 IRIS GL binaries will
  1280. continue to not interoperate with an IRIX 5.2 X server (or a pre-IRIX
  1281. 5.2 X server).  If you recompile your old IRIS GL binaries on IRIX 5.2,
  1282. they then will work remotely connecting to IRIX 5.2 X servers running X
  1283. authority.
  1284.  
  1285. The bottom line is that if you want an IRIS GL program to run remotely
  1286. on an X server using X authorization, you need to make sure the program
  1287. is an IRIX 5 binary running on an IRIX 5.2 machine and the machine with
  1288. the X server is also an IRIX 5.2 machine.
  1289.  
  1290. To avoid a possible misconception: IRIS GL programs RUNNING LOCALLY
  1291. (ie, not using DGL) WILL WORK FINE on an IRIX 5.2 system no matter if
  1292. they are IRIX 4 or IRIX 5 binaries.  The problem with X authority is
  1293. only for REMOTE IRIS GL programs.
  1294.  
  1295. Also note that for X authorization to work for remote hosts, the remote
  1296. program must have access to the correct X authorization magic cookie
  1297. (normally read from ~/.Xauthority).  If you don't have a shared NFS
  1298. mounted home directory, you'll probably need to use the xauth command
  1299. to transfer the X authorization magic cookie to the remote
  1300. ~/.Xauthority file.
  1301.  
  1302. THE FUTURE:  Hopefully in the next general release of IRIX, a mechanism
  1303. to enable and disable X authorization using a chkconfig option will be
  1304. supported.  The problem with /etc/sys_id not having periods will
  1305. definitely be fixed in the next general release of IRIX.  The problem
  1306. with pre-IRIX 5.2 X servers and binaries not interoperating with X
  1307. authorization will likely not be fixed. Fixing the problem required a
  1308. DGL protocol extension which both the IRIS GL program and dgld must
  1309. know about; this can't be fixed in already shipped software.
  1310.  
  1311. ------------------------------
  1312.  
  1313. Subject:   -62- What security-related bugs does IRIX have?
  1314. Date: 29 Aug 94 00:00:01 EST
  1315.  
  1316. Some general comments before we start:
  1317.  
  1318. - IRIX is too complex for us to guarantee that this list is complete. We
  1319.   only discuss problems we know about. We don't discuss insecurely
  1320.   designed systems (like YP) or ways in which you might misconfigure
  1321.   your system, only bugs.  We don't discuss third-party software, free
  1322.   or not.
  1323.  
  1324. - Prudence and space permit us to describe only how to close holes, not
  1325.   to exploit them. Try comp.security.unix.
  1326.  
  1327. - Some of the fixes involve installing a new version of a setuid
  1328.   binary.  Be sure that you 1) make it executable, setuid and owned by
  1329.   the correct user and group (or it won't work), and 2) remove the old
  1330.   version so bad guys can't use it!
  1331.  
  1332. Now for the holes themselves:
  1333.  
  1334. - CERT advisory CA-92:08, which you can get from
  1335.  
  1336.     ftp.cert.org:/pub/cert_advisories/CA-92:08.SGI.lp.vulnerability
  1337.  
  1338.   describes problems with the permissions of 'lp'-related parts of IRIX
  1339.   which allow anyone who can log in as lp to get root access. They are
  1340.   fixed in IRIX 4.0.5.  Briefly, the fix is
  1341.  
  1342.     su root
  1343.     cd /usr/lib
  1344.     chmod a-s,go-w lpshut lpmove accept reject lpadmin
  1345.     chmod go-ws lpsched vadmin/serial_ports vadmin/users vadmin/disks
  1346.     cd /usr/bin
  1347.     chmod a-s,go-w disable enable
  1348.     chmod go-ws cancel lp lpstat
  1349.  
  1350. - CERT advisory CA-93:16, which you can get from
  1351.  
  1352.     ftp.cert.org:/pub/cert_advisories/CA-93:16.sendmail.vulnerability
  1353.  
  1354.   describes a hole in /usr/lib/sendmail which allows anyone root
  1355.   access, whether they can log in initially or not!  Fixed versions for
  1356.   IRIX 4.0.x and 5.x (up to and including 5.2) are at
  1357.  
  1358.     ftp.sgi.com:/sgi/IRIX4.0/sendmail/
  1359.     ftp.sgi.com:/sgi/IRIX5.0/sendmail/
  1360.  
  1361. - CERT advisory CA-93:17, which you can get from
  1362.  
  1363.     ftp.cert.org:/pub/cert_advisories/CA-93:17.xterm.logging.vulnerability
  1364.  
  1365.   describes a hole in /usr/bin/X11/xterm which allows any user root
  1366.   access. It is fixed in IRIX 5.x.  A fixed version for IRIX 4.x is at
  1367.  
  1368.     ftp.sgi.com:/sgi/IRIX4.0/xterm/
  1369.  
  1370.   The 'fix', incidentally, is that logging is completely disabled.
  1371.  
  1372. - /usr/bsd/rdist has several holes which allow any user root access in
  1373.   all versions of IRIX up to and including 5.2, including the 4.0.5 and
  1374.   5.x binaries on ftp.sgi.com.
  1375.  
  1376.   Under IRIX 5.2, you can install patch 16 to close all known holes.
  1377.   Under IRIX 4.0.x, you must close the hole with 'chmod -s'. rdist will
  1378.   then work only when used by root. If your non-root users need 'rdist',
  1379.   there is a free version which claims to be free of all known holes in
  1380.   usc.edu:/pub/rdist/.  Make sure you get version 6.1 beta 3 or later.
  1381.  
  1382.   Note that CERT advisory CA-91:20
  1383.   (ftp.cert.org:/pub/cert_advisories/CA-91:20.rdist.vulnerability) is
  1384.   badly out of date.
  1385.  
  1386. - The 'lpr' subsystem in IRIX 4.0.x and 5.x, up to and including 5.2,
  1387.   has several holes which allow a non-root user to become root. Note
  1388.   that 'lp' is SGI's usual printing system; you only need 'lpr' if you
  1389.   need to deal with remote printers. If you don't need 'lpr', make sure
  1390.   it isn't installed. (It lives in the eoe2.sw.lpr subsystem.) If you do
  1391.   need 'lpr', there are fixed versions at
  1392.  
  1393.     ftp.sgi.com:/sgi/IRIX4.0/lpr/lpr.latest.Z
  1394.     ftp.sgi.com:/sgi/IRIX5.0/lpr/lpr.latest.Z
  1395.  
  1396.   The versions dated 29 and 26 April, respectively, work with NIS (YP).
  1397.   The IRIX 5.x version is also available from the TAC as patch 71.
  1398.  
  1399. - /usr/bin/under is an unused (!) part of 'rexd'. It is setuid root and
  1400.   may allow root access, so 'chmod -s' it just in case. Note that SGI
  1401.   ships IRIX with 'rexd' turned off because 'rexd' is itself a security
  1402.   problem. It is not shipped in IRIX 5.x.
  1403.  
  1404. - /usr/etc/arp is setgid sys in IRIX up to and including 5.2, allowing
  1405.   anyone who can log into your machine to read files which should be
  1406.   readable only by group 'sys'.  Close the hole with 'chmod -s'. This
  1407.   prevents non- root users from using 'arp' at all, but they don't
  1408.   generally need it.
  1409.  
  1410. - /usr/sbin/cdinstmgr is setuid root in IRIX 4.0.5[A-F] and
  1411.   /etc/init.d/audio is setuid root in IRIX 5.2. They are scripts; setuid
  1412.   scripts are a well-known Unix security problem. IRIX ignores the
  1413.   setuid bit by default, but 'chmod -s' the scripts just in case.
  1414.  
  1415. - /usr/sbin/colorview is setuid root in IRIX 5.x up to and including
  1416.   5.2, allowing anyone to use it to read any file regardless of
  1417.   permissions. Close the hole with 'chmod -s /usr/sbin/colorview'.
  1418.  
  1419. - /usr/bin/newgrp is group-writable in IRIX 5.2. It doesn't need to be,
  1420.   and it might be a problem depending on your use of group sys.
  1421.   'chmod g-w' it.
  1422.  
  1423. - /usr/sbin/printers has a bug in IRIX 5.2 (and possibly earlier 5.x
  1424.   versions) which allows any user to become root. Call the TAC and
  1425.   request patch 5. You might want to 'chmod -s' it while you're waiting.
  1426.  
  1427. - /usr/sbin/sgihelp has a bug in IRIX 5.2 (and possibly earlier 5.x
  1428.   versions) which allows any user to become root. This is so bad that
  1429.   the patch (#65, along with the prerequisite patch 34) is FTPable from
  1430.   ftp.sgi.com:/security/, and SGI is preparing a CD containing only that
  1431.   patch. Call the TAC if you can't FTP. You should 'chmod -x
  1432.   /usr/sbin/sgihelp' while you're waiting.
  1433.  
  1434. - The version of inst which comes with patch 34, which is required for
  1435.   installation of all other patches (even those with lower numbers)
  1436.   saves old versions of binaries in /var/inst/patchbase. It does not
  1437.   remove execution or setuid permissions! 'chmod 700' that directory so
  1438.   evil users can't get to the old binaries.
  1439.  
  1440. ------------------------------
  1441.  
  1442. Subject:   -63- I think I've found a security hole in IRIX; whom do I
  1443.                 notify at SGI?
  1444. Date: 10 Dec 93 00:00:01 CST
  1445.  
  1446. In general, if you find a security problem (or think you have), you can
  1447. send it to postmaster@sgi.com. This address gets a lot of mail, so you
  1448. may want to CC your mail to one of the SGI employees who regularly post
  1449. to Usenet. (Several have indicated that they will be glad to know about
  1450. such things.)
  1451.  
  1452. You can also notify CERT <cert@cert.org>, who will contact the
  1453. appropriate people from their contact list. They may take some time.
  1454.  
  1455. ------------------------------
  1456.  
  1457. Subject:   -64- BUGS
  1458. Date: 15 May 94 00:00:01 EST
  1459.  
  1460. These questions discuss miscellaneous bugs in IRIX.
  1461.  
  1462. ------------------------------
  1463.  
  1464. Subject:   -65- Why is my network license daemon ('netlsd') exiting?
  1465. Date: 20 May 93 00:00:01 CST
  1466.  
  1467. For netlsd to run, you need to have 'llbd' and 'glbd' installed and
  1468. running.  A complete debugging procedure is in the netls release notes,
  1469. which can be read with 'relnotes netls_eoe 5'.
  1470.  
  1471. ------------------------------
  1472.  
  1473. Subject:   -66- Why isn't /usr/adm/SYSLOG being updated?
  1474. Date: 23 Jun 94 00:00:01 CST
  1475.  
  1476. Popular causes include:
  1477.  
  1478. - running out of disk space. Once syslogd is unable to write to
  1479.   /usr/adm/SYSLOG, it won't try again until it is `killall -HUP
  1480.   syslogd`ed.
  1481.  
  1482. - installing IRIX 4.0.x and failing to heed the nagging from
  1483.   the system when it is rebooted to run 'versions changed' and combine
  1484.   new and old configuration files.  In this case, the trouble is in
  1485.   /usr/spool/cron/crontabs/root.
  1486.  
  1487. - Separating fields in /etc/syslog.conf with spaces instead of tabs.
  1488.   If you use tabs, syslogd will silently segv when it reads that file.
  1489.   This should be fixed in IRIX 5.3.
  1490.  
  1491. ------------------------------
  1492.  
  1493. Subject:   -67- What's this 'iotim' error in my syslog?
  1494. Date: 12 Feb 94 00:00:01 EST
  1495.  
  1496. It's a bug in 'rpc.rstatd' which affects several programs including
  1497. 'ruptime' and 'sysmeter'. In IRIX 4.0.5H and later, 'rpc.rstatd'
  1498. ignores the problem (returning all but the SCSI disk stats which cause
  1499. the error) but still generates a message.  The problem is completely
  1500. fixed in IRIX 5.x.  The pre-4.0.5H 'rpc.rstatd' says
  1501.  
  1502.   rstatd[4840]: read: iotim: No such device or address
  1503.  
  1504. and the post-4.0.5H 'rpc.rstatd' says
  1505.  
  1506.   rstatd[4941]: read: bad iotim, no disk stats: No such device or address
  1507.  
  1508. If you see the former, get the patched 'rpc.rstatd' from
  1509. ftp.sgi.com:/support/rpc.rstatd or (for Indigos) upgrade to IRIX
  1510. 4.0.5IOP. If you see the latter, relax and wait for IRIX 5.x.
  1511.  
  1512. ------------------------------
  1513.  
  1514. Subject:   -68- Why do 'who', 'rusers', etc. show users who aren't
  1515.                 really logged in?
  1516. Date: 30 Dec 93 00:00:01 EST
  1517.  
  1518. There is a well-known bug in IRIX 4.0.x wherein /etc/utmp is not
  1519. updated properly after a user logout. These programs are simply
  1520. reporting the non-updated contents of /etc/utmp.
  1521.  
  1522. Fixes have been provided by jer@blaise.cif.rochester.edu, David Hinds
  1523. <dhinds@allegro.stanford.edu> and Patrick M. Ryan <pat@gsfc.nasa.gov>.
  1524. They can be found in viz.tamu.edu:/pub/sgi/software/utmp/.
  1525.  
  1526. ------------------------------
  1527.  
  1528. Subject:   -69- What's wrong with ftpd in IRIX 5.2?
  1529. Date: 12 Jul 94 00:00:01 EST
  1530.  
  1531. It doesn't maintain utmp properly, so ftp logins will appear in the
  1532. output of 'who' and similar commands even after they've logged out, and
  1533. it dies during 'mget's. Get patch 41 from the TAC.
  1534.  
  1535. ------------------------------
  1536.  
  1537. Subject:   -70- Why do some programs parse /etc/fstab incorrectly?
  1538. Date: 10 Dec 94 00:00:01 EST
  1539.  
  1540. In IRIX 4.0.5, some programs (e.g. 'fsr') misinterpret lines in
  1541. /etc/fstab, so that, e.g.,
  1542.  
  1543.   /dev/usr /usr efs rw,raw=/dev/rusr,quota 0 0
  1544.  
  1545. would cause 'fsr' to think that the raw device pathname was
  1546. "/dev/rusr,quota" instead of "/dev/rusr". There is no such device, so
  1547. /dev/rusr would never be defragmented. You can work around this by
  1548. putting the "raw" option last:
  1549.  
  1550.   /dev/usr /usr efs rw,quota,raw=/dev/rusr 0 0
  1551.  
  1552. This is fixed in IRIX 5.x.
  1553.  
  1554. ------------------------------
  1555.  
  1556. Subject:   -71- My Indigo's Ethernet performance is dog-slow. What
  1557.                 gives?
  1558. Date: 10 Dec 93 00:00:01 EST
  1559.  
  1560. Call the TAC. You need the "E++" patch, or IRIX 4.0.5IOP ("Indigo Only
  1561. Patch"), which includes the E++ patch.
  1562.  
  1563. ------------------------------
  1564.  
  1565. Subject:   -72- My Indigo running 4.0.5IOP is getting SIGSEGVs and
  1566.                 crashing. What gives?
  1567. Date: 12 Jan 94 00:00:01 EST
  1568.  
  1569. Make sure you've installed the 4.0.5IOP NFS maintenance patch along
  1570. with the rest of 4.0.5IOP. If you're sure you have, call the TAC.
  1571. You may need the "IP20 ethernet patch".  This comes *after* 4.0.5IOP,
  1572. and is not to be confused with the older "E++ patch" (see the previous
  1573. question).
  1574.  
  1575. ------------------------------
  1576.  
  1577. Subject:   -73- Why is my Indigo2 panicking?
  1578. Date: 10 Jan 94 00:00:01 EST
  1579.  
  1580. There are several keyboard-related bugs in IRIX 4.0.5H and 4.0.5IOP
  1581. which cause Indigo2s to crash or freeze. One sign that these particular
  1582. bugs are responsible is the message "PANIC: Timeout Table Overflow" or
  1583. "WARNING: Couldn't allocate streams buffer" in /usr/adm/SYSLOG.  They
  1584. will be fixed in IRIX 5.2, and in the meantime you can get the "Indigo2
  1585. keyboard patch" (aka "pckm patch") from SGI.
  1586.  
  1587. ------------------------------
  1588.  
  1589. Subject:   -74- Why can't I 'rdist' files between Suns and SGIs?
  1590. Date: 10 Dec 93 00:00:01 EST
  1591.  
  1592. Sun's 'rdist' expects SGI's 'rdist' to live in /usr/ucb, but it's
  1593. actually in /usr/bsd. Make a symbolic link from /usr/ucb/rdist to
  1594. /usr/bsd/rdist and all will be well.
  1595.  
  1596. ------------------------------
  1597.  
  1598. Subject:   -75- I just edited /etc/inittab, and now I can't start up or
  1599.                 shut down my SGI! What's wrong?
  1600. Date: 23 Jun 94 00:00:01 EST
  1601.  
  1602. If the last line of /etc/inittab is a comment, init will screw up
  1603. horribly.  If your machine is still running, remove the comment and
  1604. everything will be OK. If not, go to the miniroot, run the shell and
  1605. remove the comment from there. (Note that from the miniroot's point of
  1606. view, /etc/inittab is /root/etc/inittab.) The problem should be fixed in
  1607. IRIX 5.3.
  1608.  
  1609. ------------------------------
  1610.  
  1611. Subject:   -76- MISCELLANEOUS
  1612. Date: 15 May 94 00:00:01 EST
  1613.  
  1614. Everything else.
  1615.  
  1616. ------------------------------
  1617.  
  1618. Subject:   -77- How do I set the number of processes allowed on my
  1619.                 machine?
  1620. Date: 23 Jan 94 00:00:01 CST
  1621.  
  1622. Change NPROC in usr/sysgen/master.d/kernel, run '/etc/autoconfig -f'
  1623. and reboot. In IRIX 5.x, use 'systune'.
  1624.  
  1625. ------------------------------
  1626.  
  1627. Subject:   -78- Where can I get a termcap file for 'iris-ansi-net' to
  1628.                 install on my non-SGI system?
  1629. Date: 20 May 93 00:00:01 CST
  1630.  
  1631. SGIs use terminfo, so you need to translate the terminfo description to
  1632. termcap. 'infocmp -Cr iris-ansi-net' will produce an iris-ansi-net
  1633. termcap file. See infocmp(1) for more. Note that 'infocmp' is in the
  1634. eoe2.sw.terminf subsystem, which is not installed by default.
  1635.  
  1636. ------------------------------
  1637.  
  1638. Subject:   -79- Can I change my full name or login shell without being
  1639.                 superuser?
  1640. Date: 16 Mar 94 00:00:01 EST
  1641.  
  1642. Maybe. IRIX 4.x has no 'chfn' or 'chsh', so if you're a local user
  1643. you're stuck. However, if your account is on NIS (Yellow Pages) you can
  1644. use 'ypchpass'. You might also ask your superuser to install one of the
  1645. many free implementations of 'chfn' and/or 'chsh'; one is in volume 3 of
  1646. comp.sources.unix (ftp.uu.net:/usenet/comp.sources.unix/volume3/).
  1647.  
  1648. ------------------------------
  1649.  
  1650. Subject:   -80- How can I administer my Iris without a graphics
  1651.                 terminal?
  1652. Date: 13 Apr 94 00:00:01 EST
  1653.  
  1654. The visual admin tools in IRIX 4.0.x ('vadmin') need GL, and do not
  1655. work on X terminals or workstations without GL. You can use 'sysadm' on
  1656. text terminals for some tasks, but beware of bugs and inadequacies: SGI
  1657. judged 'sysadm' to be too buggy to be worth updating for IRIX 5.x.
  1658.  
  1659. The visual admin tools in IRIX 5.x (x > 2) should display on any X
  1660. display, *except* for the backup/restore tool which is an exact port
  1661. from IRIX 4.0.x and requires GL. Some images will be missing when GL is
  1662. unavailable, but the tools will function properly. As for text
  1663. terminals, you're out of luck: 'sysadm' does not exist in IRIX 5.x.
  1664.  
  1665. Of course, you can always use a text editor and write scripts, or see
  1666. the next question.
  1667.  
  1668. ------------------------------
  1669.  
  1670. Subject:   -81- Can I use the visual admin tools on a system with
  1671.                 graphics to administer a system without graphics?
  1672. Date: 12 Feb 94 00:00:01 CST
  1673.  
  1674. Yes: just rlogin to the graphics-less system and run 'vadmin' (IRIX
  1675. 4.0.x) or 'chost' (IRIX 5.x).  Make sure that the DISPLAY environment
  1676. variable is set correctly and that both the vadmin/sysadmdesktop and
  1677. the shared library subsystems are installed on the graphics-less system
  1678. (which they are in the default installation).
  1679.  
  1680. Under IRIX 5.x, look at the READMEs in /var/sysadmdesktop/rsysmanapps
  1681. and /var/sysadmdesktop/sysmanapps to find out how to use 'chost' to run
  1682. commands on remote systems. Finally, in a future release of IRIX 5.x,
  1683. the sysadmdesktop tools will be able to manage remote systems *without*
  1684. doing an rlogin.
  1685.  
  1686. ------------------------------
  1687.  
  1688. Subject:   -82- Can I put my own picture in the 'clogin' display?
  1689. Date: 20 Aug 94 00:00:01 EST
  1690.  
  1691. Not in IRIX 5.0-5.2. You could in IRIX 4.0.x and earlier, and you will
  1692. be able to again in IRIX 5.3.
  1693.  
  1694. ------------------------------
  1695.  
  1696. End of sgi/faq/admin Digest
  1697. ******************************
  1698. -- 
  1699. The SGI FAQ group                                sgi-faq@viz.tamu.edu
  1700. Finger us for info on the SGI FAQs, or look in viz.tamu.edu:/pub/sgi.
  1701.