When I run terminal in Linux Ubuntu, it runs normally. By that I mean that there is no login required. I am actually not sure if it is supposed to ask for login information, but I am wondering if there is a way that I could make the terminal ask for such whenever I run it.

Thank you all in advance!

  • Why would you want to do this though?
    – edwinksl
    May 12, 2017 at 0:30
  • 1
    When you log in to your session you are already logged in.
    – userDepth
    May 12, 2017 at 0:49
  • @edwinksl I just wanted to do it for fun! May 12, 2017 at 0:52
  • @userDepth, so I can't, right? May 12, 2017 at 0:52
  • @BrailinsonA.Disla If you want to log in into a terminal you can hit CTRL ALT F1 and you'll get one and F2 has another but remember you'll need CTRL ALT F7 to return to your graphical session. And no you won't be able to play music at the same time :P
    – userDepth
    May 12, 2017 at 0:55

1 Answer 1


If any task that require a root previledges, you will be asked for root (sudo) password.

As userDepth said in comment that When you log in to your session you are already logged in,

Login for terminal, What is it? What happened when we open it?

It is a non-login interactive shell. In this case of an interactive but non-login shell, only ~/.bashrc is executed. In most cases, the default ~/.bashrc script executes the system’s /etc/bashrc.

You can read:

When you login to system and open a terminal,it's a gnome-terminal and when you did Ctrl+Alt+F1, it is Virtual terminal. Virtual terminals can be accessed by pressing Ctrl+Alt+F1 till F6. To come back to the graphical session, press Ctrl+Alt+F7.

  • Thank you @daisy! Understanding the differences between login-shell and non-login shell would had been very helpful before I even asked the question, so thank you a lot :D May 12, 2017 at 23:16

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.