Page 1 of 1

How to change hostname ???

Posted: 23 Jun 2014, 18:12
by baszek
Hello
I am using porteus 3.0 - do you know how can I change hostname ?
I was trying with command hostname and also edited /etc/HOSTNAME and /etc/hosts but it does not work, after restart hostname is still "porteus".

Re: How to change hostname ???

Posted: 23 Jun 2014, 20:03
by fanthom
you may add this to /etc/rc.d/rc.local:

Code: Select all

hostname baszek
or do it the 'porteus way' with a cheatcode:

Code: Select all

cliexec=hostname~baszek