Solaris Tips and Tricks

by Peter Jones / August 3, 2009

Create a New User Account

$ pfexec useradd -c 'Peter Jones' -d /export/home/pjones -m -s /usr/bin/zsh pjones
$ pfexec passwd pjones

Changing Your Default Shell

Solaris doesn't have chsh so:

$ pfexec passwd -e `whoami`

Installing Software Packages

$ pfexec pkg install SUNWzsh

Tags: solaris