Cover image for Solaris essential reference.
Title:
Solaris essential reference.
Author:
Mulligan, John.
Personal Author:
Publication Information:
Indianapolis, Ind. : New Riders ; Hemel Hempstead : Prentice Hall, 1999.
Physical Description:
xxiii, 267 pages ; 23 cm
Language:
English
Title Subject:
ISBN:
9780735700239
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library QA76.76.O63 M8438 1999 Adult Non-Fiction Central Closed Stacks
Searching...

On Order

Summary

Summary

"Could someone give me an easy way to look up the sed and awk commands for Solaris?" asked a time-pressed computer design engineer. Most Solaris users use it in a professional technical environment. They're looking for the fastest way to find a needed command so they can get on with their work. The Solaris Essential Reference assumes that you're well versed in general UNIX skills and simply need some pointers on how to get the most out of Solaris. This book provides clear and concise instruction on how to perform important administration and management tasks, and use some of the more powerful commands and more advanced topics. It includes the best way to implement the most frequently used commands, deal with shell scripting, administer your own system, and utilize effective security. Bonus coverage includes information on third-party software packages available for Solaris that are essential to operating a good system. Such applications are pico, pine, top, TCP Wrappers, and more.


Author Notes

John P. Mulligan is the creator of the Unofficial Guide to Solaris (sun.icsnet.com), a popular Web site for users of the Solaris operating system. John spent three years at the Computing Support Services department at Lafayette College working on just about every aspect of UNIX system administration and management. He was responsible for migrating all the college Sun SPARstations from SunOS 4.x to SunOS 5.x (aka Solaris 2). During that time he also worked on a research project involving the modeling of microfluidic flows on Sun Solaris workstations. John currently lives in Spring Grove, Pennsylvania, and works at P. H. Glatfelter Company as an environmental engineer. He can be reached at mulligan@sun.icsnet.com.


Table of Contents

Introductionp. xxi
Book Conventionsp. xxii
Informational Utilitiesp. xxii
Part I General Usage Reference
1 Text Utilitiesp. 3
Sortingp. 4
sortp. 4
uniqp. 5
Formattingp. 6
cutp. 6
fmtp. 6
foldp. 7
joinp. 7
newformp. 8
nlp. 9
pastep. 10
Editorsp. 11
edp. 11
vip. 13
Advanced Text Toolsp. 19
awkp. 19
exp. 21
grepp. 27
nawkp. 28
sedp. 31
2 Shell Scriptingp. 35
Shell Summaryp. 37
Executing Scripts and Commandsp. 38
evalp. 38
execp. 38
sourcep. 38
Setting and Unsetting Environment Variablesp. 39
exportp. 39
setp. 39
setenvp. 41
unsetp. 42
unsetenvp. 42
RC File Environment Variablep. 43
HISTORYp. 43
LD_LIBRARY_PATHp. 43
EDITORp. 43
IFSp. 44
PATHp. 44
PROMPTp. 44
Input and Outputp. 44
Command-Line Argumentsp. 44
echop. 45
readp. 45
Redirectionp. 46
\p. 46
[p. 46
]p. 46
]]p. 47
teep. 47
Logical Operationsp. 47
case/switchp. 47
if-then-elsep. 49
Loopsp. 49
do-whilep. 49
exitp. 50
foreachp. 50
gotop. 51
3 Process Controlp. 53
Starting Processesp. 54
atp. 54
atrmp. 55
atqp. 55
crontabp. 56
nicep. 57
timep. 57
timexp. 58
Process Statusp. 59
bgp. 59
fgp. 59
historyp. 60
jobsp. 60
psp. 61
ps (UCB version)p. 62
renicep. 64
Stopping Processesp. 64
killp. 64
stopp. 65
4 Network Clients and Utilitiesp. 67
Informational Utilitiesp. 68
fingerp. 68
netstatp. 69
nslookupp. 71
rpcinfop. 73
pingp. 75
rupp. 76
ruptimep. 76
rusersp. 77
whoisp. 77
File Transfersp. 78
ftpp. 78
rcpp. 81
rwhop. 82
Communicationsp. 83
mailp. 83
mail (UCB version)p. 85
rwallp. 88
talkp. 88
wallp. 89
writep. 90
Remote Shells and Loginp. 90
rloginp. 90
rshp. 91
telnetp. 92
Part II Administration and Maintenance Task Reference
5 System Configuration and Tuningp. 97
System Identificationp. 98
Changing the System Hostnamep. 98
Reconfiguring the System (sys-unconfig)p. 98
Editing the Message of the Day (MOTD)p. 99
Modulesp. 100
General Configurationp. 101
Adding a Devicep. 101
Disabling Automounting of /homep. 101
Changing the Console Terminal Typep. 102
Changing the Root Login Shellp. 102
Kernel Tuningp. 102
Kernel Parametersp. 102
6 Network Administrationp. 105
Daemons and Serversp. 107
Internet Daemon (inetd)p. 107
TCP Network Access Control Daemon (netacl)p. 108
Network Listen Daemon (listen)p. 110
Name Service Cache Daemon (nscd)p. 110
NFS Daemon (nfsd)p. 112
Network Lock Daemon (lockd)p. 113
Network Router Discovery Daemon (in.rdisc)p. 113
Network Routing Daemon (in.routed)p. 114
Network Finger Daemon (in.fingerd)p. 114
Network Wall Daemon (rwalld)p. 115
Boot Parameter Server (rpc.bootparamd)p. 115
RPC Remote Execution Daemon (rpc.rexd)p. 116
Telnet Daemon (in.telnetd)p. 117
Talk Daemon (in.talkd)p. 117
Remote Shell Daemon (in.rshd)p. 117
System Status Daemon (in.rwhod)p. 118
File Transfer Protocol Daemon (in.ftpd)p. 118
Domain Name Server (in.named)p. 120
Remote Login Daemon (in.rlogind)p. 122
Network Username Daemon (rusersd)p. 122
Kernel Statistics Daemon (rstatd)p. 122
Network Spray Daemon (sprayd)p. 122
Network Status Daemon (statd)p. 123
Network File System (NFS)p. 123
Mounted Filesystem Tablep. 123
Sharing/Exporting NFS Resourcesp. 124
Unshare an NFS Resourcep. 126
Display NFS Statisticsp. 126
Mounting and Unmounting NFS Filesystemsp. 128
Mailp. 132
The sendmail Daemonp. 132
sendmail Configurationp. 133
SMTP Application Proxy (smap)p. 136
smapdp. 138
7 Startup and Shutdownp. 141
Power Managementp. 142
Power Management Daemon (powerd)p. 142
Power Management Configuration File (/etc/power.conf)p. 142
Configuring the Power Management System (pmconfig)p. 145
PROM Level Bootingp. 145
Boot Configuration Parameters (eeprom)p. 145
Shutdowns and Rebootingp. 148
Restarting the Operating System (reboot)p. 148
Halting the Kernel (halt)p. 149
Reboot or Shutdown (shutdown)p. 150
Run Statesp. 151
inittabp. 152
Automatically Starting Services When Bootingp. 154
8 User Managementp. 157
Basic User Management Tasksp. 158
Adding a User (useradd)p. 158
Modifying an Existing User Account (usermod)p. 160
Deleting an Existing User Account (userdel)p. 162
Ancillary User Management Tasksp. 163
Locking an Existing User Account (passwd -l)p. 163
Changing an Existing User Password (passwd)p. 164
Switching Users and Changing to the Root User (su)p. 165
Checking the Password File for Errors (pwck)p. 166
Checking the Group File for Errors (grpchk)p. 167
Quotasp. 168
Checking a Single User's Disk Quota (quota)p. 168
Reporting Filesystem Quotas (repquota)p. 169
Editing User Quotas (edquota)p. 173
Enabling/Disabling Quotas on a Filesystem (quotaon)p. 173
Updating Quotas (quotacheck)p. 174
9 Filesystemsp. 177
Filesystem Overview and Descriptionp. 178
Solaris Filesystem Layoutp. 178
Solaris Filesystem Description File (vfstab)p. 184
Constructing and Mounting New Filesystemsp. 185
Constructing a New Filesystem (newfs)p. 185
Constructing a New Filesystem (mkfs)p. 187
Mounting and Unmounting Filesystems (mount, mountall)p. 189
Checking and Tuning Filesystemsp. 191
Checking and Fixing Filesystems (fsck)p. 191
Printing Filesystem Statistics and Filenames (ff)p. 192
Checking Free Disk Space (df)p. 193
Labeling Filesystems (labelit)p. 195
List Pathnames and inumbers (ncheck)p. 195
Tuning a Filesystem (tunefs)p. 196
Backupsp. 197
Backing Up a Filesystem (ufsdump)p. 197
Restoring a Filesystem from a Backup (ufsrestore)p. 198
Copying Filesystemsp. 200
Copying Volumes (volcopy)p. 200
Copying and Converting Files (cpio, dd)p. 201
Creating and Extracting Tape Archives (tar)p. 204
10 Securityp. 207
System Auditingp. 208
Enabling the Basic Security Module (BSM)p. 208
Third-Party Toolsp. 208
Starting the Auditing Systemp. 209
The Audit Daemonp. 210
Printing Audit Trail Filesp. 211
Audit Warningsp. 211
Controlling the Audit Daemonp. 213
ASETp. 214
Automated Security Enhancement Tool (ASET)
Overviewp. 214
ASET Environment Filep. 217
Printing ASET Statusp. 218
ASET Mastersp. 218
ASET Restorep. 219
Network Sniffingp. 219
snoopp. 219
Kerberosp. 222
Kerberos Overviewp. 222
Kerberos Daemon (kerbd)p. 222
Configuring Kerberosp. 223
Kerberos realms Filep. 223
Logging In to the Kerberos Authentication Systemp. 224
Listing Kerberos Ticketsp. 225
Retrieving a Ticket-Granting Ticketp. 225
Destroying Kerberos Ticketsp. 225
Solaris 2.2p. 229
Solaris 2.3p. 229
Part III Appendices
A Solaris Version Changesp. 229
Solaris 2.2p. 229
Solaris 2.3p. 229
Solaris 2.4p. 230
Solaris 2.5p. 230
Solaris 2.5.164-bit KAIOp. 231
Solaris 2.6p. 231
Solaris 7p. 231
B Common Startup Problems and Solutionsp. 233
C Signalsp. 235
Signals by Valuep. 235
Commonly Used Signalsp. 236
D Web Resourcesp. 237
Administration and Managementp. 237
Common Desktop Environment/OpenLookp. 238
Developer Resourcesp. 238
Hardwarep. 239
Lists of Resourcesp. 239
Magazines (Online and Print)p. 240
Online Documentationp. 240
Securityp. 240
Softwarep. 241
Solaris x86p. 242
Y2Kp. 242
E TCP/UDP Port Listp. 243
TCP/UDP Ports by Servicep. 244
TCP/UDP Ports by Portp. 245

Google Preview