- Set password for root account
- Set timezone
- Set hostname
Set Password for root account
By default, there is no password assigned for the root account.
You can set a password for root account using the following command:
Before you can set the timezone, you need to identify it using the computer standards.
Look at a file /usr/share/zoneinfo for a list of timezone.
In my case, my country Singapore is located in Asia
So my timezone is determined to be Asia/Singapore.
To set the timezone, enter the follow command:
# echo export TZ=Asia/Singapore > /etc/rc.timezone
This will take effect when I log in again.
The default hostname can be rather non-descriptive.
So you might want to change that.
So for example, I chose the hostname of rocket, I would enter the following command to set it:
# hostname rocket
Zhixian’s note: This change does not seem to persist after a reboot.
Still exploring how to do this correctly.
The best solution I saw so far is from http://osdir.com/ml/minix3/2011-12/msg00072.html
It suggests putting your IP and host name into /etc/hosts file.
Here’s the excerpt pertaining to problem and suggested solution:
In case you are wondering, here’s what my /etc/hosts file look like: