Set a configuration string (QNX)

You must be logged in as root to use this utility.


setconf variable_name string ...


The variable to set; see <pathconf.h>. The most useful variables are:

    A hostname can consist only of letters, numbers, and hyphens, and must not start or end with a hyphen. For more information, see RFC 952.

    If you change this configuration string, be sure you also change the HOSTNAME environment variable. The hostname utility always gives the value of the _CS_HOSTNAME configuration string.

  • _CS_PATH
The new value for the variable.


This utility sets a variable that's used for configuration information. For more information, see the documentation for getconf .

Last modified: 2013-12-21

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus