What is the sudo ?
Sudo stands for “superuser do” and is the master key.The sudo command allows you to run programs with the security offers of another user (by superuser). It request to the user for personal password and confirms and request to execute a command by checking a file, called sudoers, which the system administrator configures.
SUDOERS FILE:
The sudoers file is a file Linux and Unix administrators use to allocate system rights to system users. This allows the administrator to control who does what. When you want to run a command that requires root rights, Linux checks your username against the sudoers file[TBD]. This happens when you type t. If it determines, that your username is not on the list, you cannot run the command/program logged in as that user.
how to use sudo?
It preface the intended command with sudo.then it request password (user need to enter the login password).

What is APT?

APT stands for Advanced Package Tool ,Advanced Packaging Tool (apt) is a package management system ,In clearly it is a collection of tools used to install, update, remove, and otherwise manage software packages and its derivative operating systems, including Ubuntu and Linux Mint.APT consists of a program library and this library multiple-use command-line programs. APT works through the use of special directories that hold collections of software packages.
References:
https://www.redhat.com/sysadmin/sudo
https://linuxfoundation.org/blog/classic-sysadmin-configuring-the-linux-sudoers-file/
Leave a comment