The authoritative prep guide for the Sun Solaris 8 Operating Environment
System Administration Part I certification exam!
- The only exam prep guide for the Solaris 8 Operating Environment endorsed
by Sun Educational Services!
- Contains self-assessment questions approved by the exam's creators
- Comprehensive coverage of day-to-day system administration
- Security, backup and recovery, installation, disks, troubleshooting, and
much more
This start-to-finish guide to the certification exam for the Solaris 8
platform is the only prep guide endorsed by Sun Educational Services—and the
only book containing self-assessment questions approved by the exam's creators!
Focused entirely on the Solaris 8 platform, it's both an exceptionally
authoritative study guide and an outstanding day-to-day reference for every
sysadmin using the latest, most powerful version of the Solaris Operating
Environment. Long-time UNIX authority Peter H. Gregory presents comprehensive
coverage of essential concepts of the Solaris platform and day-to-day user
administration, including:
- Files, file systems, disks, and backup/recovery
- Installation, initialization and shutdown, boot PROMs, and the Solaris
platform kernel
- Command syntax, shell commands, and vi editing-including hundreds of
real-world examples
- Security, processes, remote communications, and user administration
- Analyzing and troubleshooting hardware and software
- Graphical user interfaces
Whether you're currently preparing for the Sun Solaris 8 Operating
Environment certification exam or migrating to the Solaris 8 platform from
earlier versions, you won't find a more authoritative, useful resource.
Table of Contents
Preface.
1.
System Concepts.
Operating System. Programs and Processes. The ps
Command. The prstat Command. Signals. Terminating an Active Process. The pkill
Command. Daemon Processes. The File System. Getting Help. Man Pages.
2. Installation.
Installation Planning. Memory. Disk Space.
Software Clusters. Network Information. Release Media .Software Installation on
a New System. Installing from CD-ROM31. Software Installation on an Existing
System: Solaris Upgrade. Preparing for an Upgrade. Upgrade Procedure. Installing
Software Packages. pkgadd Command. pkginfo Command. pkgrm Command.
Noninteractive Package Installation and Removal. pkgchk Command. Installing
Patches. Where to Obtain Patches. Patch Installation. Decisions about Patches.
Installing a Patch. Listing Which Patches Are Currently Installed. Removing a
Patch.
3. The Boot PROM.
Overview of the Boot PROM. Accessing the Boot
PROM. Entering Boot PROM with Stop A or BREAK. Entering Boot PROM at Powerup.
Boot PROM Commands. Boot PROM Configuration Variables. Accessing Boot PROM
Configuration Variables. Accessing Boot PROM Configuration Variables from UNIX.
Boot PROM Security Levels.Devices and Device Aliases. The devalias Command. The
nvalias and nvunalias Commands. Troubleshooting. System Boots from Wrong Device.
System Boots from a Disk Instead of from the Network. System Boots from the
Wrong Disk. System Will Not Boot from Disk. Nonresponsive System. Chapter
Summary. Test Yourself.
4. Initialization and Shutdown.
System Run Levels. Show System Run Level. Sync
File Systems. Change System Run Level. Change Run Level with init. Change Run
Level with shutdown. Change Run Level with reboot. Change Run Level with halt.
Change Run Level with poweroff. The OpenBoot boot Command. System
Initialization. System Shutdown.
5. User Administration.
Account Configuration Files. The Password File.
The Shadow File. The Group File. Primary and Secondary Groupids. The Root
Account. Admintool. Add User Account. Modify User Account. Lock User Account.
Delete User Account. Add Group. Modify Group. Delete Group. User Administration
Shell Commands. useradd Command. usermod Command. userdel Command. groupadd
Command. groupmod*Command. groupdel *Command. Shells. Bourne Shell.
Initialization Files. Environment Variables. Aliases. C-Shell. Initialization
Files. Environment Variables. Aliases. Command History. Filename Completion.
Korn Shell. Initialization Files. Environment Variables. Aliases. Command-Line
Editing. Command History. Restricted Shells. User Account Commands. Finding
Files by Username or Group. What Users Are Logged In? who Command. rwho Command.
rusers Command. finger Command. Change Password. Password Complexity. Root and
Password Changes.
6. Files and Directories.
Paths. Path Metacharacters. Exploring the File
System. File System Navigation. Listing the Contents of Directories. Determining
File Size, Type, Owner, and Modification Date. The file Command. Working with
Files. Creating Files Using the touch Command. Creating Files Using Output
Redirection. Creating Files Using Copy. Moving Files. Renaming Files. Removing
Files. Displaying the Contents of Text Files. Searching for Text within Files.
Working with Directories. Creating Subdirectories. Renaming and Moving
Directories. Removing Directories.
7. vi Editor.
Starting the vi Editor. vi Modes. Command Mode.
Input Mode. Last Line Mode. Exiting vi. Moving around the File. Advanced Moving
around the File. Text Editing. Inserting Text. Commands While Inserting Text.
Deleting Text. Changing Text. Copying, Inserting, Searching, and Replacing.
Copying Text into Buffers. Inserting Text from Buffers. Search and Replace.
Reading and Writing Files. Miscellaneous Commands. Numerals Before vi Commands.
Mapping New Commands. vi Configuration Commands. vi Configuration File.
8. Disks.
Adding Disks to a System. Adding a Device
Dynamically Using the devfsadm Command. Disk Devices. Raw and Block Device
Interfaces. Device Interfaces File Names. Tools and Disk Interfaces Used.
Formatting Disks. Partition Submenu. Formatting a Disk. Changing the Partition
Table. Creating, Tuning, and Checking File Systems. Creating File Systems with
newfs. Tuning File Systems with tunefs. Checking File Systems with fsck. Lost
Files in lost+found.
9. File Systems.
File System Types. UFS File System. S5FS File
System. HSFS File System. PCFS File System. UDFS File System. NFS File System.
CacheFS File System. TMPFS File System. LOFS File System. PROCFS File System.
Mnttab File System. XMEMFS File System. Solaris File Systems. File Systems and
Their Function. Directories. File Types. Inodes. Creating Hard and Symbolic
Links with the ln Command. Mounting Fixed File Systems. The mount and umount
Commands220 Automatic File System Mounting at Boot Time. The /etc/vfstab File
and the mount Command. The /etc/mnttab File. The mountall and umountall
Commands. Working with Removable File Systems. Mounting and Unmounting Removable
Media without Volume Management. Creating UFS File Systems on a Diskette.
Ejecting Media. Volume Management. Volume Management Daemon. Mounting CD-ROMs
with Volume Management. Mounting Diskettes with Volume Management. Volume
Management Configuration.
10. Backup and Recovery.
Compressing Files. compress and uncompress.
zcat. pack, unpack, and pcat. gzip, gunzip, and gzcat. Creating Archive Files.
tar. Cpio. zip and unzip. Jar. Backing Up a System to Tape. Tape Devices. The mt
Command. ufsdump and ufsrestore. ufsrestore Interactive Mode. tar and cpio.
Recovering a System from a Backup Tape.
11. Security.
File and Directory Permissions. Working with
File Permissions. Files with SetUID and SetGID Permissions. Working with
Directory Permissions. Directories with Sticky Bit Permissions. Directories with
SetUID and SetGID Permissions. Displaying File and Directory Permissions.
Changing File and Directory Permissions. The chown Command. The chgrp Command.
The chmod Command. The umask Command. umask and Directories. File and Directory
Access Control Lists. Setting Access Control Lists. Displaying Access Control
Lists. Working with Access Control Lists. Finding Files and Directories with
Permission Attributes.
12. Remote Administration.
Remote Sessions. telnet Command. rlogin Command.
Remote Commands. Remote File Copy. rcp Command. ftp Command. Remote Login Access
Control. /etc/default/login File. /etc/nologin File. Remote Administration
Access Control. /etc/hosts.equiv File. .rhosts File. Format of /etc/hosts.equiv
and .rhosts. /etc/hosts.equiv and .rhosts Search Order.
Appendices.
Answers. Examination Objectives. Sample Pre-Test
Agreement. Sun Certification Program Policy on Candidate Misconduct.
Supplemental Information. Additional Resources.
Index.