Rename computer

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jnelson1078

Rename computer

Post by jnelson1078 »

When I loaded Mint 11, I misspelled the name of the computer and it bothers me. Is there any way to change the name of the computer? :oops:
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
wayne128

Re: Rename computer

Post by wayne128 »

try changing your

/etc/hostname

to your desired new name
altair4
Level 20
Level 20
Posts: 11454
Joined: Tue Feb 03, 2009 10:27 am

Re: Rename computer

Post by altair4 »

As I recall you have to also change the name in /etc/hosts. Otherwise when you use sudo or gksu you will get an error - something like "cannot resolve hostname: ... " In fact I think you have to edit /etc/hosts before you edit /etc/hostname.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Locked

Return to “MATE”