1 00:00:00,000 --> 00:00:04,400 [Intro Music] 2 00:00:04,470 --> 00:00:06,720 Hi, guys. So now let's proceed. And 3 00:00:06,780 --> 00:00:08,940 in this and next few lectures, I'll 4 00:00:08,940 --> 00:00:10,980 explain you how to perform user 5 00:00:10,980 --> 00:00:13,830 management in Linux systems. And 6 00:00:13,860 --> 00:00:15,660 I'll explain you how to create new 7 00:00:15,660 --> 00:00:18,330 users, how to login under new users, 8 00:00:18,540 --> 00:00:20,940 and how to create files as new 9 00:00:20,940 --> 00:00:23,400 users. Also, I'll explain you how 10 00:00:23,400 --> 00:00:25,740 to change permissions and ownership 11 00:00:25,770 --> 00:00:28,170 of the files. But first of all, let 12 00:00:28,170 --> 00:00:30,570 me answer the question, why users 13 00:00:30,600 --> 00:00:32,580 are actually needed in Linux 14 00:00:32,580 --> 00:00:34,980 systems? You already know that 15 00:00:35,010 --> 00:00:37,350 there is a so called a root user. 16 00:00:37,470 --> 00:00:39,690 And as the root user, you are able 17 00:00:39,720 --> 00:00:41,820 to perform some management tasks 18 00:00:41,850 --> 00:00:44,280 and launch different scripts. And 19 00:00:44,280 --> 00:00:46,560 usually, regular users aren't able 20 00:00:46,560 --> 00:00:48,660 to do so. And in this Linux 21 00:00:48,660 --> 00:00:51,090 container, I am logged in currently 22 00:00:51,120 --> 00:00:54,314 as root user, and if I enter 'whoami', 23 00:00:54,314 --> 00:00:55,770 I will see this information 24 00:00:55,770 --> 00:00:58,710 here. And default home 25 00:00:58,710 --> 00:01:00,930 directory for this 'root' user is 26 00:01:00,960 --> 00:01:04,379 '/root'. And if I enter 'pwd', I 27 00:01:04,379 --> 00:01:06,930 see that I'm inside of the root 28 00:01:07,140 --> 00:01:09,450 folder, and this folder is home 29 00:01:09,480 --> 00:01:11,580 directory for this 'root' user. And 30 00:01:11,580 --> 00:01:13,680 here you see this tilde(~) sign that 31 00:01:13,680 --> 00:01:15,870 actually represents home directory 32 00:01:15,900 --> 00:01:18,720 for a specific user. Also, I have 33 00:01:18,720 --> 00:01:20,460 shown you in this virtual machine 34 00:01:20,640 --> 00:01:23,370 that I was working here in this 35 00:01:23,370 --> 00:01:25,320 terminal and in this graphical user 36 00:01:25,320 --> 00:01:27,660 interface as regular 'bogdan' 37 00:01:27,690 --> 00:01:30,720 user. And if I enter 'whoami' here, 38 00:01:30,780 --> 00:01:33,510 I see 'bogdan'. And if I 'cd' 39 00:01:33,540 --> 00:01:36,210 to home directory, 'cd~', and 40 00:01:36,210 --> 00:01:38,970 enter 'pwd', I will see that the home 41 00:01:38,970 --> 00:01:41,370 directory for this regular user is 42 00:01:41,400 --> 00:01:44,670 '/home/bogdan'. Alright, 43 00:01:44,820 --> 00:01:46,740 that's quick introduction. And now 44 00:01:46,740 --> 00:01:48,690 let's move on and let's create a 45 00:01:48,840 --> 00:01:51,150 new user here in this Docker 46 00:01:51,150 --> 00:01:53,010 container. I will see you guys in 47 00:01:53,010 --> 00:01:54,358 the next lecture. Bye-Bye. 48 00:01:54,358 --> 00:01:56,822 [no audio]