Using inetadm to change bind_addr

In solaris

inetadm -l pop3
 SCOPE    NAME=VALUE
         name="pop3"
         endpoint_type="stream"
         proto="tcp6"
         isrpc=FALSE
         wait=FALSE
         exec="/usr/sbin/popper -s -R"
         user="root"
default  bind_addr="71.252.137.146"
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=TRUE
default  connection_backlog=10

I can change the bind_addr to any other ip but

When i use inetadm -M bind_addr="" or '' or simply bind_addr= I get the following error

Cannot accept NULL values for default properties.

Any ideas how I can clear the bind_addr?

Thanks

After much searching I finally found a work around.

svccfg export inetd >i.xml

edit the i.xml file and remove the bind_addr line containing the IP.

svccfg import i.xml

2 Likes