Root?
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Hello,
I am really happy with trisquel, but I have a simple question ...
Why is the root password not set by the trisquel installation?
Should I reset the root password with "sudo passwd root" or is it better for the security to doesn't change it.
On the terminal I can get root access with "sudo -i".
Thanks for help
I think that Trisquel inherits the default from Ubuntu, in which there's no root password (Direct root login is disabled) and instead there's an user which can execute programs as root (Including a shell) using sudo. You can set up a root password anytime, it doesn't has deep security implications. As you probably already know, root exist in any GNU/Linux system and it can't be removed[1]. I *suppose* that Ubuntu does this so that the users use sudo for each root command instead of opening a root shell in order to reduce the changes of accidentally executing commands and root and break the system that way.
[1]: You can remove the line from /etc/passwd, but that will break the system. Also, “init” will still be launched as PID 0, so it has root permissions even if there's no user named “root”.
I recently discussed that: https://trisquel.info/fr/forum/new-user-root-password-problems#comment-61998
Thanks for the link.
- Vous devez vous identifier ou créer un compte pour écrire des commentaires