Build new Solaris 11

root@edus005v1:~# svccfg -s name-service/switch
svc:/system/name-service/switch> listprop config
config                      application       
config/value_authorization astring     solaris.smf.value.name-service.switch
config/default             astring     files
config/host                astring     "files dns"
config/printer             astring     "user files"
svc:/system/name-service/switch> setprop config/group = astring: "files nis"
svc:/system/name-service/switch> setprop config/automount= astring: "files nis"
svc:/system/name-service/switch> exit
root@edus005v1:~# svcadm refresh name-service/switch
root@edus005v1:~# svcadm refresh svc:/network/nis/client:default
root@edus005v1:~#  svcadm refresh svc:/system/filesystem/autofs:default

1. edit the file /etc/ssh/sshd_config PermitRootLogin yes with PermitRootLogin no and save file.
    vi /etc/ssh/sshd_config    PermitRootLogin yes
2. Comment out the “CONSOLE=/dev/console” line in /etc/default/login.
    vi /etc/default/login
  #CONSOLE=/dev/console
3.Remove “;type=role” from the root entry in /etc/user_attr or use the below command.
 rolemod -K type=normal root
4. Restart the Services.
#svcadm restart svc:/network/ssh:default

root@edus005v1:~# svcadm disable svc:/network/smtp:sendmail
root@edus005v1:~# svcadm disable svc:/network/ipsec/policy:default

root@edus005v1:~# svcadm disable svc:/system/fm/asr-notify:default

root@edus005v1:/mnt# sharectl set -p client_versmax=3 nfs
root@edus005v1:/mnt# sharectl set -p client_versmin=2 nfs

root@edus005v1:/etc#  ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
net0/v4           static   ok           9.55.54.6/24
lo0/v6            static   ok           ::1/128
net0/v6           addrconf ok           fe80::214:4fff:fefb:fcba/10
root@edus005v1:/etc# ipadm delete-addr net0/v4
root@edus005v1:/etc# ipadm create-addr -T static -a 9.55.54.93/24 net0/v4
root@edus005v1:/etc# ipadm show-addr

 

 

Comments

Popular posts from this blog

VIOS TIPs

Configure Solaris 10 LDOM on Solaris 11.4

Change P410i from HBA mode to Raid mdoe