1. Set hostname of this machine
/etc/nodename:
The new hostname of the machine, e.g. telusmmu1
2. config net interface and hosts
/etc/hostname.eri0:
The interface name, e.g. telusmmu1
Note: eri0 is interface name, if the machine has second net interface, the second hostname file should be configed, e.g.
/etc/hostname.eri1:
telusmmu1_1
3. Set hosts
/etc/hosts, e.g.:
192.168.102.14 telusmmu2
192.168.99.24 telusmmu2_1
4. This machine will not use as a router
touch /etc/notrouter
5. Open root authority: ftp,telnet,ssh
/etc/ftpd/ftpusers:
remove “root” line
/etc/default/login:
remove “CONSOLE” line
/etc/ssh/sshd_config:
PermitRootLogin yes
X11Forwarding yes
svcs -a |grep ftp
svcadm enable ftp
svcs -a |grep telnet
svcadm enable telnet
svcs -a |grep ssh
svcadm enable ssh
6. Set local-mac-address to fast net speed
/usr/platform/sun4u/sbin/eeprom local-mac-address?=true
7. Set shell
/etc/passwd:
root:x … :/usr/bin/ksh
RSS feed for comments on this post · TrackBack URI
Leave a reply