====== Solaris 10 post-install steps ====== ===== Drive mirroring ===== [[Solaris boot drive mirroring]] [[zfs mirror]] ===== Enable auth logging ===== - Uncomment the following line in ''/etc/syslog.conf'': auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost) - restart syslog: svcadm restart system-log ===== Create Initial user ===== NOTE: Put this line at the end of ''/etc/pam.conf'' first, so that new users will have their passwords synch'ed into the CIFS password database from the beginning. other password required pam_smb_passwd.so.1 nowarn NEWUSER=mark zfs create zdata/export zfs set mountpoint=/export zdata/export zfs set compression=on zdata/export zfs create zdata/export/home zfs create zdata/export/home/$NEWUSER useradd -d /home/$NEWUSER -s /usr/bin/zsh $NEWUSER chown -R $NEWUSER /export/home/$NEWUSER ===== Enable auto mounted /home ===== NOTE: newer OpenSolaris releases no longer use the automounter for ''/home''. I kind of like it, so I add it back in. - Create the following line in ''/etc/auto_home'': * localhost:/export/home/& - restart autofs: svcadm restart autofs ===== Enable remote access to web console ===== svccfg -s svc:/system/webconsole setprop options/tcp_listen = true svcadm refresh svc:/system/webconsole svcadm disable webconsole svcadm enable webconsole ===== Configure CIFS (SMB) server to share your home directory ===== svcadm enable -r smb/server zfs set sharesmb=name=mark zdata/export/home/mark sharemgr show -vp smbadm join -w mccoy