So I got a laptop from my college that has Ubuntu 12.04 LTS and Windows 7. They handed over the laptop after reformatting the computer themselves.

When I open the terminal I used to see


which I managed to change to


from the

sudo gedit /etc/hostname

and switched off the Auto Login So I could see Sid at the top left corner of the login page.

I want to change collegename to user or ubuntu or something else which does not remind me of my college.. just like it appears


for the root user. What should I do? I am not the root user.

I tried

sudo gedit /etc/hosts 

and changed collegename to myname beside but have not checked whether the name has changed or not.

The bluetooth name is also not a default, they've changed everything they could and it's the same for all students.

  • 1
    Whatever you changed in the hosts file... Change back now. – Simon Sheehan Oct 14 '12 at 4:07

The name which appears before the @ is your username. Create a new account or rename your account to something else.

Unless you are very experienced in managing user identities, it is far simpler and more likely to be correct to create a new account.

Depending on the umask of user collegename, you might want to set world read and execute permission to all your files:

 $ collegename@Sid:~$ chmod -r 755 ~/*

That way you can get full access to the old username from your new one.

To create a new account, see this.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.