Tuesday, September 06, 2005

Share CDROM with NFS

/etc/rmmount.conf
share cdrom*

List removable media

rmformat -l

Thursday, September 01, 2005

Patch cluster checks space in

/var/sadm/pkg
*if -nosave option is used, the dir is not checked, but it becomes impossible to back out

Install patches from here

/var/tmp

patchrm needs patches saved here

/var/sadm/patch

Where is pkg spool?

/var/spool/pkg

Add SUNWntpr to spool dir

pkgadd -d . -s spool SUNWntpr

Remove SUNWntpr from spool dir

pkgrm -s spool SUNWntpr

Was SUNWcsr ever changed?

pkgchk SUNWcsr

Was /etc/passwd changed since installation?

pkgchk -p /etc/passwd

Add SUNWzsh pkg

pkgadd -d . SUNWzsh

CD1 contains these clusters

Core and End User

*CD2 contains Developer, Entire Dist and ED + OEM

pkginfo uses this dir

/var/sadm/pkg

Alternative to "pkgchk -lp /usr/bin/showrev"

grep showrev /var/sadm/install/contents

*pkgadd and pkgrm updates the file every time

Where is install log?

/var/sadm/system/logs/install_log

NTP templates

/etc/inet/ntp.server
/etc/inet/ntp.client

Two main ntp commands

ntpq -np
ntptrace

Security policy and policies available

/etc/security/policy.conf
/etc/security/crypt.conf

Subnet masks file

/etc/inet/netmasks

/var needs more space if

the system supports mail or printing

What cluster do I have?

cat /var/sadm/system/admin/CLUSTER

Software clusters

Core
End User -> All network services but DHCP
Developer -> On-line man pages
Entire
Entire + OEM