Using inetadm to change bind_addr


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Using inetadm to change bind_addr
# 1  
Old 03-05-2019
Using inetadm to change bind_addr

In solaris


Code:
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


Code:
Cannot accept NULL values for default properties.


Any ideas how I can clear the bind_addr?


Thanks




Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 03-05-2019 at 06:21 PM.. Reason: Added CODE tags.
# 2  
Old 03-18-2019
After much searching I finally found a work around.


Code:
svccfg export inetd >i.xml


edit the i.xml file and remove the bind_addr line containing the IP.
Code:
svccfg import i.xml

These 2 Users Gave Thanks to hitech For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

How to change raid controller driver ? (hardware change)

Hello I'm trying to virtualize an instance of Sco Unix 5.0.5 in VirtualBox (called VM-A) , but sco I have problems set to launch with the new raid controller . The physical machine has a raid controller adaptec (alad driver) but VirtualBox uses buslogic (blc driver) What ... (3 Replies)
Discussion started by: flako
3 Replies

2. Shell Programming and Scripting

Change the content of files but not change the date

I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies

3. Shell Programming and Scripting

Change the content of files but not change the date

I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies

4. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

5. Solaris

difference between inetadm and svcadm

Can anyone tell me the difference between inetadm and svcadm in solaris. As per my knowledge svcadm will use to start/stop services . Any help on this is really helpful (2 Replies)
Discussion started by: rogerben
2 Replies

6. Solaris

inetadm command

I am little confussed, I have installed a netbackup client on Solaris 10. The client software has made an entry for bpcd in /etc/inetd.conf file My question is can I use the following command in Solaris 10 so that inetd.conf is reread and is it save to do this in a production env. Do I need to... (1 Reply)
Discussion started by: Tirmazi
1 Replies

7. Solaris

removing inetadm entries in Solaris 10

Hi there Does anybody know how I can remove an entry from the listing that `inetadm` produces ? ie .. .. .. disabled disabled svc:/network/finger:default disabled disabled svc:/network/login:eklogin disabled disabled svc:/network/login:klogin disabled disabled ... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

8. Post Here to Contact Site Administrators and Moderators

how to change my name?

hi, how to change my name in the unix forums. ie in the right top corner "welcome, sekar sundaram" i would like to change my name in this welcome field. how to do that? in the edit profile i cant find it.. sekar (6 Replies)
Discussion started by: sekar sundaram
6 Replies

9. Post Here to Contact Site Administrators and Moderators

Want to change my Name

Hello, Pls change my login name to Awadhesh instead of awadhesh if possible. it will be more better if it become Awadhesh Pandey. Thanks a lot. Awadhesh (2 Replies)
Discussion started by: Awadhesh
2 Replies

10. Cybersecurity

How to change ip ?

hi , Is there anyway to change ip on sco5.04 i tried using netconfig on the prompt but gives me error . how do u manually change ip cant use acoadmin and netconfig .... thx art (2 Replies)
Discussion started by: art_malabanan
2 Replies
Login or Register to Ask a Question