September 2016
Intermediate to advanced
989 pages
24h 10m
English
As I have hinted already, it is not good practice to run all programs as root since, if one is compromised by an outside attack, then the whole system is at risk and a misbehaving program can do more damage if it is running as root. It is preferable to create unprivileged user accounts and use them where full root is not necessary.
User names are configured in /etc/passwd. There is one line per user, with seven fields of information separated by colons:
x to indicate that the password is stored in /etc/shadowFor example, this creates users root ...
Read now
Unlock full access