Category Archives: sun

How to configure a user on SUN Solaris 10

edit /etc/passwd and update the shell, for example, i want to configure bash for root

log out and log in again to verify.

within your home folder, also specified in /etc/passwd, above example sets / as the home folder for root, create a .profile file with the following content

export TERM=vt100
export PS1=”$USER@$HOSTNAME:w> [e[0m]”

this will set your terminal to vt100, which allows for easy editing and does some formatting on your prompt 🙂
check for more info!

How to configure NTP on SUN Solaris 10

cp /etc/inet/ntp.server /etc/inet/ntp.conf

edit the ntp.conf file.

Syncing to an external NTP server:

(see for a list of public time servers)

change `server 127.127.XType.0`
to `server time_server`

you can add multiple servers also, for example:


comment out `fudge 127.127.XType.0 stratum 0`

touch /var/ntp/ntp.drift
svcadm enable svc:/network/ntp

Configuring an NTP Client in Solaris 10:

cp /etc/inet/ntp.client /etc/inet/ntp.conf
svcadm enable svc:/network/ntp