I understand there are dangers of logging into the desktop environment as root, but I was wondering if someone might inform me as to some general guidelines to follow as a regular user in X, but logging into konsole as su for certain tasks. (I avoid logging into X as root.)
For instance, while in KDE, I need to be root in konsole to install or remove apps using pacman, after which I logout (or simply close the window.) This type of use hasn't brought me any unexpected results.
For some tasks, like using Kate or Kwrite to edit config files as root, I use 'kdesu' instead of 'su'. This has worked out fine so far as well.
However, I HAVE messed up SUperkaramba twice, with 2 distros, and here is how.
I have had a konsole opened, logged in as root, and did 'reboot'. It seems like kde skips a step of saving something or other, because when I log back in after reboot, the Superkaramba theme I was using would be gone. (And there is nothing I can do, apparently, to get it back. The theme appears to be installed on the 'get new stuff' and can't be re-installed)
I will, needless to say, avoid doing that again in the future, but could someone give me an explanation, and/or some general guidelines to follow while logged in as regular user, but doing su tasks in a konsole?
I have googled this unsuccessfully, as most info is somewhat ambiguous.
Thanks.
For instance, while in KDE, I need to be root in konsole to install or remove apps using pacman, after which I logout (or simply close the window.) This type of use hasn't brought me any unexpected results.
For some tasks, like using Kate or Kwrite to edit config files as root, I use 'kdesu' instead of 'su'. This has worked out fine so far as well.
However, I HAVE messed up SUperkaramba twice, with 2 distros, and here is how.
I have had a konsole opened, logged in as root, and did 'reboot'. It seems like kde skips a step of saving something or other, because when I log back in after reboot, the Superkaramba theme I was using would be gone. (And there is nothing I can do, apparently, to get it back. The theme appears to be installed on the 'get new stuff' and can't be re-installed)
I will, needless to say, avoid doing that again in the future, but could someone give me an explanation, and/or some general guidelines to follow while logged in as regular user, but doing su tasks in a konsole?
I have googled this unsuccessfully, as most info is somewhat ambiguous.
Thanks.