ЁH geocities.com /Vienna/Stage/6554/HandonEX8.htm geocities.com/Vienna/Stage/6554/HandonEX8.htm delayed x ╞Т╒J ╚ Ве Э OK text/html АCmo Э bЙ.H Fri, 17 May 2002 05:35:46 GMT S Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98) en, * ─Т╒J Э
Hands-On Exercise 8 Maintaining Patches
1. Log in as root and examine the content of the /var/sadm/patch directory. # ls /var/sadm/patch 106300-09 106978-08 107285-03 107650-08 108221-01 108750-01 110070-01 106327-08 106978-10 107359-02 107654-08 108301-02 108758-01 110281-02 106541-16 106980-16 107443-13 107702-07 108374-05 108760-01 110869-01 106725-02 107018-03 107451-05 107709-11 108376-22 108762-01 110881-01 106793-07 107022-08 107454-05 107792-02 108451-05 108764-01 111093-01 106857-09 107115-07 107458-13 107834-03 108482-02 108798-01 106925-06 107148-08 107469-08 107841-03 108484-01 108838-02 106938-04 107171-08 107475-02 107885-08 108551-03 109253-01 106942-14 107180-27 107477-03 107887-10 108662-01 109709-01 106944-03 107200-12 107544-03 107893-11 108721-02 109744-01 106950-13 107259-02 107636-07 108219-01 108748-01 109797-01 2. How many defferent patches are there currently installed on the system 71 patches are currently installed on the system. 3. Point your browser to http://sunsolve.sun.com. Find the list of currently available patches for your system. 4. What is the latest security patch available for your system? 107709-18 5. Which security hold does it "fix"? 4563124 buffer overflow in snmpdx allows remote root comprise. 6. How large is this patch? 711,901 bytes 7. Is this patch available for Intel version of Solaris ? Under which number? Yes, 107710 8. Now check out the following alternative site: http://www.ibiblio.org/pub/sun-info/sun-patches/. In which format do patches come in? 9. Use ftpto connect to sunsolve.sun.com use anonymous as login name and provide your e-mail when promted for password. #ftp ftp>open sunsolve.sun.com Connected to sunsolve8.sun.com. 220- 220-Welcome to the SunSolve Online FTP server. 220- 220-Public users may log in as anonymous. 220- 220-Contract customers should use the following 2-tier login procedure: 220- 220-At the 1st login prompt: sunsolve 220- passwd: sunmicro 220- 220-At the 2nd login prompt:/ 220-example: myssID/mypasswd 220- 220-Public users may log in as anonymous; contract customers 220-should use the standard sunsolve login and password, 220-followed by their SunSolve account/password when prompted. 220- 220- 220 sunsolve8 FTP server (Version wu-2.6.2(21) Thu Mar 14 14:48:19 MST 2002) ready. Name (sunsolve.sun.com:root): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: duphat@hotmail.com 230- 230-SUN MICROSYSTEMS, INC. 230- 230-End-User Binary Code 230- 230-SOFTWARE LICENSE AGREEMENT 230- 230-SUN IS WILLING TO LICENSE THE ACCOMPANYING MODIFICATION TO YOU ONLY 230-UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS 230-LICENSE AGREEMENT. READ THE TERMS AND CONDITIONS OF THIS LICENSE 230-CAREFULLY BEFORE DOWNLOADING THE MODIFICATION. BY DOWNLOADING AND OR 230-USING THE MODIFICATION, YOU AGREE TO THE TERMS AND CONDITIONS OF THIS 230-AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY THIS AGREEMENT, YOU 230-ARE NOT AUTHORIZED TO DOWNLOAD OR USE THIS MODIFICATION. 230- 230-1. License to Use. Customer is granted a royalty-free 230-non-exclusive and non-transferable license ("License") for the use of 230-the accompanying binary software modification in machine-readable form, 230-together with accompanying documentation, if any, ("Software"), only in 230-combination with the specific software previously licensed by you from 230-Sun with which this Modification is intended to operate. No other use 230-or distribution of the Modification is authorized. 230- 230-2. RESTRICTIONS. Modification is copyrighted and title to 230-all copies is retained by Sun and/or its licensors. Customer shall not 230-make copies of the Modification, other than as authorized above plus a 230-single copy for archival purposes and, if applicable, Customer may, for 230-its internal use only, print the number of copies of on-line 230-documentation for which it has been authorized, in which event all 230-proprietary rights notices on the Modification shall be reproduced and 230-applied. 230- 230-Unless enforcement of this provision is prohibited by 230-applicable law, Customer shall not modify, decompile, disassemble, 230-decrypt, extract, or otherwise reverse engineer the Modification. The 230-Modification is not designed or licensed for use in on-line control 230-equipment in hazardous environments such as operation of nuclear 230-facilities, aircraft navigation or control, or direct life support 230-machines. 230- 230-3. Confidentiality. The Modification is confidential and 230-proprietary information of Sun and/or its licensors. Customer agrees to 230-take adequate steps to protect the Modification from unauthorized 230-disclosure or use. 230- 230-4. Disclaimer of Warranty. THE MODIFICATION IS PROVIDED 230-"AS IS", WITHOUT A WARRANTY OF ANY KIND. EXCEPT AS SPECIFIED IN THIS 230-LICENSE, ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND 230-WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS 230-FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED TO 230-THE EXTENT ALLOWED BY APPLICABLE LAW. 230- 230-5. Limitation of Liability. IN NO EVENT WILL SUN BE LIABLE 230-FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, 230-CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND 230-REGARDLESS OF THE THEORY OF LIABILITY ARISING OUT OF THE USE OF OR 230-INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE 230-POSSIBILITY OF SUCH DAMAGES. 230- 230-6. Termination. This License is effective until 230-terminated. Customer may terminate this License at any time by 230-destroying all copies of the Modification including any documentation. 230-This License will terminate immediately without notice from Sun if 230-Customer fails to comply with any provision of this License. Upon 230-termination, Customer must destroy all copies of the Modification. 230- 230-7. Export Regulations. The Modification, including technical data, is 230-subject to U.S. export control laws, including the U.S. Export 230-Administration Act and its associated regulations, and may be subject 230-to export or import regulations in other countries. Customer agrees to 230-comply strictly with all such regulations and acknowledges that it has 230-the responsibility to obtain licenses to export, re-export, or import 230-the Modification. 230- 230-8. U.S. Government Restricted Rights. If Customer is acquiring the 230-Modification including accompanying documentation on behalf of the U.S. 230-Government, the following provisions apply. If the Modification is 230-supplied to the Department of Defense ("DOD"), the Modification is 230-subject to "Restricted Rights", as that term is defined in the DOD 230-Supplement to the Federal Acquisition Regulations ("DFAR") in paragraph 230-252.227-7013(c) (1). If the Modification is supplied to any unit or 230-agency of the United States Government other than DOD, the Government's 230-rights in the Modification will be as defined in paragraph 52.227-19(c) 230-(2) of the Federal Acquisition Regulations ("FAR"). Use, duplication, 230-reproduction or disclosure by the Government is subject to such 230-restrictions or successor provisions. Contractor/Manufacturer is: Sun 230-Microsystems, Inc., 2550 Garcia Ave., Mountain View, CA 94043. 230- 230-9. Governing Law. This Agreement is made under, shall be governed by 230-and construed in accordance with the laws of the State of California, 230-U.S.A., excluding its choice of law provisions. 230- 230-10. Severability. If any of the above provisions are held to be in 230-violation of applicable law, void, or unenforceable in any 230-jurisdiction, then such provisions are herewith waived to the extent 230-necessary for the License to be otherwise enforceable in such 230-jurisdiction, However, if in Sun's opinion deletion of any provisions 230-of the License by operation of this paragraph unreasonably compromises 230-the rights or liabilities of Sun or its licensors, Sun reserves the 230-right to terminate the License and require the destruction or return of 230-the Modification. 230- 230-11. Integration. This Agreement is the entire agreement between 230-Customer and Sun relating to this Modification and: (i) supersedes all 230-prior or contemporaneous oral or written communications, proposals and 230-representations with respect to its subject matter; and (ii) prevails 230-over any conflicting or additional terms of any quote, order, 230-acknowledgment, or similar communication between the parties during the 230-term of this Agreement. No modification to the Agreement will be 230-binding, unless in writing and signed by a duly authorized 230-representative of each party. 230- 230-Part Number 801-4734-10 230- 230------------------------------------------------------------------------ 230- 230-The license agreement above describes Sun's limitations of liability 230-and restrictions on your use of software you download here. If you 230-missed it, retrieve the file README -- by downloading files from 230-this server, you are agreeing to the above license. 230- 230- 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 10. Change directory to /pub/patches in which format do the patches come in from this site? ftp> cd /pub/patches 250 CWD command successful. 11. How can you use a combination of wildcards to view the patches related to your system only? ftp> ls *s*7* 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. -rw-r--r-- 1 10 9164 May 9 10:10 J2SE_Solaris_7_Recommended.README -rw-r--r-- 1 10 37833916 May 9 10:10 J2SE_Solaris_7_Recommended.zip -rw-r--r-- 1 10 9188 May 9 10:10 J2SE_Solaris_7_x86_Recommended.README -rw-r--r-- 1 10 19611957 May 9 10:10 J2SE_Solaris_7_x86_Recommended.zip -rw-r--r-- 1 15 266430 May 2 01:39 Solaris7.PatchReport -rw-r--r-- 1 15 120311 May 2 01:42 Solaris7_x86.PatchReport 226 Transfer complete. 12. Get the Patch Report for your OS version and examine it. ftp> get Solaris7.PatchReport 200 PORT command successful. 150 Opening BINARY mode data connection for Solaris7.PatchReport (266430 bytes). 226 Transfer complete. 266430 bytes received in 2.5 seconds (1.1e+02 Kbytes/s) ftp> bye 221-You have transferred 266430 bytes in 1 files. 221-Total traffic for this session was 274696 bytes in 2 transfers. 221-Thank you for using the FTP service on sunsolve8. 221 Goodbye. 13. Name new Patches released since last report. Do you have this installed on your system? Use the showrev -p command to answer this question. # showrev -p | grep 107709-18 14. Which patches contain security fixed ? Do you have them installed on your system? Use patchadd -p command to answer this question # patchadd -p Patch: 106942-03 Obsoletes: 107215-01 Requires: Incompatibles: Packages: SUNWarc, SUNWcsl, SUNWcslx, SUNWnisu Patch: 106950-06 Obsoletes: Requires: Incompatibles: Packages: SUNWarc, SUNWbtool, SUNWbtoox, SUNWcsl, SUNWcslx, SUNWcsu, SUNWcsxu, SUNWhea, SUNWtoo, SUNWtoox Patch: 107117-05 Obsoletes: 106832-03 Requires: Incompatibles: Packages: SUNWarc, SUNWcarx, SUNWcsl, SUNWcslx, SUNWcsr, SUNWcsu, SUNWhea Patch: 107332-02 Obsoletes: Requires: Incompatibles: Packages: SUNWarc, SUNWcsl, SUNWcslx Patch: 106541-06 Obsoletes: 106976-01, 107029-01, 107030-01, 107334-01 Requires: Incompatibles: Packages: SUNWarc, SUNWarcx, SUNWatfsr, SUNWcar, SUNWcarx, SUNWcpr, SUNWcprx, SUNWcsl, SUNWcslx, SUNWcsr, SUNWcsu, SUNWcsxu, SUNWdpl, SUNWdplx, SUNWesu, SUNWesxu, SUNWhea, SUNWkvm, SUNWkvmx, SUNWpcmci, SUNWtnfc, SUNWtnfcx, SUNWtoo, SUNWtoox, SUNWvolr Patch: 107794-01 Obsoletes: Requires: Incompatibles: Packages: SUNWast Patch: 107127-02 Obsoletes: Requires: Incompatibles: Packages: SUNWatfsu Patch: 106949-01 Obsoletes: Requires: Incompatibles: Packages: SUNWbcp Patch: 107147-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcar, SUNWcarx Patch: 107453-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcar, SUNWkvm Patch: 107589-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcar, SUNWcarx, SUNWcsr, SUNWcsu, SUNWhea, SUNWpd, SUNWpdx Patch: 106924-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 106944-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 106948-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 106963-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 107121-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 107148-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 107458-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr, SUNWcsu Patch: 107459-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 107460-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr, SUNWhea Patch: 107462-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 107465-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 107680-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 107796-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 107841-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcsr Patch: 106917-01 Obsoletes: Requires: Incompatibles: Packages: SUNWciu8, SUNWciu8x Patch: 107809-02 Obsoletes: Requires: 106541-04 Incompatibles: Packages: SUNWcsd, SUNWcsr Patch: 106938-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl, SUNWcslx Patch: 106980-05 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl, SUNWcslx, SUNWhea Patch: 107285-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl, SUNWcslx, SUNWcsu, SUNWnisu Patch: 106936-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr Patch: 106985-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcsu Patch: 107456-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr Patch: 107843-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcsu Patch: 106793-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWhea Patch: 106940-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 106987-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107018-01 Obsoletes: Requires: 106938-01 Incompatibles: Packages: SUNWcsu Patch: 107401-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107403-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsxu Patch: 107441-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107443-05 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107448-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107451-02 Obsoletes: Requires: 107117-03 Incompatibles: Packages: SUNWcsu Patch: 107454-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107551-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWxcu4 Patch: 107624-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107744-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWxcu4 Patch: 107792-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107836-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107038-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdoc Patch: 106934-03 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas Patch: 107178-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas Patch: 107022-03 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdmn Patch: 107011-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst Patch: 107072-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst Patch: 107200-05 Obsoletes: Requires: 107001-01 Incompatibles: Packages: SUNWdtdst Patch: 107219-01 Obsoletes: Requires: 106934-02 Incompatibles: Packages: SUNWdtdst Patch: 107248-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst, SUNWdtma Patch: 107306-01 Obsoletes: Requires: 106934-03 Incompatibles: Packages: SUNWdtdst Patch: 107688-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst Patch: 107711-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst, SUNWdtma Patch: 107001-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdte Patch: 107180-06 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdte Patch: 107226-04 Obsoletes: Requires: Incompatibles: Packages: SUNWdtwm Patch: 107702-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtwm Patch: 107059-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesu, SUNWxcu4 Patch: 107799-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesu Patch: 106999-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesxu Patch: 107738-01 Obsoletes: Requires: Incompatibles: Packages: SUNWeuise, SUNWpldte, SUNWploc1, SUNWplow1 Patch: 106145-08 Obsoletes: Requires: 106148-04 Incompatibles: Packages: SUNWffb, SUNWffbcf, SUNWffbw, SUNWffbx, SUNWffbxg Patch: 107293-01 Obsoletes: Requires: Incompatibles: Packages: SUNWgss, SUNWgssx Patch: 107834-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea Patch: 107919-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea Patch: 106982-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhmd, SUNWhmdx Patch: 107003-03 Obsoletes: Requires: Incompatibles: Packages: SUNWi8rf Patch: 107074-01 Obsoletes: Requires: Incompatibles: Packages: SUNWinst Patch: 107432-03 Obsoletes: 106812-04 Requires: Incompatibles: Packages: SUNWisolc, SUNWisolx, SUNWplc1x, SUNWploc1, SUNWplow1 Patch: 107813-01 Obsoletes: Requires: Incompatibles: Packages: SUNWjiu8, SUNWjiu8x Patch: 107337-01 Obsoletes: Requires: Incompatibles: Packages: SUNWkcspg, SUNWkcsrt Patch: 106327-05 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC Patch: 106146-07 Obsoletes: Requires: Incompatibles: Packages: SUNWm64, SUNWm64cf, SUNWm64w, SUNWm64x Patch: 106960-01 Obsoletes: Requires: Incompatibles: Packages: SUNWman Patch: 107784-03 Obsoletes: 106851-04, 107318-04 Requires: Incompatibles: Packages: SUNWman Patch: 107081-06 Obsoletes: 107607-01, 107802-01 Requires: Incompatibles: Packages: SUNWmfrun Patch: 107709-02 Obsoletes: 106788-02, 107445-03 Requires: Incompatibles: Packages: SUNWmibii, SUNWsadmi, SUNWsasnm, SUNWsasnx Patch: 107330-01 Obsoletes: Requires: Incompatibles: Packages: SUNWntpu Patch: 107115-02 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu, SUNWpsu Patch: 106925-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpd, SUNWpdx Patch: 107316-01 Obsoletes: Requires: Incompatibles: Packages: SUNWplcx, SUNWploc Patch: 107499-02 Obsoletes: Requires: Incompatibles: Packages: SUNWpldte Patch: 107891-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpldte Patch: 107185-01 Obsoletes: Requires: Incompatibles: Packages: SUNWploc1, SUNWplow1 Patch: 107187-01 Obsoletes: Requires: Incompatibles: Packages: SUNWploc1, SUNWplow1 Patch: 107438-02 Obsoletes: Requires: Incompatibles: Packages: SUNWplow Patch: 107044-01 Obsoletes: Requires: Incompatibles: Packages: SUNWplow1 Patch: 106879-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpmowu Patch: 107359-01 Obsoletes: Requires: Incompatibles: Packages: SUNWscbcp Patch: 107031-01 Obsoletes: Requires: Incompatibles: Packages: SUNWscpu Patch: 107684-01 Obsoletes: Requires: Incompatibles: Packages: SUNWsndmu Patch: 107171-03 Obsoletes: Requires: Incompatibles: Packages: SUNWswmt Patch: 107437-03 Obsoletes: Requires: Incompatibles: Packages: SUNWtiu8, SUNWtiu8x Patch: 107063-01 Obsoletes: Requires: Incompatibles: Packages: SUNWtleux Patch: 107838-01 Obsoletes: Requires: Incompatibles: Packages: SUNWtnfc, SUNWtnfcx Patch: 107076-01 Obsoletes: Requires: Incompatibles: Packages: SUNWvolu, SUNWvolux Patch: 107259-01 Obsoletes: Requires: Incompatibles: Packages: SUNWvolu Patch: 107584-01 Obsoletes: Requires: Incompatibles: Packages: SUNWvolu Patch: 107430-01 Obsoletes: Requires: Incompatibles: Packages: SUNWwsr Patch: 108029-01 Obsoletes: Requires: Incompatibles: Packages: SUNWwsr Patch: 106148-05 Obsoletes: Requires: Incompatibles: Packages: SUNWxfb, SUNWxfbx Patch: 107351-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxgldg, SUNWxglrt Patch: 107014-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxilow Patch: 106147-03 Obsoletes: Requires: Incompatibles: Packages: SUNWxilvl Patch: 107078-10 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt Patch: 107233-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwopt Patch: 107250-02 Obsoletes: Requires: Incompatibles: Packages: SUNWxwplt Patch: 107807-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwplt Patch: 107546-02 Obsoletes: Requires: Incompatibles: Packages: SUNWxwpsr Patch: 106978-08 Obsoletes: Requires: 107456-01 Incompatibles: Packages: SUNWadmap SUNWadmc Patch: 106857-09 Obsoletes: Requires: Incompatibles: Packages: SUNWpldte SUNWplow SUNWplow1 Patch: 107171-08 Obsoletes: Requires: Incompatibles: Packages: SUNWswmt Patch: 106793-07 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu SUNWhea Patch: 106725-02 Obsoletes: Requires: Incompatibles: Packages: SUNWoldst Patch: 107544-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr SUNWcsu Patch: 106541-16 Obsoletes: 106832-03 106976-01 107029-01 107030-01 107334-01 107031-01 107117-05 107899-01 108752-01 107147-08 109104-04 109649-02 Requires: 107544-02 Incompatibles: Packages: SUNWarc SUNWarcx SUNWatfsr SUNWcar SUNWcarx SUNWcpr SUNWcprx SUNWcsl SUNWcslx SUNWcsr SUNWcsu SUNWcsxu SUNWdpl SUNWdplx SUNWesu SUNWesxu SUNWhea SUNWipc SUNWkvm SUNWkvmx SUNWnisu SUNWpcmci SUNWpcmcu SUNWpcmcx SUNWscpu SUNWtnfc SUNWtnfcx SUNWtoo SUNWtoox SUNWvolr SUNWvolu Patch: 107359-02 Obsoletes: Requires: Incompatibles: Packages: SUNWscbcp Patch: 107636-07 Obsoletes: Requires: Incompatibles: Packages: SUNWxi18n SUNWxi18x SUNWxim SUNWximx Patch: 107887-10 Obsoletes: 107001-01 107688-01 Requires: Incompatibles: Packages: SUNWdtdst SUNWdtdte SUNWdtezt SUNWdtma Patch: 106944-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr Patch: 106978-10 Obsoletes: Requires: 107456-01 Incompatibles: Packages: SUNWadmap SUNWadmc Patch: 107115-07 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu SUNWpsu Patch: 107259-02 Obsoletes: Requires: Incompatibles: Packages: SUNWvolu Patch: 107451-05 Obsoletes: Requires: 107117-03 Incompatibles: Packages: SUNWcsu Patch: 107454-05 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107792-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108301-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu SUNWhea Patch: 107893-11 Obsoletes: 108122-01 108237-01 Requires: Incompatibles: Packages: SUNWtltk SUNWtltkm SUNWtltkx Patch: 108219-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas Patch: 108221-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdmn Patch: 107885-08 Obsoletes: 107219-02 Requires: 106934-03 Incompatibles: Packages: SUNWdtdst SUNWdthev SUNWdticn SUNWdtma Patch: 108482-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108662-01 Obsoletes: Requires: Incompatibles: Packages: SUNWadmfw Patch: 107709-11 Obsoletes: 106788-02 107445-03 Requires: Incompatibles: Packages: SUNWmibii SUNWsacom SUNWsadmi SUNWsadmx SUNWsasnm SUNWsasnx Patch: 108484-01 Obsoletes: Requires: Incompatibles: Packages: SUNWast Patch: 108721-02 Obsoletes: Requires: Incompatibles: Packages: SUNWadmap Patch: 106950-13 Obsoletes: Requires: Incompatibles: Packages: SUNWarc SUNWbtool SUNWbtoox SUNWcsl SUNWcslx SUNWcsr SUNWcsu SUNWcsxu SUNWhea SUNWtoo SUNWtoox Patch: 106938-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx Patch: 107018-03 Obsoletes: Requires: 106938-01 Incompatibles: Packages: SUNWcsu Patch: 108376-22 Obsoletes: 107078-18 107648-09 Requires: Incompatibles: Packages: SUNWxwfnt SUNWxwice SUNWxwicx SUNWxwinc SUNWxwman SUNWxwplt SUNWxwplx SUNWxwpmn SUNWxwslb Patch: 109253-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108798-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108838-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107650-08 Obsoletes: Requires: 108376-01 Incompatibles: Packages: SUNWxwinc SUNWxwplt SUNWxwpmn SUNWxwslb Patch: 106942-14 Obsoletes: 107215-01 Requires: 106541-13 Incompatibles: Packages: SUNWarc SUNWcsl SUNWcslx SUNWhea SUNWnisu Patch: 109744-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 106327-08 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC Patch: 106300-09 Obsoletes: Requires: 106327-07 Incompatibles: Packages: SUNWlibCx Patch: 107443-13 Obsoletes: Requires: Incompatibles: Packages: SUNWarc SUNWcsu Patch: 108551-03 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu Patch: 107477-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108748-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108750-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu Patch: 108760-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108762-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu Patch: 108764-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108758-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 109709-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 110281-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 106980-16 Obsoletes: Requires: 106541-09 Incompatibles: Packages: SUNWcsl SUNWcslx SUNWhea Patch: 110070-01 Obsoletes: Requires: Incompatibles: Packages: SUNWarc SUNWcsl SUNWcslx Patch: 109797-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcar SUNWcarx SUNWhea Patch: 107180-27 Obsoletes: Requires: 108376-18 Incompatibles: Packages: SUNWdtdte Patch: 110869-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 107475-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 106925-06 Obsoletes: Requires: Incompatibles: Packages: SUNWcsxu SUNWpd SUNWpdu SUNWpdx Patch: 107148-08 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr SUNWhea Patch: 107469-08 Obsoletes: Requires: Incompatibles: Packages: SUNWhea Patch: 107841-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr SUNWhea Patch: 108451-05 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr Patch: 110881-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr Patch: 107285-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx SUNWcsu SUNWnisu Patch: 111093-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr Patch: 107654-08 Obsoletes: Requires: 108376-01 Incompatibles: Packages: SUNWxwman SUNWxwplt Patch: 107702-07 Obsoletes: Requires: 108376-18 Incompatibles: Packages: SUNWdtdte SUNWdtwm Patch: 107834-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr SUNWhea Patch: 108374-05 Obsoletes: 107881-10 Requires: 107702-06 Incompatibles: Packages: SUNWdtbas SUNWdtbax SUNWdtinc SUNWdtmad Patch: 107458-13 Obsoletes: 107121-02 Requires: 107834-02 Incompatibles: Packages: SUNWcarx SUNWcsr SUNWcsu SUNWcsxu SUNWhea Patch: 107022-08 Obsoletes: Requires: 108374-01 Incompatibles: Packages: SUNWdtdmn SUNWdtdst SUNWdtma Patch: 107200-12 Obsoletes: Requires: 108374-01 107887-08 Incompatibles: Packages: SUNWdtdst SUNWdtma 15. Download the patch you found in step 4 into the /tmp directory 16. Prepare the patch for installation by uncompressing (and untaining it if neccessary) # cd tmp # ls 107709-18.zip dtdbcache_:0 ps_data sdtvolcheck371 speckeysd.lock # /usr/bin/unzip 107709-18.zip Archive: 107709-18.zip creating: 107709-18/ inflating: 107709-18/prepatch inflating: 107709-18/.diPatch creating: 107709-18/SUNWmibii/ inflating: 107709-18/SUNWmibii/pkgmap inflating: 107709-18/SUNWmibii/pkginfo creating: 107709-18/SUNWmibii/install/ inflating: 107709-18/SUNWmibii/install/checkinstall inflating: 107709-18/SUNWmibii/install/copyright inflating: 107709-18/SUNWmibii/install/i.none inflating: 107709-18/SUNWmibii/install/patch_checkinstall inflating: 107709-18/SUNWmibii/install/patch_postinstall inflating: 107709-18/SUNWmibii/install/postinstall inflating: 107709-18/SUNWmibii/install/preinstall creating: 107709-18/SUNWmibii/reloc/ creating: 107709-18/SUNWmibii/reloc/usr/ creating: 107709-18/SUNWmibii/reloc/usr/lib/ creating: 107709-18/SUNWmibii/reloc/usr/lib/snmp/ inflating: 107709-18/SUNWmibii/reloc/usr/lib/snmp/mibiisa creating: 107709-18/SUNWsacom/ inflating: 107709-18/SUNWsacom/pkgmap inflating: 107709-18/SUNWsacom/pkginfo creating: 107709-18/SUNWsacom/install/ inflating: 107709-18/SUNWsacom/install/checkinstall inflating: 107709-18/SUNWsacom/install/copyright inflating: 107709-18/SUNWsacom/install/i.none inflating: 107709-18/SUNWsacom/install/patch_checkinstall inflating: 107709-18/SUNWsacom/install/patch_postinstall inflating: 107709-18/SUNWsacom/install/postinstall inflating: 107709-18/SUNWsacom/install/preinstall creating: 107709-18/SUNWsacom/reloc/ creating: 107709-18/SUNWsacom/reloc/etc/ creating: 107709-18/SUNWsacom/reloc/etc/snmp/ creating: 107709-18/SUNWsacom/reloc/etc/snmp/conf/ inflating: 107709-18/SUNWsacom/reloc/etc/snmp/conf/snmpd.conf creating: 107709-18/SUNWsacom/reloc/var/ creating: 107709-18/SUNWsacom/reloc/var/snmp/ creating: 107709-18/SUNWsacom/reloc/var/snmp/mib/ inflating: 107709-18/SUNWsacom/reloc/var/snmp/mib/sun.mib creating: 107709-18/SUNWsadmi/ inflating: 107709-18/SUNWsadmi/pkgmap inflating: 107709-18/SUNWsadmi/pkginfo creating: 107709-18/SUNWsadmi/install/ inflating: 107709-18/SUNWsadmi/install/checkinstall inflating: 107709-18/SUNWsadmi/install/copyright inflating: 107709-18/SUNWsadmi/install/i.none inflating: 107709-18/SUNWsadmi/install/patch_checkinstall inflating: 107709-18/SUNWsadmi/install/patch_postinstall inflating: 107709-18/SUNWsadmi/install/postinstall inflating: 107709-18/SUNWsadmi/install/preinstall creating: 107709-18/SUNWsadmi/reloc/ creating: 107709-18/SUNWsadmi/reloc/usr/ creating: 107709-18/SUNWsadmi/reloc/usr/lib/ creating: 107709-18/SUNWsadmi/reloc/usr/lib/dmi/ inflating: 107709-18/SUNWsadmi/reloc/usr/lib/dmi/dmispd inflating: 107709-18/SUNWsadmi/reloc/usr/lib/dmi/snmpXdmid inflating: 107709-18/SUNWsadmi/reloc/usr/lib/libdmi.so.1 inflating: 107709-18/SUNWsadmi/reloc/usr/lib/libdmici.so.1 inflating: 107709-18/SUNWsadmi/reloc/usr/lib/libdmimi.so.1 creating: 107709-18/SUNWsadmx/ inflating: 107709-18/SUNWsadmx/pkgmap inflating: 107709-18/SUNWsadmx/pkginfo creating: 107709-18/SUNWsadmx/install/ inflating: 107709-18/SUNWsadmx/install/checkinstall inflating: 107709-18/SUNWsadmx/install/copyright inflating: 107709-18/SUNWsadmx/install/i.none inflating: 107709-18/SUNWsadmx/install/patch_checkinstall inflating: 107709-18/SUNWsadmx/install/patch_postinstall inflating: 107709-18/SUNWsadmx/install/postinstall inflating: 107709-18/SUNWsadmx/install/preinstall creating: 107709-18/SUNWsadmx/reloc/ creating: 107709-18/SUNWsadmx/reloc/usr/ creating: 107709-18/SUNWsadmx/reloc/usr/lib/ creating: 107709-18/SUNWsadmx/reloc/usr/lib/sparcv9/ inflating: 107709-18/SUNWsadmx/reloc/usr/lib/sparcv9/libdmi.so.1 inflating: 107709-18/SUNWsadmx/reloc/usr/lib/sparcv9/libdmici.so.1 inflating: 107709-18/SUNWsadmx/reloc/usr/lib/sparcv9/libdmimi.so.1 creating: 107709-18/SUNWsasnm/ inflating: 107709-18/SUNWsasnm/pkgmap inflating: 107709-18/SUNWsasnm/pkginfo creating: 107709-18/SUNWsasnm/install/ inflating: 107709-18/SUNWsasnm/install/checkinstall inflating: 107709-18/SUNWsasnm/install/copyright inflating: 107709-18/SUNWsasnm/install/i.none inflating: 107709-18/SUNWsasnm/install/patch_checkinstall inflating: 107709-18/SUNWsasnm/install/patch_postinstall inflating: 107709-18/SUNWsasnm/install/postinstall inflating: 107709-18/SUNWsasnm/install/preinstall creating: 107709-18/SUNWsasnm/reloc/ creating: 107709-18/SUNWsasnm/reloc/usr/ creating: 107709-18/SUNWsasnm/reloc/usr/lib/ inflating: 107709-18/SUNWsasnm/reloc/usr/lib/libssagent.so.1 inflating: 107709-18/SUNWsasnm/reloc/usr/lib/libssasnmp.so.1 creating: 107709-18/SUNWsasnm/reloc/usr/lib/snmp/ inflating: 107709-18/SUNWsasnm/reloc/usr/lib/snmp/snmpdx creating: 107709-18/SUNWsasnm/reloc/usr/sbin/ inflating: 107709-18/SUNWsasnm/reloc/usr/sbin/snmp_trapsend creating: 107709-18/SUNWsasnx/ inflating: 107709-18/SUNWsasnx/pkgmap inflating: 107709-18/SUNWsasnx/pkginfo creating: 107709-18/SUNWsasnx/install/ inflating: 107709-18/SUNWsasnx/install/checkinstall inflating: 107709-18/SUNWsasnx/install/copyright inflating: 107709-18/SUNWsasnx/install/i.none inflating: 107709-18/SUNWsasnx/install/patch_checkinstall inflating: 107709-18/SUNWsasnx/install/patch_postinstall inflating: 107709-18/SUNWsasnx/install/postinstall inflating: 107709-18/SUNWsasnx/install/preinstall creating: 107709-18/SUNWsasnx/reloc/ creating: 107709-18/SUNWsasnx/reloc/usr/ creating: 107709-18/SUNWsasnx/reloc/usr/lib/ creating: 107709-18/SUNWsasnx/reloc/usr/lib/sparcv9/ inflating: 107709-18/SUNWsasnx/reloc/usr/lib/sparcv9/libssagent.so.1 inflating: 107709-18/SUNWsasnx/reloc/usr/lib/sparcv9/libssasnmp.so.1 inflating: 107709-18/README.107709-18 17. Install the patch: # patchadd ./107709-18 Checking installed patches... Executing prepatch script... NOTICE: The following file is being replaced by this patch /etc/snmp/conf/snmpd.conf A copy of it has been saved under the name: /etc/snmp/conf/snmpd.conf.05110200 The saved file needs to be scrutinized for any customizations that may have been made. Please merge these modifications into the new snmpd.conf that was delivered by this patch. Verifying sufficient filesystem capacity (dry run method)... Installing patch packages... Patch number 107709-18 has been successfully installed. See /var/sadm/patch/107709-18/log for details Patch packages installed: SUNWmibii SUNWsacom SUNWsadmi SUNWsadmx SUNWsasnm SUNWsasnx 18. Verify that the patch has been installed using the either patchadd -p or showrev -p showrev -p | grep '107709-18' 19. Delete patch files from the /tmp directory 20. Examine the new patch directory that has been created in /var/sadm/patch/patchID #cat /var/sadm/patch/107709-18 21. Examine the patch installation log in the /var/sadm/patch/patchID directory # cat /var/sadm/patch/107709-18/log This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Dryrun complete. No changes were made to the system. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Dryrun complete. No changes were made to the system. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Dryrun complete. No changes were made to the system. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Dryrun complete. No changes were made to the system. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Dryrun complete. No changes were made to the system. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Dryrun complete. No changes were made to the system. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Installation of was successful. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Installation of was successful. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Installation of was successful. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Installation of was successful. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Installation of was successful. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Installation of was successful. 22. Remove the patch you've installed in this exercise: # patchrm /tmp/107709-18 Checking installed patches... Patch ./107707-18 has not been applied to this system. Patchrm is terminating. 23. Verify that the patch is no longer installed #showrev -p | grep '107709-18'