Find the answer to your Linux question:
Results 1 to 2 of 2
Hello. I am a new Linux (Ubuntu) user. My normal prompt looks like: username(at)ubuntu + current directory. (Odd format, it doesn't really look like that, but I was told I ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    1

    Prompt disappears when switching user.

    Hello. I am a new Linux (Ubuntu) user.

    My normal prompt looks like: username(at)ubuntu + current directory. (Odd format, it doesn't really look like that, but I was told I needed 15 posts to post an URL).

    Whenever I change user with "su username" (at least when changing from root to normal user), this prompt completely disappears. All it says on the left in front of the input "$". Also the history doesn't work, and the tab key doesn't complete anything, but rather acts as the normal tab in an editor.

    How do I fix this? It is very annoying. Sorry for the stupid question, but I've searched around for an answer, finding none.

  2. #2
    RDU
    RDU is offline
    Just Joined!
    Join Date
    Aug 2010
    Posts
    89
    do a "su - username" (su <SPACE> <DASH> <SPACE> username)
    This will realy change the user and load the new user profile.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...