I. Introduction to sudo:
1. concept:
Sudo is a common tool in linux that allows common users to use superuser permissions. It allows system administrators to execute some or all of the root commands, such as halt, reboot, and su. This not only
For Linux system administrators or advanced users, sudo is one of the most important and essential commands. When we want to run important tasks, sudo provides security-enhancing permissions. Please read this article and see what sudo can do for you.
Use the sudo command in CentOS
In linux, because the root permission is too large, it is generally not used. You can only log on to the root user to execute management tasks in some special circumstances. Generally, the su and sudo commands are used
Some time ago, the Python2.6 CentOS 6.5 virtual machine was upgraded to Python 2.7 and installed Pip by the way. http://blog.csdn.net/jcjc918/article/details/11022345However, after discovering the package that was subsequently installed via PIP, the
In CentOS, because the root permission is too large, it is generally not used. You can only log on to the root user to execute management tasks in some special circumstances. Generally, the su and sudo commands are used for temporary root
operating Environment:CentOS 7Database:mariadbProblem Description: run the/var/lib/mysql_install_db command after the Yum installation mariadb database runs, which causes the MARIADB database to fail to start or restart.Fault resolution:[[email
ObjectiveSo that the company's Linux system Rights management more standardized, so that each user has their own permissions, to prevent some users because of the permissions too large after some misoperation, causing the server is not functioning
Forward: http://blog.csdn.net/hejinjing_tom_com/article/details/7767127avoid ' sudo echo x > ' when ' Permission denied 'A : Examplesudo echo a > 1.txt-bash:1.txt:permission deniedB: Analysis:Bash refuses to do so, saying it has insufficient
In daily operation in order to avoid some mis-operation, more secure management system, usually use the user identity is ordinary users, rather than root. When you need to perform some administrator command operation, then switch to the root user to
Designed to illustrate the basic usage and differences of the SU and sudo commands in CentOSKnowledge Reserve
1.Linux is usually not recommended to log in as root directly, too dangerous! However, as a regular user login, and at some point by
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.