We all know that Linux systems can use the sudo command to increase permissions, but in RHEL6.0, when using the sudo command to log in to the user, the problem of slow switching is a waste of time. How to deal with it?
question:
RHEL6.0 when using the sudo command, immediately prompted to enter the current user password, enter the password until the transport system will in the long wait, I do not know After a long time, it was suddenly executed!
Solution:
1. Switch to superuser
[test@test ~]$ su -
Password:
2 View host name
[root@test ~]# hostname
test
3. Enter the following command
[root@test ~]# echo ‘127.0.0.1 test.localdomain test’ 》 /etc/hosts
This means that the host hostname is consistent with the query. After this command is executed, using sudo again will respond immediately.
The above is the solution for sudo switching too slow under RHEL6.0. If you have the same problem, try the method described in this article.
After installing the Linux system, I suddenly found that the shell command could no
Crunchbang system is a lightweight Linux desktop distribution. Crunchbang Linux is
Many users who like to use the chmod command are still not very clear about the mea
Linux multi-path refers to the connection between the host and the hard disk, and also includes the
Linux how to use the command to update the file directory time
How CentOS uses FPM to make RPM packages
How to limit the access rights of Linux users
Two methods of Deepin system update
How to make RPM using FPM under Linux system
How to make Red Flag Linux use wireless network card to be more secure
How to set command aliases in Linux
How to use traceroute command under Linux
Linux Mint Cinnamon uses vino-server to configure desktop sharing. Step
Under the CentOS pure-ftpd server error 530 login authentication how to do?
CentOS open Eclipse error Failed to load the JNI shared how to solve?
How to solve the problem of the pirate unparalleled 3 map error
How to add language or keyboard in Win8.1/RT 8.1?
Win7 system open program pop-up garble notepad solution
How to set Skydrive in win8 computer as offline file?
How to set up mobile qq browser?
CentOS batch compression image size operation example
Retrieving deleted emails in Foxmail
Some questions about installing mysql under win2000!, MYSQL database