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.
root@edus005v1:~# svcadm disable svc:/network/smtp:sendmail
root@edus005v1:/mnt# sharectl set -p client_versmax=3 nfs
root@edus005v1:/etc# ipadm show-addr
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
Comments