2007年 6月 05日 火曜日
|
|
Messages in cipher reflected in the looking glass [ Yasuhiro Fujitsuki's Weblog ] |
(EN) Diskless Solaris x86 Part 6 : Small Tips
There are small tips for making diskless clients.
/export/root/clone/Solaris_10/i86pc is a base dir of / (root) directory for diskless clients.
You can customize initial settings of diskless clients to edit this directory.
For example, default settings of
/etc/default/init (/export/root/clone/Solaris_10/i86pc/etc/default/init )
is as follows.
TZ=PST8PDT CMASK=022
In default, dtlogin(login menu) are in English.
But, to change as follows, login menu in Japanese is shown without customize after making diskless clients by "smosservice add" .
TZ=Japan CMASK=022 LANG=ja
In default, smosservice does not set root password of the diskless client.
So root password is empty in the first boot time.
But, you cannot use above-method to set password.
If you want to set password of root as default.
After making diskless client by smosservice, change /etc/shadow file of the diskless client by yourself.
If you are okay that root password of diskless client is same as root password of the server,
copying server's /etc/shadow to the client is easy way to set root password.
# cp /etc/shadow /export/root/w1100z/etc/shadow
Posted at 05:59午後 6 05, 2007 by Yasuhiro Fujitsuki in Linux & Solaris(EN) |