Who is Root?
One thing I believe I forgot to mention last time is that before your installation is complete, you will be asked for your choice of a “root’ password. You will also be asked to choose a user name and password. This can be confusing if you’re used to Windows, where you rarely ever get asked for a password. (Maybe if your computer was set up for two different people, you might have to switch to be you before you can touch your files).
Well, Root in a linux system is like the janitor or custodian who has all the keys to the building. He’s the one who has access to all the operating functions and who cleans up the place, and see that it meets inspection standards. Of course, if you are the one installing the linux system, you’re likely to be ‘root’ and you get all these duties and privileges.
One of the reasons a linux system is so much more secure than a Windows system is that whenever you need to do something critical to your whole computer system, you must take on this super-user role as “root.” When you are finished, you should step out of this role and become an ordinary user again. That is why during setup of your installation, you are asked to assign a root password, and also to create a user and password for yourself.
If you are going to have several people using the computer, you should set up a separate user name and password for each one, and fix the system so that to get in, each person must login as their own user name. That way, if anything happens to one user, it will not affect the other users or perhaps leave the whole system untouched. It also means that when there’s a problem, you can put on your “root” hat, and your ring of master keys and you can go solve the problem and make everyone happy again. Once done, you hang up your hat and keys, and become yourself again.
Now before you get too carried away with this auspicious authority role, it is wise to do some research and learn the basic commandline commands and when to use them. It is quite possible to give the wrong command and to bring the whole linux system down in a tumble. It’s best to give this role to the person who knows the most about the system, or who is willing to patiently learn and develop those skills.
I’m happy to share that if your linux system is well installed, you can go many days without having to do anything as ‘root’. But when a crisis comes - ah, you want your commands and emergency instructions nearby and on paper!
As the online lessons point out, you don’t want to stay in your “root” role all the time, even though everything looks just the same and you can forget. The danger of slipping up and making a wrong move is too great. You might.crash it accidentally. At least while you are still rather naive about many things. Later on that’s not such a great danger.
Respect your role as “root” but don’t let it swell your head.