LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
system user name wrong....how to change?
#1
I just installed 2.2 (awesome so far) and when I set my user name, I didn't think to delete the "System-Product-Name" part.  I just typed the user name I wanted.  Now, the terminal knows me as "[me]-System-Product-Name".  Can I change this to just "[me]" without reinstalling?  I'm sure it doesn't affect anything but I have OCD so it bothers me.

(If this is in the wrong sub forum, I apologize.  I wasn't sure where to put it.)[/me][/me]
Reply
#2
Change 2 files, /etc/hosts and /etc/hostname. Open as Administrator.
In /etc/hostname just change the name. In /etc/hosts change the line 127.0.1.1  youroldname to 127.0.1.1  yournewname
Make sure the new name in each file is identical. Reboot to complete.
Reply
#3
Thank you very much!  Worked like a charm!
Reply
#4
No problem Smile
Reply
#5
(12-13-2014, 04:50 AM)Monkeyman link Wrote: Thank you very much!  Worked like a charm!
Worked great for me as well. It may help to make a note that the /etc/hostname file is a hidden file, though. But I guessed it must be there or you would not have mentioned it and so I just checked "show hidden files".
Reply
#6
Hi Dan,

That's a bit strange.

/etc/hostname is not a hidden file. To be a hidden file it would have to be with a dot: /etc/.hostname
So, you only can see that file if you navigate with your file-manager (Thunar) to /etc/ and choose "Show Hidden Files"?

Also, just for clarification as the thread title is a bit confusing.

There is:
* system name, which is also called host name, describing how your computer is called
* user name, which is obviously the name you log in with. And of course there can be more than one user.

There is not really such a term as "system user name".
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)