1.sudo command
sudo is a Linux system Management Directive, a tool that allows the system administrator to let ordinary users perform some or all of the root commands, such as HALT,REBOOT,SU, and so on. This not only reduces the login and administration time of the root user, but also improves security. sudo is not a substitute for the shell, it is for each command.
is to get permission.
Its features include the following: §sudo can restrict users from running certain commands on a single host. §sudo provides a rich log of what each user has done in detail. It can upload logs to a central host or log server. §sudo uses a timestamp file to perform a similar "ticket-check" system. When the user calls sudo and enters its password, the user obtains a ticket with a survival period of 5 minutes (this value can be changed at compile time). The §sudo configuration file is a sudoers file that allows system administrators to centrally administer user permissions and use the host. The location where it is stored defaults to/etc/sudoers, and the attribute must be 0440. 2.
gedit
Gedit is a text editor compatible with UTF-8 in a GNOME desktop environment. It is written in GTK +, so it's very easy to use, has good syntax highlighting, supports Chinese language support, and supports a variety of character encodings including gb2312, GBK, and more. Gedit is a free software. This is a plain text editor under Linux, but you can also use it as an integrated development environment (IDE) that highlights keywords and identifiers in different languages. sudo gedit filename: Administrator privileges to open the file for editing and saving.
Ubuntu Learning Note-sudo/gedit