How to modify name of computer or host
phil
phil at philfixit.info
Thu Aug 6 19:45:14 UTC 2015
You need to edit the computer name in two files:
/etc/hostname
and
/etc/hosts
However you may also have other programs that have the hostname
mentioned in a config file somewhere, for example postfix, amavisd etc
etc . . .
--
"We have enough youth, how about a fountain of smart?"
Regards,
Phil Steel-Wilson | [+61](0)447 64 55 34
Phil'll Fix It Computer Services| http://philllfixit.com.au
Linux user no. | #564977
If you are happy with my service and rates, please recommend
me to your family and friends. Boring stuff follows . . .
Treat all email communication as confidential.
It is for the intended recipient only. If you have received
this and you are not the intended recipient please contact,
admin at philllfixit.com.au
------------------------
On 07-Aug-15 5:37 AM, Bret Busby wrote:
> Hello.
>
> When the operating system is installed, the person installing the
> operating system, can set or modify the default name for the
> system/host.
>
> I am wondering, when the operating system installation is completed,
> and the system is in use, whether a superuser can modify the name of
> the system/host, and, if so, how it is to be done, for example, at the
> command line prompt, istead of having
> BlackBox:~$
> modifying it to be
> BlackBox-Ubuntu14-04:~$
>
> Years ago (about 20-30years ago), when I was being taught UNIX, I
> remember being taught how to change the command prompt, so it could
> include things such as a timestamp, etc, but, I believe that changing
> the system/host name, would also change the syystem/host name for the
> log in window when the screen is locked, and, in email headers, etc.
>
> Thank you in anticipation.
>
> Thank you in anticipation.
>
More information about the ubuntu-users
mailing list