![]() you do not have /etc/sudoers ), run as root: apt install sudo. If the package sudo is not installed (e.g. In Debian, depending on the installation options, you often end up without sudo installed by default. The sudo command is the Linux equivalent of shouting " Shazam." When the scary stuff is over, you abandon your superpowered alter-ego and go back to your normal humdrum self. So to add passwordless sudo enabled users to a Debian based system, the steps are: Install sudo. This is safer because you consciously invoke your higher powers when you need them, and while you're focused on doing whatever it is that requires them. Nominated users can use sudo to temporarily gain administrative powers, perform the action that is required, and then return to their normal, unprivileged state. Related: 8 Ways to Tweak and Configure Sudo on Ubuntu A much safer way to work is to never log in as root. They have the ability to mount and unmount file systems, and to over-write them entirely. If root makes a mistake, the results can be catastrophic. They can perform any administrative task, access any file regardless of actually owns it, and they can create, manipulate, and even remove other users. In Linux installations, the root user is the most highly-privileged user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |