Hello, Guys. I’m new here.
I just transfered to Manjaro from Windows. While I had used my Windows machine, I prefered to be admin in my computer. Like God, I mean. I never used password, and all applications was launching by administrator.
Can I get this in Manjaro?
I’m the only user and I believe I don’t make anything bad for my pc in this way. Am I right?
P.S.
The reason is I just sick of entering “sudo” and my password.
Windows was born single-user. Network was an afterthought.
Linux is born network and multi-user.
Everything is build around permissions - so what you are asking may be possible but you get weird issues when you mess with permissions on system files.
You cannot come back here and ask for help with issues as it will be impossible to fix.
You could just enable root login in the display manager configuration.
Then login with root - but you will soon regret this.
No, you’re wrong. Every process that you start runs with the privileges of your user account, and if you allow your user account to elevate its privileges without requiring authentication, then every process you run can do the same thing, including the web-hosted scripts running in your browser.
which then spawn a socket to a c&c where the operators of the bot net will laugh their ass off and make lifetime jokes about the sucker logged in as root.
─ “Hey, look at that IP address! I know this guy!”
-─ “Whohoa, he switched to Linux! And he was so joyfully running Windows as administrator until just a few days ago! Okay, now we have to switch to the Linux version of our rootkit.”
─ (cynical laughter)
guys, thanks a lot for your advice. Especially by @linux-aarhus . It’s explains me smth.
Then I get another question. Can I run my apps from simple menu with root or create some shortcuts in menu like “run wireshark” and “run wireshark as root”.
And is it right if I change ownership of all files in my hard drives with files (ntfs) using
Normally, yes. You’ll have to prefix the commands they invoke with pkexec, though.
No. NTFS does not support POSIX file ownership and permissions, so they are emulated in the virtual filesystem layer of the kernel when the NTFS partition is mounted, and they apply to the whole filesystem. The cannot be altered and they cannot be set for individual files.
The only time you should need superuser privileges is when you actually need to change something in your system, such as installing/updating packages.
Some applications may require specific yet limited access to parts of the system. But in such cases, they usually create a dedicated user/group, that only access those limited parts, thus not actually requiring superuser privileges. And in those cases, there is documentation on what you may need to do in order to use them.
The broad logic is: superuser privileges shall be acquired only when really necessary, and not as an easy workaround.
Do not run Wireshark as root, it is insecure. Wireshark has implemented privilege separation, which means that the Wireshark GUI (or the tshark CLI) can run as a normal user while the dumpcap capture utility runs as root[1].