CONTENTS 1
Part 1 Sun Certified System Administrator for Solaris 8 1
Chapter 1 Taking the Administrator's Exam 3
What Is Solaris? 3
Solaris,SunOS,and UNIX 6
Solaris Certification Exams 7
Solaris Exam Preparation Courses 8
Fundamentals of Solaris 8 Operating Environment for System Administrators(SA-118) 9
Solaris 8 System Administration Ⅰ(SA-238) 9
Solaris 8 System Administration Ⅱ(SA-288) 11
What's on the Exam? 12
Exam Tips and Tricks 13
Summary 16
Chapter 2 System Concepts 17
The Kernel 17
The Shell 21
The Filesystem 22
Commonly Used Shells 23
Multi-user Versus Multi-tasking 23
Client-Server Networks 24
Networking Terminology 24
Summary 26
Questions 26
Answers 27
The OpenBoot PROM Monitor 29
Chapter 3 The OpenBoot PROM 29
Analyzing System Configuration 31
Changing the Default Boot Device 32
Testing System Hardware 34
Creating and Removing Device Aliases 35
Troubleshooting Booting Problems 35
Halting a Hung System 36
Summary 36
Questions 37
Answers 38
Chapter 4 Installing Solaris 8 on a Single Host 39
Solaris 8 Distribution 39
Supported Hardware 40
Supported SPARC Platforms 42
Device Nomenclature 43
Pre-Installation Tasks 45
Web Start Installation 48
Network 48
Name Service 49
Date and Time 50
Root Password 50
Power Management 50
Proxy Server 51
Kiosk 51
Summary 52
Questions 53
Answers 55
Chapter 5 Software Package Administration 57
Printing Package Information Using the CLI 58
Printing Package Information Using admintool 60
Installing a Solaris Package Using the CLI 63
Uninstalling a Solaris Package Using the CLI 65
Installing a Solaris Package Using admintool 66
Uninstalling a Solaris Package Using Admintool 71
Summary 73
Questions 74
Answers 76
Chapter 6 Maintaining Patches 77
Understanding Patches 78
Verifying Installed Patches 80
Summary 83
Installing Patches 83
Backing out Patches 83
Questions 84
Answers 84
Chapter 7 The Boot Process 85
Switching Run-Levels 85
Understanding Booting 88
The init Process 90
Writing Startup Scripts 91
Summary 92
Questions 93
Answers 94
Understanding System Halts 95
Chapter 8 Changing System States 95
Performing a Reconfiguration Boot 96
Powering down the System 96
Performing System Halts and Shutdowns 96
/sbin/init 97
/usr/sbin/shutdown 97
/usr/sbin/halt 98
/usr/sbin/poweroff 99
/usr/sbin/reboot 99
Summary 100
Questions 100
Answers 101
Chapter 9 System Security 103
Checking User and Group Identification 104
The Super-user Account 105
File and Directory Ownership 106
Symbolic Permission Codes 106
Monitoring User Activity 110
The/etc/passwd and/etc/shadow Password Files 111
Summary 114
Questions 114
Answers 115
Chapter 10 Managing Users 117
Users 118
User Characteristics 118
Adding Users 119
Modifying User Attributes 120
Deleting Users 121
Groups 122
Group Characteristics 122
Adding Groups 123
Managing Groups 124
Passwords 124
Managing Users and Groups with admintool 126
Summary 130
Questions 130
Answers 132
Chapter 11 Administration of Initialization Files 133
The profile Script 134
Source(.) 137
Common profile Commands 137
basename 138
cat 139
cd 139
chgrp 140
chmod 140
date 140
grep 141
head 141
less 141
Is 142
more 142
tail 143
pwd 143
Processing Shell Arguments 144
Testing File Properties 145
Looping 147
Using Shell Variables 148
Summary 150
Questions 150
Answers 152
Chapter 12 Advanced File Permissions 153
File Ownership 153
Display and Change the Default Permissions(umask) 159
Setuid and Setgid Permissions 161
Questions 162
Summary 162
Sticky Bit Permissions 162
Answers 164
Chapter 13 Process Control 165
Processes 165
The ps Command 167
Signals 172
The kill Command 172
Scheduling Jobs 174
The at Command 174
The cron Command 176
Summary 177
Questions 177
Answers 178
Physical and Logical Device Names 181
Chapter 14 Disk Configuration and Naming 181
The Format Command 182
The/etc/path_to_inst File 182
The dmesg Command 184
The prtconf Command 186
Summary 188
Questions 188
Answers 189
Chapter 15 Disk Partitions and Format 191
Hard Disk Layout 191
Formatting 194
Questions 199
Summary 199
Answers 200
Chapter 16 Introduction to File Systems 201
Filesystem Structure 201
Monitoring Disk Usage 202
Fixing Problems with fsck 207
The Phases of fsck 208
fsck Examples 210
Summary 213
Questions 213
Answers 215
Chapter 17 Mounting File Systems 217
Mounting Local Filesystems 217
Unmounting Local Filesystems 219
Understanding Mounting Options 220
Configuring/etc/vfstab 221
Summary 222
Questions 222
Answers 223
Chapter 18 Backups 225
Understanding Backups 226
Why Do You Need Backups? 226
Determining a Backup Strategy 228
Selecting a Backup Media 230
Tape 231
Hard Drives 231
Zip/Jaz Disks 232
CD-Rs and CD-RWs 233
Backup and Restore 234
Using tar 234
Using cpio 237
Using dd 238
Using ufsdump and ufsrestore 239
Summary 242
Questions 242
Answers 244
Chapter 19 The Ip Print Service 245
Supported Printers 245
Configuring Print Services 247
Admintool 248
Solaris Print Manager 249
Summary 251
Questions 252
Answers 253
Chapter 20 Print Commands 255
Printing Using lp 255
Monitoring Print Jobs 256
Managing a Printer Using lpadmin 256
Setting Printer Classes 258
Adding Remote Access Using lpadmin 258
Summary 258
Questions 258
Answers 259
Part Ⅱ Sun Certified System Administrator for Solaris 8 261
Chapter 21 The Solaris 8 Network Environment 263
Network Configuration 263
Viewing Network Interfaces 271
Modifying Interface Parameters 272
IP Routing 275
Overview of Packet Delivery 275
traceroute 277
Static Routes 278
Routing Protocols 279
The Kernel Routing Table 279
Viewing the Routing Table(netstat-r) 279
Manipulating the Routing Table(route) 280
Dynamic Routing 281
Summary 282
Questions 282
Answers 283
Chapter 22 Installing a Server 285
Clients and Servers 285
Solaris 8 Server Innovations 286
Clustering Technology 287
lxrun 287
Solaris 8 Security Innovations 288
Kerberos Version 5 288
IPv6 289
Solaris 8 Distribution 290
IP Security(IPSec) 290
Supported Hardware 291
Supported SPARC Platforms 292
Device Nomenclature 293
Pre-Installation Tasks 296
Web Start Installation 298
Network 299
Name Service 299
Date and Time 300
Root Password 300
Power Management 301
Proxy Server 301
Kiosk 301
Practice Questions 303
Summary 303
Answers 305
Chapter 23 Solaris Syslog and Auditing Utilities 307
Syslog 307
What Is Syslog? 307
Examining Log Files 308
The syslog.conf File 309
Monitoring System Access 310
TCP Wrappers 311
Process Monitoring 313
Identifying Processes 313
The ps Command 314
Parent and Child Processes 314
Summary 317
Questions 317
Answers 318
Chapter 24 Managing Devices 319
Device Files 320
dev and/devices 321
Storage Devices 322
Serial Devices 326
Checking for Devices 327
At Boot Time 329
While the System Is up 331
Summary 338
Questions 338
Answers 340
Chapter 25 The Service Access Facility(SAF) 341
The Primary SAF Process(sac) 341
SAF Port Monitors 343
ttymon 343
listen 344
Port Monitor Management 344
Summary 345
Questions 345
Answers 346
Chapter 26 Adding Terminals and Modems with Admintool 347
Adding a Serial Port 347
tip 349
Adding a Modem 350
Summary 351
Questions 351
Answers 352
Chapter 27 Introduction to Disk Management 353
What Is RAID? 353
Setting up RAID 356
Striping 357
Mirroring 358
Summary 359
Questions 359
Answers 360
Chapter 28 Networks 361
Subnet Configurations 361
Checking Logged-in Users 362
Configuration Network Files 362
Login to a System Remotely 363
Understanding Remote Access Security 366
Checking If a Host Is up 369
Summary 370
Questions 370
Answers 371
Chapter 29 Configuring the NFS Environment 373
29.1.NFS Architectures 375
Configuring an NFS Server 376
RPC 376
rpcinfo 377
Sharing Filesystems 378
Installing an NFS Client 380
Mounting Remote Filesystems 380
Summary 382
Questions 382
Answers 384
Chapter 30 The CacheFS Filesystem 385
Configure a CacheFS Filesystem 385
Summary 387
Questions 388
Answers 388
Chapter 31 Using Automount 389
Enabling the Automounter 390
Automounter Maps 390
Automount and NIS1 393
Starting and Stopping the Automounter 394
Summary 395
Questions 395
Answers 396
Chapter 32 Naming Services Overview 397
DNS Defined 398
Understanding NIS and NIS1 407
NIS Maps 410
Name Service Switch 412
Summary 414
Questions 414
Answers 415
Root Domain Installation 417
Chapter 33 NIS 417
Creating Tables 419
Nonroot Domain Installation 420
NIS1 Tables 421
Auto Home 422
Auto Master 422
Bootparams 423
Ethers 423
Group 423
Hosts 423
Mail Aliases 424
Netgroups 424
Protocols 425
Passwd 425
Networks 425
Netmasks 425
RPC 426
Services 426
Timezone 426
Using NIS1 426
Displaying Default Settings 427
Understanding Object Permissions 428
Listing Objects 429
Displaying Objects 430
Summary 431
Questions 432
Answers 433
Chapter 34 Admintool 435
Managing Users 435
Managing Groups 441
Summary 442
Questions 442
Answers 442
Chapter 35 JumpStart—Automatic Installation 443
Introducing JumpStart 443
Boot Servers 444
Install Servers 444
Boot Clients 445
sysidcfg 446
Questions 447
Summary 447
Answers 448
Chapter 36 Configuring and Using the CDE 449
Using CDE 449
dtlogin 450
CDE Workspace 451
Launching Applications 455
File Manager 458
Text Editor 459
Mailer 460
Calendar 461
Web Browser 461
Console 463
Calculator 464
Performance Meter 465
Print Manager 466
Image Viewer 466
Snapshot 467
Icon Editor 468
Style Manager 468
Help 470
Answer Book 2 470
Summary 471
Questions 471
Answers 472
Appendix A Solaris Administration Quick Reference 473
Index 555