VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Where is $HOSTNAME set?  (Read 1252 times)

fogpipe

  • Vectorite
  • ***
  • Posts: 105
Where is $HOSTNAME set?
« on: May 16, 2012, 07:55:59 pm »

I tried editing /etc/hosts and nothing changed until i ran vasm and changed it.
What script is running the hostname program to change it while ignoring /etc/hosts?

Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3217
Re: Where is $HOSTNAME set?
« Reply #1 on: May 17, 2012, 04:24:11 am »

Run vnetconf as root from a terminal