Make Corrections to svccfg setprop Command Lines That Set Boolean Values

Several svccfg setprop examples incorrectly show how to specify a property that has a Boolean value. To correct these examples, change instances of boolean to boolean: false.

  • Update the svccfg setprop command in the Adding a Rights Profile to Every Login example of the Modifying Password Policy section as follows:

    $ pfbash svccfg -s account-policy
    svc:/.../account-policy> setprop config/etc_default_passwd/disabled = boolean:false
    svc:/.../account-policy> setprop password/complexity/passlength = 13
    svc:/.../account-policy> exit
  • Update the svccfg setprop command in the Modifying System-Wide Privileges, Authorizations, and Rights Profiles section as follows:

    $ pfbash svccfg -s account-policy
    svc:/.../account-policy> setprop config/etc_security_policyconf/disabled = boolean: false
    svc:/.../account-policy> setprop rbac/console_user_profiles astring = ""
    svc:/.../account-policy> setprop rbac/default_profiles astring = "Site Console User, Basic Solaris User"
    svc:/.../account-policy> exit
  • Update the svccfg setprop command in the Modifying Which Privileges Are Available on a System section as follows:

    $ pfbash svccfg -s account-policy
    svc:/.../account-policy> setprop config/etc_security_policyconf/disabled = boolean: false
    svc:/.../account-policy> setprop rbac/default_privileges = "basic,!file_link_any"
    svc:/.../account-policy> exit
  • Update the svccfg setprop command in the Assigning a Rights Profile to a System section as follows:

    $ pfbash svccfg -s account-policy
    svc:/.../account-policy> setprop config/etc_security_policyconf/disabled = boolean: false
    svc:/.../account-policy> setprop rbac/default_profiles = "Example Rights Profile"
    svc:/.../account-policy> exit
  • Update the svccfg setprop command in the Assigning the Editor Restrictions Rights Profile to All Logins example of the Assigning a Rights Profile to a System section as follows:

    $ pfbash svccfg -s account-policy
    svc:/.../account-policy> setprop config/etc_security_policyconf/disabled = boolean: false
    svc:/.../account-policy> setprop rbac/default_profiles = "Editor Restrictions"
    svc:/.../account-policy> exit
  • Update the svccfg setprop command in the Enabling Only the Console User to Log In example of the Assigning a Rights Profile to a System section as follows:

    $ pfbash svccfg -s account-policy
    svc:/.../account-policy> setprop config/etc_security_policyconf/disabled = boolean: false
    svc:/.../account-policy> setprop rbac/default_authorizations = ""
    svc:/.../account-policy> setprop rbac/default_profiles = ""
    svc:/.../account-policy> exit