I'm using SuSE Linux Enterprise and I know that there is a command

su root

for changing to root log-in. But what about the other way around? If I prefer to return to my user account, how to do it?

  • 2
    You just exit the root shell...
    – Karlson
    May 12, 2014 at 18:35
  • 4
    Run exit or hit Ctrl+D.
    – terdon
    May 12, 2014 at 18:45
  • To become root, you can just use su, instead of su root
    – drs
    Aug 15, 2014 at 1:36

3 Answers 3


If you want to return to your account, you have 3 ways:


If you want to change to another user, you can use su again.

su differentuser
su username

If you want to load environment variables,

su - username

Just type exit to exit the shell.

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.