svccfg -s network/inetd setenv UMEM_DEBUG default,firewall=1

this command is not working. I need to set an environment variable to the inetd service with "=" as a character in environment variable value.

link|improve this question

56% accept rate
feedback

1 Answer

If I read your command correctly you want to set the value of UMEM_DEBUG to default,firewall=1

You can do this interactively

svccfg -s network/inetd 
svc:/network/inetd> setprop start/environment=astring ("UMEM_DEBUG=default,firewall=1")
svc:/network/inetd> listprop start/environment
start/environment    astring    UMEM_DEBUG=default,firewall=1
svc:/network/inetd> 
link|improve this answer
quotes shouldn't be part of UMEM_DEBUG env value. – suresh Apr 29 '11 at 11:50
Firewall is an hidden option in umem – suresh Apr 29 '11 at 12:46
@suresh: Have a look at the changes I made – Iain Apr 29 '11 at 13:28
@suresh; please post corrections as a comment, Iain will edit them into his answer if he thinks they are appropriate. Thank you! – Chris S Apr 29 '11 at 15:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.