Solaris 10 notes

To mount a DVD or CD iso image:


lofiadm -a /full/path/imagename.iso /dev/lofi/1
mount -F hsfs -o ro /dev/lofi/1 /mnt

How to install packages:


cd /mnt/Solaris_Software_Companion/Solaris_i386/Packages
pkgadd -d `pwd` SFWxaw3d

Where the hell is sudoers?


emacs /opt/sfw/etc/sudoers

No setuid? WTF?


chmod +s /opt/sfw/bin/sudo

To restart a service (like autofs, ssh):


svcadm restart /system/filesystem/autofs:default

Comments are closed.