This is the Barker-family.info web site, the personal pages
and projects of Nigel, Jan, Emily, Lucy and Georgina Barker.
Nigel Barker, Jan Barker, Emily Barker, Lucy Barker, Georgina
Barker
Prestonpans, Prestonpandemonium, Monkey Loft Comics, Three
Harbours Art Festival, Nulsh, Malcy Duff
Prestonpans, John Rattray, Book Crossing, Comics, Comics
Quiz, EC War Comics Index, I Love You Toast, Toast in the Post
Prestonpans Nursery School Recipe Book
If you can see this text then your browser doesn't support
or isn't configured for Cascading Style Sheets, or, erm, our template is broken
again, so this page isn't appearing as we intended ...
Instance name -- the kernel's abbreviated name for every possible device
driver not attached -- means no device at this node or device not in use
config files are under /kernel/drv
path_to_inst file maps instance names to physical device names
kernel uses vfstab and path_to_inst files to find /, /usr and swap partitions
at boot time
devfsadm -- creates logical links to device nodes
fragment -- the smallest allocatable unit of disk space
format of vfstab
device to mount
device to fsck
mount point
file system type
fsck pass
mount at boot time ?
mount options
labelit -- write or display disk labels
fstyp -- full listing of file system parameters
mount -p -- print
tunefs, newfs mounted
fuser -c -k /home
SMC cannot format a disk
2. Installation
Minimum RAM - 128 MB
uname -m -- platform group
Six software groups
reduced network support
core system support
end user support
developer system support
entire distribution
entire distribution + OEM system support
Methods of installing
interactive install -- suninstall -- CD anywhere on segment
jumpstart -- from CD -- re/preinstall
custom jumpstart -- across network
flash archive -- clone systems -- flash update just does
diffs -- fast
WAN boot -- uses http
live upgrade -- upgrades mirror in SVM
Three phases of installation
system config
installation
post installation
pkginfo -- shows info
pkgchk -- checks integrity
zcat -- unzip on the fly
Solaris product registry
patchadd -d -- no backup
3. System boot and shutdown
Openboot -- executes POST and loads boot block
devices called nodes are attached to buses on the device tree
show device commands
show-devs
devalias
nvalias (from eeprom or ok> )
stop-n to set nvram defaults
security-mode -- limit users at openboot
bootblock is blocks 1-15 of startup device
ufsboot -- loads OS kernel
sysdef -- lists devices, modules and tunable parameters
boot process
boot prom
boot programs
kernel initialization
init
svc.startd
init starts svc.startd
boot -m -- milestone e.g. single user
svcadm milestone single-user
boot -m milestone=single-user
valid service names
svc://localhost/network/inetd-default
svc:/network/inetd-default
network/inetd:default
svcs -a -- detailed view of service state of all
offline -- means configured but not running or available
svcs -d milestone/multi-user -- show dependencies
4. users and security
eight character usernames, upper, lower and numbers only
must start with letter and must have one lowercase
one primary and 15 secondary groups
SMC can't lock an account or generate password
Password no longer cleared until first login
delete login but deselect home directory
/etc/skel -- Solaris default login init files
UIDs up to 2G
/etc/default/passwd -- default password limits
logins -p -- shows users with no password
/etc/default/login -- set CONSOLE device
aset -- automated security enhancement tool
-l low, medium or high
verifies system file permissions and contents
consistency of passwd and group files
checks environment files
verifies eeprom
ensures can be safely used as network relay
setacl -d -- delete an acl
eeprom -- electronically erasable programable read only memory
5. System Processes
pgrep -l -- long
-f -- full (for matching)
prstat, sdtprocess -- display processes and update at an interval
renice, priocntl -- change priority
renice -n -4 -p 8200
ptree, sdtprocess -- show process ancestry tree
at -l, atq -- show jobs queued up by at
/var/cron/log
must be in /etc/cron.d/cron.allow and not in /etc/cron.d/cron.deny
6. Printing
reject -- prevents queueing
add a local printer -- print manager or lpadmin
default pinter -- $LPDEST, $PRINTER
valid printer ports
/dev/term/a
/dev/term/b
/dev/ecpp0
cancel -u user
lpadmin -x -- delete printer
print manager
lpstat -p printer
-D description
-T type
-l file types
configuration files -- /etc/printers.conf /etc/lp
lpadmin -p printer -c class
lpstat -p printer -l -- list characteristics
lp -i job name -q 1 -- priorp-.