Rename computer

Rename computer

Postby jnelson1078 on Tue Jun 05, 2012 10:58 pm

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:
jnelson1078
Level 1
Level 1
 
Posts: 3
Joined: Sat Jun 02, 2012 11:14 pm

Linux Mint is funded by ads and donations.
 

Re: Rename computer

Postby wayne128 on Wed Jun 06, 2012 1:29 am

try changing your

/etc/hostname

to your desired new name
wayne128
Level 10
Level 10
 
Posts: 3322
Joined: Tue Jul 13, 2010 12:15 am

Re: Rename computer

Postby altair4 on Wed Jun 06, 2012 7:55 am

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.
altair4
Level 16
Level 16
 
Posts: 6057
Joined: Tue Feb 03, 2009 10:27 am


Return to MATE

Who is online

Users browsing this forum: No registered users and 3 guests