I can't understand exactly what you are doing with su in root account?
I suppose this is off topic, but the question has to be answered -- simply because it still pops up.
Using the su
command is not just a way of becoming root
. It does not
stand for "super user". It stands for "substitute user" and lets you become any
user on your system, if you just know that user's password.
This can be useful even if you are logged in as root. The syntax of the command in its simplest form is
after which you will be asked for username's password. If you don't specify the name of the user you wish to become, it's understood to be root
So su-ing to ordinary users while logged in as root was a very sensible thing to do in joseppi's case.