1 00:00:06,630 --> 00:00:11,100 - All right, let me use sudo visudo on Ubuntu, 2 00:00:11,100 --> 00:00:14,550 and you will notice that Ubuntu is not using vi 3 00:00:14,550 --> 00:00:15,870 as the default editor. 4 00:00:15,870 --> 00:00:18,120 Does that matter? Not at all. 5 00:00:18,120 --> 00:00:20,370 It works in nano as well, 6 00:00:20,370 --> 00:00:24,840 and the line that we need to edit is defaults, 7 00:00:24,840 --> 00:00:27,567 followed by timestamp_type is global, 8 00:00:32,850 --> 00:00:36,753 and timestamp, 9 00:00:40,680 --> 00:00:44,970 timeout is 240. 10 00:00:44,970 --> 00:00:45,810 That's all. 11 00:00:45,810 --> 00:00:48,120 So in nano, we use Control + X and yes, 12 00:00:48,120 --> 00:00:50,940 we wanna save the buffer, and there we go. 13 00:00:50,940 --> 00:00:51,960 That's all. 14 00:00:51,960 --> 00:00:56,960 So from this moment on, sudo ls/root, the regular test. 15 00:00:59,370 --> 00:01:01,350 It is going to create my credentials. 16 00:01:01,350 --> 00:01:04,350 It will catch these credentials for four hours. 17 00:01:04,350 --> 00:01:05,610 So that means I will need 18 00:01:05,610 --> 00:01:07,863 to enter my password again tomorrow.