I'm new to Ubuntu and I have seen people online suggesting to add ppa s and download applications outside the software centre. I know that if I don't trust the publisher it is a security risk. But is it ok if I install the application by logging in as another user and never give root privilege to that application? If I don't give root privilege it can't damage my system, since it is another user, it can't damage the files of my regular account. Am I right? Can such a setup prevent keyloggers also? Running kubuntu 18.04 LTS 64 bit
Asked
Active
Viewed 68 times
0
sudo
command... – George Udosen Mar 06 '19 at 14:06.config
folder has afaik only read access for the owner, but e.g..mozilla
folder is readable by everyone. As long as you don't follow the answers in the linked question, everyone can read your files. – pLumo Mar 06 '19 at 14:31It can only run if we open it, isn't it? If I install something with sudo, the apt will copy the contents of the package to my hard disk, and when I run it the code actually executes. So, shouldn't I be safe as long as I don't execute the program with sudo?
When I install something, I'm giving "apt" with root access, not to the program, right?
– NFS Most Wanted Mar 06 '19 at 15:01root privileges
, and is given it now has the ability to change and modify system parameters and configuration because your providing of your password (per say) gave it that ability... So at install if you do so then malware can make changes to your system... – George Udosen Mar 06 '19 at 15:02sudo
command] then it can make changes that will make it possible for it to run without needed you to use thesudo
command and hence not requiring a password to execute! – George Udosen Mar 06 '19 at 15:06sudo apt install xyz
you have authorizedapt
to do what ever that package wants which could also be malicious! So next time when you doxyz
it does it's malicious tasks without your knowledge! – George Udosen Mar 06 '19 at 15:08