For system security issues, Ubuntu systems generally disable the root account by default during installation, replacing all administrator-required operations with the sudo command. In Ubuntu, the default sudo timeout time is 5 minutes, but some users think that the five minutes is too short, and it is cumbersome to enter the password each time. So, how to modify the default timeout time of sudo in Ubuntu system?
follows:
sudo visudo
Find the following line
defaults env_reset
change this behavior follows
Defaults env_reset , timestamp_timeout=x
x is the time, you can set it to 10 or 30, which means 10 minutes or half an hour.
It can also be set to -1 so that you remember your password before you log out or exit terminal. When doing this, sometimes for security reasons, you can also force the exit sudo by running the following command.
sudo -K
The above is the way to modify the default timeout time of sudo in Ubuntu system. If your timeout time is not long enough, then try the above method to modify the default time.
Because the files deleted by the rm command are not put into the garbage bin, they cannot be restore
The find command in Linux has multiple ways to find it. What about the -path -prune
The rename command in the Linux command is mainly used to rename files. It is simil
Jenkins is a continuous integration tool based on Java development. In Ubuntu syste
Oracle Linux 6.4 accidentally remove VG solution
How to set up Kde5 for Gentoo Linux system?
Linux system Rhythmbox player how to solve Chinese garbled?
Summary of methods for getting help from Linux
Kali Linux crack wifi password with what software is good?
Linux software lacks dynamic link library. So what to do?
What should I do if the Linux boot file rc.local cannot be executed?
What should I do if the error occurs when CentOS 5.4 adds or removes an application?
What commands are used for Linux system monitoring?
Ubuntu install Nvidia Optimus driver steps
How to cancel the quick access function in the win10 system
How to use Win8.1 parental control function
AK Legend Guess Guess Answers Activity Website Package has been updated
Win7 system desktop icon with a shield sign how to do
Microsoft officially launched WP8
Linux server hacking problems and countermeasures
How to solve the problem of software garbled in Windows 7 operating system