Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Choose Menu System->Administration->Users and Groups

I am able to see my Users Settings as follows:

User name: mike

Then why I still see the following prompt line?

user@ubuntu:~$ echo $USER
user
user@ubuntu:~$ 

I expect to see the following

mike@ubuntu:~$ echo $USER
mike
mike@ubuntu:~$ 

If my understanding is wrong, then how can I change it in this way?

share|improve this question

migrated from stackoverflow.com Sep 22 '11 at 17:31

This question came from our site for professional and enthusiast programmers.

    
Did you logout and login again? –  larsmans Sep 22 '11 at 14:40
    
@larsmans, yes, I did. But it doesn't work. –  q0987 Sep 22 '11 at 14:43
add comment

1 Answer

I think the name mike is stored in Gnome, and not visible in the whole system.

Your real system name is user. Take a look at this to change your username.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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