Introduction to Unix: Ftp://Wks.Uts.Ohio-State.Edu/Unix Course/Unix Book.Ps And

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to Unix: Ftp://Wks.Uts.Ohio-State.Edu/Unix Course/Unix Book.Ps And UNIX System Administration Frank G. Fiamingo [email protected] University Technology Services The Ohio State University September 23, 1998 1991-1998 University Technology Services, The Ohio State University, Baker Systems Engineering Building, 1971 Neil Avenue, Columbus, OH 43210. All rights reserved. Redistribution and use, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions must retain the above copyright notice, this list of conditions, and the following disclaimer. 2. Neither the name of the University nor the names of its contributors may be used to endorse or promote products or services derived from this document without specific prior written permission. THIS PUBLICATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. THIS PUBLICATION MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. UNIX is a registered trademark of The Open Group. Sun, SunOS, Solaris, SPARC, NFS, NIS, NIS+, JumpStart, OpenWindows, Sunview and SunInstall are trademarks or registered trademarks of Sun Microsystems, Inc. Ultrix, Digital UNIX and DEC are trademarks of Digital Equipment Corporation. HP-UX is a trademark of Hewlett-Packard Co. IRIX is a trademark of Silicon Graphics, Inc. AIX is a trademark of International Business Machines, Inc. AT&T is a trademark of American Telephone and Telegraph, Inc. GNU is a trademark of the Free Software Foundation. X Window System is a trademark of Massachusetts Institute of Technology. Ethernet is a registered trademark of Xerox Corporation. Netscape is a copyright of Netscape Communications Crop. Mosaic is a copyright of the National Center for Supercomputing Applications at the University of Illinois, Urbana-Champaign. All other products mentioned are trademarks of their respective owners. This publication is available via the Internet as: ftp://wks.uts.ohio-state.edu/sysadm_course/sysadm_book.ps and http://wks.uts.ohio-state.edu/sysadm_course/sysadm.html. Also available via the Internet is Introduction to Unix: ftp://wks.uts.ohio-state.edu/unix_course/unix_book.ps and http://wks.uts.ohio-state.edu/unix_course/unix.html. Acknowledgements: The author wishes to thank the following for helpful advice and discussions related to the material presented in this document: Harpal Chohan, Bob DeBula, Bob Manson, Steve Romig, and Bill Yang. 2 © 1998 University Technology Services, The Ohio State University UNIX System Administration Table of Contents PART I Introduction .......................................................9 1 Overview ............................................................................11 1.1 What is UNIX System Administration? ........................11 1.2 Daily Tasks of a System Administrator ........................11 1.3 Startup and Shutdown ....................................................11 1.4 Periodic Processes ...........................................................12 1.5 Managing File Systems ...................................................12 1.6 Responsibilities to the users ...........................................12 1.7 Hardware responsibilities ..............................................12 1.8 Types of SunOS Systems ................................................12 1.9 Resources for System Administrators ...........................13 1.10 UTS Software Support ...................................................15 2 Disk Structure and Partitions ..........................................17 2.1 Disk Structure and Partitions ........................................17 2.2 Disk Partitions .................................................................19 3 Devices ...............................................................................27 3.1 Logical Names .................................................................27 3.2 Disk Partitioning .............................................................28 3.3 Disk Label and Bootblock ..............................................31 3.4 Tapes ................................................................................32 4 The UNIX File System ......................................................33 4.1 File Systems .....................................................................33 4.2 File System Types ............................................................35 4.3 Compatibility ...................................................................38 4.4 Names & contents of important UNIX directories ......40 4.5 File structure of standalone and server machines .......43 4.6 Disk Partitioning .............................................................43 5 File System Management .................................................45 5.1 File System Management ...............................................45 5.2 Fsck ...................................................................................46 5.3 Disk Check Commands ..................................................47 UNIX System Administration © 1998 University Technology Services, The Ohio State University 3 5.4 Swapping and Paging .....................................................48 5.5 Adding swap space ..........................................................49 5.6 Setting up a Cache File System ......................................50 5.7 XFS (IRIX) ......................................................................52 5.8 File System Quotas ..........................................................52 5.9 Miscellaneous useful commands ....................................53 5.10 Log files ............................................................................54 6 Startup and Shutdown .................................................... 55 6.1 Booting .............................................................................55 6.2 Run Levels (SunOS 5.X, IRIX 5.X) ...............................57 6.3 /etc/inittab (SunOS 5.X, IRIX 5.X, Digital UNIX) .......57 6.4 Sun PROM .......................................................................65 6.5 SGI Indy PROM .............................................................67 6.6 Diskless Workstations .....................................................67 6.7 Shutdown .........................................................................69 6.8 Crashes .............................................................................70 7 Operating System Installation ........................................ 71 7.1 Suninstall .........................................................................71 7.2 SunOS 4.1.X .....................................................................71 7.3 SunOS 5.X ........................................................................74 7.4 Post Install Actions ........................................................84 7.5 Sun Patch List .................................................................86 7.6 IRIX 5.X ...........................................................................90 8 Kernel Configuration ...................................................... 91 8.1 SunOS 4.1.X .....................................................................91 8.2 SunOS 5.X ........................................................................92 8.3 IRIX 5.X .........................................................................100 8.4 Digital UNIX ..................................................................101 8.5 Ultrix ..............................................................................101 9 Adding Hardware .......................................................... 103 9.1 SunOS 4.1.X ...................................................................103 9.2 SunOS 5.X ......................................................................110 9.3 IRIX 5.X .........................................................................110 10 Special Files .................................................................... 111 10.1 Special Files ...................................................................111 10.2 SunOS 4.X ......................................................................112 10.3 SunOS 5.X ......................................................................112 10.4 IRIX 5.X .........................................................................113 10.5 Ultrix and Digital UNIX ...............................................114 11 System Directories ......................................................... 115 11.1 System Directories ........................................................115 11.2 / - root ............................................................................115 11.3 /etc - system and network configuration .....................118 4 © 1998 University Technology Services, The Ohio State University UNIX System Administration 11.4 /usr - system programs, libraries, etc. .........................120 12 User accounts ..................................................................123 12.1 User accounts .................................................................123 12.2 Admittance - login procedure ......................................126 12.3 Password Aging, SunOS 4.1.X .....................................126 13 Daily System Administration .........................................127 13.1 User and Group Administration .................................127 13.2 Communicating with system users ..............................129 13.3 Running programs automatically, cron & at .............129 14 Administration Tool & Solstice Adminsuite ................131 14.1 Admintool ......................................................................131
Recommended publications
  • Instalación Y Administración De Servicios De Correo Electrónico
    Servicios de red e internet Instalación y administración de servicios de correo electrónico Raquel Castellanos Crespo Instalación y administración de servicios de correo electrónico Servicios de red e internet Raquel Castellanos Crespo INDICE Características del servicio de correo electrónico Elementos del servicio de correo electrónico -Agentes de correo electrónico. - Servidores de correo electrónico. Open relay y Smart host - Clientes de correo electrónico: entorno-DOS, gráficos y navegadores. - Direcciones, cuentas de correo y servidores DNS - Protocolos y servicios de descarga de correo: SMPT, ESMTP, POP, IMAP. Funcionamiento del servicio de correo electrónico Cuentas de correo, alias y buzones de correo Estructura de mensajes de correo electrónico - Cabecera, cuerpo, MIME Monitorización y registros del servicio de correo electrónico Servicio de correo electrónico vía web Correo seguro - Firma digital y cifrado de mensajes Veracidad del correo - Correo basura ("SPAM”) fraude, engaño, cadenas y virus informáticos 2 Servicios de red e internet | Instalación y administración de servicios de correo electrónico Servicios de red e internet Raquel Castellanos Crespo Características del servicio de correo electrónico Correo electrónico (correo-e, conocido también como e-mail ), es un servicio de red que permite a los usuarios enviar y recibir mensajes y archivos rápidamente (también denominados mensajes electrónicos o cartas electrónicas) mediante sistemas de comunicación electrónicos. Principalmente se usa este nombre para denominar al sistema que provee este servicio en Internet, mediante el protocolo SMTP, aunque por extensión también puede verse aplicado a sistemas análogos que usen otras tecnologías. Por medio de mensajes de correo electrónico se puede enviar, no solamente texto, sino todo tipo de documentos digitales.
    [Show full text]
  • Grundkurs Raditex AB Göran Hasse
    Unix Grundkurs Raditex AB Göran Hasse april 1996 PREFACE.TXT G Hasse - Kap 0 Sida 1 - Copyright (c) 1995 Raditex AB I sin strävan att göra nyttig och praktisk kursdokumentation försöker Raditex AB Utbildning ständigt att förbättra dokumentationen. Vi gör en tydlig skillnad mellan facklitteratur och kursdokumentation inom området. Facklitteratur måste vara komplett samt ge en allmän översikt över ett större område. Kursdokumentationen ska belysa det- ta område samt vara specifik. Speciellt ska kursdokumentationen spegla den praktiska vardagen man möter när man arbetar inom ett specifikt område. Detta innebär att kursdokumentation presenterar verkliga konfigura- tionsfiler och ger mängder av praktiska tips och ideer. GPL - © - 1998 - Kap 0 Sida 2 - G Hasse INDEX.TXT INNEHÅLLSFÖRTECKNING ============================ Introduktion 0 En introduktion till öppna system 1 En presentation av Raditex 2 Introduktion om Unix och vad Unix är 3 Vad kostar Unix 4 Unix som skiktat operativsystem 5 Vad vi ska lära oss om Unix-kommunikation 6 Definitionen av öppna system 7 Historien om hur Unix kom till 8 Hjälp i Unix 9 Manualen - 1 10 Manualen - 2 11 Manualen - 3 12 Online Help 13 Hjälp i program Kapitel 1 Att logga in 0 Vad innebär det att logga in 1 Vad som händer vid inloggningen 2 Vilka program används 3 Gemensam inloggningsfil 4 Hur du byter password 5 Hur du loggar ut 6 Övningar: Att logga in och ut 7 Lösningar: Att logga in och ut Kapitel 2 Textredigering 0 Editering av text 1 Editorn vi 1 2 Editorn vi 2 3 Editorn vi 3 4 Editorn vi 4 5 Editorn vi 5
    [Show full text]
  • Columbia Gas of Pennsylvania, Inc. 2016 General Rate-Case Docket No
    Columbia Gas of Pennsylvania, Inc. 2016 General Rate-Case Docket No. R-2016-2529660 Standard Filing Requirements Exhibit 13 Volume 4 of 10 Exhibit No. 13 Schedule No. r Page r of4 Witnesses: M. J. Bell M. R. Kempic COLUMBIA GAS OF PENNSYLVANIA. INC. 53,52- Applicability; public utilities other than canal, turnpike, tunnel, bridge and wharf companies. (a) Whenever a public utility, other than a canal, turnpike, tunnel, bridge or wharf company files a tariff, revision or supplement effecting changes in the terms and conditions of service rendered or to be rendered, it shall submit to the Commission, with the tariff, revision or supplement, statements showing all of the following: (t) The specific reasons for each change. Response (Kempic): The rate changes are being proposed to allow Columbia Gas of Pennsylvania a reasonable opportunity to recover revenue sufficient to cover its operating expenses and increases to rate base and provide a reasonable opportunity to earn a fair rate of return. (z) The total number of customers servedbythe utility. Response (Kempic): Refer to Exhibit No. 3. (S) A calculation of the number of customers, by tariffsubdivisions, whose bills will be affected by the change. Response (Bell): Refer to Exhibit No.to3, Schedule No. 8. (+) The effect of the change on the utility's customers. Response (Bell): Refer to Exhibit No. to3, Schedule No. B. (S) The direct or indirect effect of the proposed change on the utility's revenues and expenses. Response (Kempic): Refer to Exhibit Nos. 3 and 4. nxhibit No. 13 Schedule No. r Page z of 4 Witnesses: M.
    [Show full text]
  • Brar Gives State of the City Address
    VOL. 127, NO. 8 THURSDAY, FEBRUARY 21, 2019 MIDDLETONTIMES.COM SINGLE COPY PRICE: $1.25 Atterbury Announces Barnes Reads to Fourth Graders Write-in Campaign for Middleton Town Chair By Michelle Phillips Times-Tribune MIDDLETON–Luke Atterbury has come forward as a write-in can- didate for the Town of Middleton, planning a run against incumbent, Town Chair Cynthia Richson. The 28-year-old consultant for Nordic said he will seriously begin cam- paigning at the beginning of March for the spring election. “I have worked for the town off and on for the last 15 years, start- ing as an intern election inspector,” he said of his relationship with the town. He said that the resignations and dismissals and lack of transparency are his main reasons for running for public office. “I think there is an illusion of transparency. There are more com- Luke Atterbury mittees and processes,” he said, but doesn’t feel that more people and time spent equals transparency. He also questioned the timing of the resignations of David Shaw and Patti Keichinger. “Getting rid of two people two weeks before the biggest election we have ever seen is irresponsible,” he said in what he called the “forced resignations” of Shaw and Keichinger. “The hush- hush, under the table business and sudden resignations is not the way acompany, let alone a town, should be run.” Atterbury said he felt that information should be readily available to the press and the public. “There needs to be some accountability, and Photo Submitted people need to know what’s going on.” Lt.
    [Show full text]
  • 4–27–01 Vol. 66 No. 82 Friday April 27, 2001 Pages 21047–21270
    4–27–01 Friday Vol. 66 No. 82 April 27, 2001 Pages 21047–21270 VerDate 11-MAY-2000 20:26 Apr 26, 2001 Jkt 194001 PO 00000 Frm 00001 Fmt 4710 Sfmt 4710 E:\FR\FM\27APWS.LOC pfrm04 PsN: 27APWS 1 II Federal Register / Vol. 66, No. 82 / Friday, April 27, 2001 The FEDERAL REGISTER is published daily, Monday through SUBSCRIPTIONS AND COPIES Friday, except official holidays, by the Office of the Federal Register, National Archives and Records Administration, PUBLIC Washington, DC 20408, under the Federal Register Act (44 U.S.C. Subscriptions: Ch. 15) and the regulations of the Administrative Committee of Paper or fiche 202–512–1800 the Federal Register (1 CFR Ch. I). The Superintendent of Assistance with public subscriptions 512–1806 Documents, U.S. Government Printing Office, Washington, DC 20402 is the exclusive distributor of the official edition. General online information 202–512–1530; 1–888–293–6498 Single copies/back copies: The Federal Register provides a uniform system for making available to the public regulations and legal notices issued by Paper or fiche 512–1800 Federal agencies. These include Presidential proclamations and Assistance with public single copies 512–1803 Executive Orders, Federal agency documents having general FEDERAL AGENCIES applicability and legal effect, documents required to be published Subscriptions: by act of Congress, and other Federal agency documents of public interest. Paper or fiche 523–5243 Assistance with Federal agency subscriptions 523–5243 Documents are on file for public inspection in the Office of the Federal Register the day before they are published, unless the issuing agency requests earlier filing.
    [Show full text]
  • RISKS Volume 23
    The Risks Digest Volume 23: Issue 1 Forum on Risks to the Public in Computers and Related Systems ACM Committee on Computers and Public Policy, Peter G. Neumann, moderator Volume 23: Issue 1 Friday 7 November 2003 Contents Credit agencies sending our files abroad David Lazarus via Paul Saffo Crypto screwup: Sensitive Israeli missile test inadvertently broadcast Craig S. Bell A new risk for electronic voting Jeremy Epstein California Halts E-Vote Certification Kim Zetter via Monty Solomon Touch screen voting -- like Web site maintenance? William Nico Irish Labour Party urges suspension of e-voting until flaws addressed Patrick O'Beirne E-ZPass, UPS, and Newark Airport Susan Landau Microsoft puts a price on the heads of virus writers NewsScan Microsoft patches their patched patches Robert Bruce Thompson via Dave Farber Remember those jokes about "if AT&T built cars?" Daniel P.B. Smith http://catless.ncl.ac.uk/Risks/23.01.html (1 of 21)2005-04-15 12:18:07 The Risks Digest Volume 23: Issue 1 Duh! an electronic signature! Geoff Kuenning Paying employees is not rocket science Paul Robinson Another victim of the d__n bad-word filter! Adam Abrams REVIEW: "High Integrity Software", John Barnes Rob Slade Info on RISKS (comp.risks) Credit agencies sending our files abroad (via Dave Farber's IP) <Paul Saffo <[email protected]>> Fri, 07 Nov 2003 08:47:57 -0800 David Lazarus <[email protected]>, *San Francisco Chronicle*, 7 Nov 2003 [PGN-ed] sfgate.com/article.cgi?file=/c/a/2003/11/07/MNG4Q2SEAM1.DTL IP Archives at: http://www.interesting-people.org/archives/ interesting-people/ Two of the three major credit-reporting agencies (Equifax, Experian and TransUnion, each holding detailed files on about 220 million U.
    [Show full text]
  • Networking Freedos 1
    Networking FreeDOS 1 Networking FreeDOS Contents • Introduction • Motivation • System • Remarks • Copyright • 1. History of DOS networking • Why MS DOS came without network • "PC centric" approach • Novell NetWare • LAN Manager • "UNIX centric" approach • PC-IP • PC/TCP • Packet Drivers • Software by universities and hobbyists • KA9Q • NCSA Telnet • CUTCP • Others • Proprietary software • The end of DOS networking • Picking up the pieces • 2. DOS networking today • Drivers • Protocols • Applications • Novell "NetWare DOS Client" and "TCP/IP Client" • Microsoft "LAN Manager Client" and "MS Client 3.0" • TCP/IP applications Networking FreeDOS 2 • 3. Practical Guide: Adding TCP/IP to DOS • Packet drivers • Installing a packet driver • ODI drivers • Configuration of NET.CFG • Explanation of the parameters • Installing the ODI drivers • Alternative 1: ODIPKT • Alternative 2: PKT2ODI • NDIS drivers • Configuration of NDIS drivers • Explanation of the parameters • TCP/IP Kernel (Stack) • WatTCP / Watt-32 • Usage • TCPDRV / NTCPDRV • Usage • Other TCP/IP Kernels • Conclusion • Comments • GNU Free Documentation License Networking FreeDOS 3 Introduction In this document I describe how to network a computer running DOS. The system used for installing and testing was FreeDOS. Most things are supposed to work with other versions of DOS as well. The first chapter is about the history of DOS networking, which mostly happened in the years 1981 to 1995. In the second chapter you find an overview over the drivers, protocols and applications that are still around in the 21st century. The third chapter explains how to add TCP/IP capabilities to a DOS machine. It is a de­ tailed guide through the installation and configuration of drivers and other required soft­ ware.
    [Show full text]
  • 2017 Nfac Obsession Ad 1.Pdf 1 6/17/17 2:29 PM
    National Flute Association 45th Annual Convention Minneapolis, MN August 10–13, 2017 NFAc_Obsession_Ad_1.pdf 1 6/17/17 2:29 PM C M Y CM MY CY CMY K Wiseman Flute Cases Compact. Strong. Comfortable. Stylish. And Guaranteed for life. All Wiseman cases are hand- crafted in England from the Visit us at finest materials. booth 534 in All instrument combinations the exhibit hall, supplied – choose from a range NFA 2017 of lining colours. Now also available in Carbon Fibre. Minneapolis! 00 44 (0)20 8778 0752 [email protected] wisemancases www.wisemanlondon.com CONGRATULATIONS! Photo Credit: James Bartolomeo LAURIE SOKOLOFF National Flute Association Lifetime Achievement Award 2017 We offer our enthusiastic congratulations for this well-deserved honor Jim Keefe & Jan Kinmonth Keefe Piccolo Company TABLE OF CONTENTS Letter from the President ................................................................... 11 Officers, Directors, Staff, Convention Volunteers, and Competition Coordinators ............................................................... 14 From the Convention Program Chair ................................................. 21 2017 Lifetime Achievement and Distinguished Service Awards ........ 23 Previous Lifetime Achievement and Distinguished Service Award Recipients ....................................................................................... 28 Instrument Security Room Information and Rules and Policies .......... 30 General Hours and Information ......................................................... 34 Convention
    [Show full text]