Answer the question
In order to leave comments, you need to log in
How to turn on the root normally and permanently?
I am using linux kubuntu 20.04.
Already superficially figured out the terminal commands, administration and other garbage.
Initially, I was confused by the fact that I could not create and edit outside the home folder, but then I read about sudo, about the root user password and learned how to open full access in the terminal, but I'm wondering how to enable root rights outside the terminal. So that, for example, I could edit system folders and create new ones right in the explorer. It's just boring every time to climb into the terminal, enter su root or just sudo, write mkdir or nano, and if something new, then go to Google.
Help the young, inexperienced.
Answer the question
In order to leave comments, you need to log in
don't work as root. never.
that's all you need to know, both young and old, if he suddenly, by misunderstanding, put himself Linux.
You don't have to write mkdir and nano in the terminal if you don't want to.
sudo apt install mc - eg.
It is necessary to administer, launched sudo mc - and everything is quite clear.
And constantly sitting under the root is a bad thing, it was the default admin in XP that was one of the main reasons for the wild revelry of viruses in the early 2000s. Moreover, in Linux, unlike Windows, there is no fool protection and root can really kill the system in one motion.
No need to work as root. This, as they say in mathematics, is an axiom, a thing that does not need proof. By default , there is no protection against root actions (there are some means, but they still need to be activated, but without understanding in any way). Ruth can easily, with one movement, bring the system into the "easier to rearrange" state, when nothing works and you don't understand why.
Run graphics programs as root user. There is a GUI-independent program pkexec for this . KDE also has its own program: kdesu .
Graphical programs can also be run via sudo, but first you need to set up access to X.
Read more here: https://wiki.archlinux.org/index.php/Running_GUI_a...
direct answer sudo -i
launching a terminal session as root. the desire to root will disappear after the first unsuccessful action under the root.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question