Book description
Solaris Operating Environment System Administrator’s Guide, Fourth Editionby Janice Winsor
The definitive, quick-answerresource for every Solaris 9 sysadmin.
Fully updated! Covers Solaris 9 new Flash Install and Live Upgrade installation features, Secure Shell network commands, and much more
Administering users, devices, systems,networks, and printing
Maximizing efficiency, productivity, and system availability
Fast solutionsfor every Solaris 9 system administration challenge—directfrom Sun!
SolarisOperating Environment System Administrator’s Guide, Fourth Edition is the definitive quick-start tutorialfor every new Solaris system administrator—and the ideal fast-accessreference for every Solaris administrator, regardless of experience. Fullyupdated to reflect Solaris 9’s newest features and management tools, itcovers day-to-day administration tools and demonstrates how to maximizeefficiency, reliability, and availability in any Solaris environment.
Coverageincludes all this, and much more—
NEW! Secure Shell network commands
NEW! Flash Install and Live Upgrade installation features
NEW! Allocate/deallocate/list devices commands; cdrw, rmformat, ssh commands; and more
Basic administration: superuser status, boot processes, monitoring, and communicating with users
Solaris commands: user and environment information, working with files and disks, redirecting output, reading manual pages, and more
Solaris shells: Bourne, C, Korn, Bourne-Again, TC, and Z
User administration: User accounts, file systems, and roles-including Role Based Access Control (RBAC)
Device/system administration: Service Access Facility, configuring additional swap space, creating local e-mail aliases, and more
Network services: remote administration, NIS+, IPv6, and more
From startup to backup, security to printing, this book delivers clearly written, accessible information you’ll use today—and every day.
PRENTICE HALL
Professional TechnicalReference
Upper Saddle River, NJ 07458
www.phptr.com
Sun Microsystems Press
ISBN: 0-13-101401-3
UPC: 076092022015
Table of contents
- Copyright
- Acknowledgments
- Preface
-
1. Introducing Solaris System Administration
- Defining the System Administrator’s Job
- Understanding Superuser Status
- Communicating with Users
-
Starting Up Systems
-
Choosing an Init State
- The /etc/inittab File
- Run Control Scripts
- Finding the Run Level for a System
- Using OpenBoot PROM State, Run Level 0
- Using Single-User State, Run Level s and S
- Using Administrative State, Run Level 1
- Using Multiuser State, Run Level 2
- Using Remote Resource-Sharing State, Run Level 3
- Using Alternative Multiuser State, Run Level 4
- Using Power-Down State, Run Level 5
- Using Reboot State, Run Level 6
- Changing Run Levels
- Using Platform-Specific Booting Protocols
- The PC BIOS (IA Platforms)
-
Booting a System
- Booting in Multiuser State
- Booting in Single-User State
- Booting Interactively
- Looking at the Boot Messages
- Booting After Adding New Hardware
- Forcing a Crash Dump and Rebooting the System
- Administering Crash Dumps
- Booting the System with the Kernel Debugger
- Booting a System for Recovery Purposes (SPARC Platform)
- Booting a System for Recovery Purposes (IA Platform)
- Aborting a Booting Process
- Shutting Down a System
- Choosing Which Shutdown Command to Use
- Shutting Down a Multiuser System
- Shutting Down a System: Alternative Ways
-
Choosing an Init State
-
Monitoring Processes
- Commands for Monitoring Processes
- Using the ps Command
- Signalling a Process
- Killing Processes
- Using the /usr/proc/bin Commands
- The Priority Control Command (priocntl)
- Setting the Priority of a Process (nice)
- Changing the Priority of a Running Process (renice)
- Finding or Signalling Processes (pgrep, pkill)
-
Reviewing Essential Administration Tools
-
Frequently Used Commands
- Getting Around in the File System (pwd, cd)
- Finding Information About Files
- Displaying File Information (ls)
- Finding a File (find)
- Finding the Type of a File (file)
- Finding Information in Files (grep, egrep)
- Looking at Files
- Viewing a File (more)
- Looking at the End of a File (tail)
- Looking at the Beginning of a File (head)
- Changing File Ownership or Permissions (chown, chmod, chgrp)
- Changing File Group Ownership (chgrp)
- Setting or Displaying the System Environment
- CDE Environment Variables
- Tools in the Solaris Management Console
-
Frequently Used Commands
- 2. Using Basic OS Commands
- 3. Understanding the Flash Install and Live Upgrade Features
-
4. Understanding Shells
-
Tasks Common to All Shells
- Setting a Default Shell
- Changing Shells from a Command Line (csh, ksh, sh, bash, tcsh)
- Quitting from a Shell (exit)
- Setting Aliases, Paths, and Environment Variables
- Clearing a Shell Window (clear)
- Setting the Shell Backspace Key (stty erase)
- Typing Several Commands on the Same Command Line (;)
- Redirecting Output (<>)
- Combining Commands (|)
- The Bourne Shell
- The C Shell
-
The Korn Shell
- Reviewing Korn Shell Initialization Files
- Using Korn Shell Options
- Creating Korn Shell Aliases
- Editing Commands with the Korn Shell In-line Editor
- Setting the Size of the Korn Shell’s History
- Displaying Korn Shell History Commands
- Using Korn Shell History Commands
- Editing Korn Shell History Commands
- The Bourne-Again Shell
- The TC Shell
- The Z Shell
-
Tasks Common to All Shells
- 5. Administering User Accounts and Groups
- 6. Administering Rights and Roles
-
7. Administering File Systems
- What’s New in File Systems in the Solaris 9 Release
- What’s New in File Systems in the Solaris 8 Release
- Types of File Systems
- The Default Solaris File System
- The Virtual File System Table (/etc/vfstab)
- File System Administrative Commands
-
Making File Systems Available
-
Understanding Mounting and Unmounting
- Using Mount and Unmount File System Commands
- UFS Logging
- Finding the Mounted File Systems
- Mounting All File Systems in the /etc/vfstab File
- Mounting All File Systems of a Specific Type
- Mounting a Single File System (mount)
- Remounting a UFS File System Without Large Files (mount)
- Unmounting All Remote File Systems (umountall -F nfs)
- Unmounting Individual File Systems (umount)
- Automounting Directories
- Sharing Files from a Server
-
Understanding Mounting and Unmounting
- Checking the Data Consistency of a File System (fsck)
- Backing Up and Restoring File Systems
- Cache File Systems
-
8. Administering Devices
- What’s New in Device Management in the Solaris 9 Release
- Automatically Configuring Devices
- Allocating Devices
- Using SCSI and PCI Hot-Plugging
- Specifying Device Names
-
Using Tapes
-
Tape Device–Naming Conventions
- Specifying the Drive Number by the Default Density
- Specifying Different Densities for a Tape Drive
- Specifying the No-Rewind Option
- Understanding Device Abbreviations for Different Tape Controllers and Media
- Using SCSI 1/4-Inch Cartridge and 1/2-Inch Front-Loaded Reel Drives
- Specifying Helical Scan Drives
- Using DLT and AIT Tape Drives
- Useful Commands for Streaming Tapes
- The tar Command
- The cpio Command
- The pax Command
-
Tape Device–Naming Conventions
- Accessing Removable Media Devices
-
Using DVD-ROM Devices
- Hardware and Software Requirements
- UDF Compatibility Issues
- Connecting a DVD-ROM Device
- Accessing Files on a DVD-ROM Device
- Displaying UDF File System Parameters
- Creating a UDF File System
- Determining Whether a File System Is a UDF File System
- Checking a UDF File System
- Mounting a UDF File System
- Unmounting a UDF File System
- Labeling a Device with a UDF File System and Volume Name
- Using Jaz or Zip Drives
- Writing CD Discs
-
Volume Management
- Volume Management Files
- Volume Management Mount Points
- Limitation on UFS Formats with Volume Management for CDs
- CD-ROMs and Volume Management
- Diskettes and Volume Management
-
Limitation on UFS Formats with Volume Management for Diskettes
- Command-Line Diskette Formatting (rmformat)
- Command-Line Diskette Formatting (fdformat)
- Determining If a Diskette Is Still in Use
- Ejecting a Diskette
- Accessing the CDE Front Panel
- CDE File Manager Access
- Using Removable Media Manager to Format Diskettes
- Using the tar and cpio Commands with Diskettes
- Volume Management Troubleshooting
- Volume Management and workman
- Disabling Volume Management
-
Using Diskettes Without Volume Management
- Diskette Device Names
-
Diskettes for UFS File Systems
- Formatting a UFS Diskette (rmformat)
- Formatting a UFS Diskette (fdformat)
- Removing a Diskette from the Drive
- Copying UFS Files to a Single Formatted Diskette
- Listing the Files on a Diskette (tar)
- Appending Files to a Formatted Diskette (tar)
- Retrieving Files from a Diskette (tar)
- Retrieving bar Files from Diskettes (cpio)
- Multiple Diskettes for Archiving Files (cpio)
- Diskettes for PCFS (DOS) File Systems
-
Administering Disks
- Disk-Naming Conventions
- Setting Up Disk Slices
- Disks and SMC
- Disk Use Check (du)
- Disk Information Check (prtvtoc)
-
Bad-Disk Repair
- Try Archiving the Files
- Try Copying Data from the Disk
- Try Repairing Any Bad Blocks
- Try Reformatting the Disk
- Replacing the Bad Disk
- Adding Defect List, Format, Partition, and Label Disk (format)
- Remaking the File Systems (newfs)
- Mounting the File System on a Temporary Mount Point (mount)
- Restoring Files to the File System (ufsrestore)
- Unmounting the File System from Its Temporary Mount Point (umount)
- Checking the File System for Inconsistencies (fsck)
- Performing a Level 0 Backup of the Restored File System (ufsdump)
- Mounting the File System at Its Permanent Mount Point (mount)
- Understanding the Service Access Facility
- Setting Up a Bidirectional Modem
- Using a Modem
-
9. Administering Systems
-
Displaying System-Specific Information
- Determining the Host ID Number (sysdef -h, hostid)
- Determining the Hardware Type (uname -m)
- Determining the Processor Type (uname -p)
- Determining the OS Release (uname -r)
- Displaying System Configuration Information (prtconf)
- Determining How Long a System Has Been Up (uptime)
- Determining the System Date and Time (date)
- Setting the System Date and Time (date)
- Changing the System Time Zone (/etc/TIMEZONE)
- Configuring Additional Swap Space (mkfile, swap)
- Creating a Local Mail Alias (/etc/mail/aliases)
-
Displaying System-Specific Information
-
10. Administering Network Services
- Configuring Systems for a Network
- Checking on Remote System Status
- Logging In to a Remote System (rlogin)
- Logging Out from a Remote System
- Transferring Files Between Systems (rcp, ftp)
- Administering NIS+ Databases
- Using SMC Computers and Networks Tool
- Introducing the IPv6 Internet Protocol
- Showing Network Status (netstat)
- Displaying Network Interface Parameters (ifconfig)
- Displaying Packet Contents
-
Secure Shell Commands
- Benefits of SSH
- SSH Configuration
- Public Key Authentication with the Secure Shell
-
11. Administering Printing
- What’s New in Printing in the Solaris 9 Release
- What’s New in Printing in the Solaris 8 Release
- Solaris Print Package Redesign
- Print Administration Tools in the Solaris Environment
- Choosing a Method to Manage Printers
- Introducing the LP Print Service
- Understanding the Structure of the LP Print Service
- Using the SunSoft Print Client
-
Setting Up Printing Services
- Introducing Solaris Print Manager
- Starting Solaris Print Manager
- Adding Access to a Printer with the Print Manager
- Adding a New Attached Printer with Print Manager
- Adding a New Network Printer with Print Manager
- Converting Printer Configuration in NIS+ (xfn) to NIS+ Format
- Setting Up a Print Server (Solaris Operating Environment)
- Controlling the Printing of Banner Pages
- Turning Off Banner Pages
- Setting Up a PostScript Print Client with LP Commands
- Using Printing Commands
- 12. Recognizing File Access Problems
- Glossary
Product information
- Title: Solaris™ Operating Environment System Administrator’s Guide, Fourth Edition
- Author(s):
- Release date: May 2003
- Publisher(s): Pearson
- ISBN: 9780131014015
You might also like
book
Boot Disk Management: A Guide for the Solaris™ Operating Environment
Enhance system reliability with reference configurations Effectively use Solstice DiskSuite or VERITAS Volume Manager to manage …
book
Solaris™ 8 System Administrator's Reference
Get beyond the man pages! The practical, task-oriented reference to every key Solaris 8 command, from …
book
Solaris™ 8 Advanced System Administrator's Guide, Third Edition
The widely used reference for experienced system administrators of the Solaris Operating Environment—now fully updated for …
book
Solaris 8 Administrator's Guide
The Solaris operating system, along with related Sun products like Java, is one of the most …