Friday, January 6, 2012

Setup domainname in Solaris 11

  • svcadm disable nis/domain
  • svccfg -s svc:/network/nis/domain listprop config/domainname
  • svccfg -s svc:/network/nis/domain setprop config/domainname = <your domain name>
  • svccfg -s nis/domain:default refresh
  • svcadm enable nis/domain
  • Verify that domainname is setup correctly
    • domainname

4 comments:

  1. it is working. thank u

    ReplyDelete
  2. Much thanks! it worked for me :)

    ReplyDelete
  3. can't work on Solaris11.1, after reboot OS, domainname is missing, why?

    ReplyDelete