Originally Posted by
DanPerecky
Coffeecat...
OK... Thanks for the warning...
So how would you suggest that we access this directory... What is the safe way to do this?
..
IF you use "sudo" use the "-H" switch; from man sudo....
Code:
-H, --set-home
Request that the security policy set the HOME environment vari‐
able to the home directory specified by the target user's pass‐
word database entry. Depending on the policy, this may be the
default behavior.
... this will protect you from the damage of root taking over your user environment.
For running graphical apps with root I use "pkexec" here. I am not sure what the latest Ubuntu main release is using, I am running Ubuntu Mate 18.
Bookmarks