Let's say for example, I am installing a program, and I want to do it from the Terminal because I'm old fashioned that way
I enter the terminal and I type "su" and then my root password when prompted. I type the necessary commands to install the program using the package manager, and when I'm done, do I simply close the Konsole window or do I have "su alan" (alan is the username of my regular account on my machine) to log back into my regular user account?
If I want to stay in the Konsole and do more command line work (that doesn't require root access) would I "su alan" then? Or, is there a better way to return to normal after switching over to root?
Thanks.

