1
00:00:04,760 --> 00:00:11,860
We have just explored how to create new users using social comment as user ad and using good correspondent

2
00:00:11,900 --> 00:00:13,160
use of DLC amount.

3
00:00:13,190 --> 00:00:14,490
We have deleted users.

4
00:00:15,170 --> 00:00:21,620
No, let me explain you how you could create a new user using a good command ad user and also afterwards.

5
00:00:21,710 --> 00:00:27,350
I'll tell you how to create new groups and assign users to some custom groups.

6
00:00:27,620 --> 00:00:33,090
Because by default, Lenos greets a group with the same name as username Eukaryote.

7
00:00:33,800 --> 00:00:36,980
All right, let's not enter at the user command.

8
00:00:37,370 --> 00:00:40,700
And next day, let's type a user name of the user.

9
00:00:40,730 --> 00:00:41,570
I want to create.

10
00:00:41,870 --> 00:00:44,230
And here you'll see some brons.

11
00:00:44,630 --> 00:00:51,920
First of all, you'll see that new user was added after that new group, Bogdan was created.

12
00:00:52,310 --> 00:00:59,180
And here in parentheses, you'll see actually I did for specific user because every user has specific

13
00:00:59,180 --> 00:00:59,540
idea.

14
00:01:00,410 --> 00:01:07,000
Next, do you see that the new user, Bogdan, was assigned to Bogdan Grube afterwords.

15
00:01:07,130 --> 00:01:12,950
New home directory was created automatically and path to this directory is here.

16
00:01:13,000 --> 00:01:14,190
Sless Home Mogadon.

17
00:01:14,600 --> 00:01:20,750
And next, after this step your files where corporate into the home directory for this user.

18
00:01:21,200 --> 00:01:26,390
And basically here after this command, you'll see the same three files that we have seen in the previous

19
00:01:26,390 --> 00:01:26,810
lecture.

20
00:01:27,020 --> 00:01:28,600
After user add comment.

21
00:01:29,030 --> 00:01:33,710
And here we are immediately prompted to create new password for this user.

22
00:01:33,980 --> 00:01:39,740
And you see that this comment at the user is actually interactive conversation for creation of the new

23
00:01:39,740 --> 00:01:40,190
user.

24
00:01:40,520 --> 00:01:42,970
All right, let's enter Hannu password again.

25
00:01:43,100 --> 00:01:47,180
Me, Mitchell Sampson, Grilli, Straughn, one, two, three, or a type of one, two, three.

26
00:01:47,480 --> 00:01:51,230
And you'll see that password was updated successfully afterwards.

27
00:01:51,320 --> 00:01:57,580
You could set such parameters as a full name, rule number, work phone, home phone Özer.

28
00:01:58,010 --> 00:02:00,830
And if this information is correct or simply type.

29
00:02:00,890 --> 00:02:03,860
Yes and press enter or just press enter.

30
00:02:04,340 --> 00:02:05,540
And now we're all set.

31
00:02:05,640 --> 00:02:08,509
And you'll use our bogden was successfully created.

32
00:02:09,050 --> 00:02:09,940
Let's verify that.

33
00:02:10,280 --> 00:02:11,160
Let's clear terminal.

34
00:02:11,210 --> 00:02:14,330
And first, let's have a look at contents of the home directory.

35
00:02:14,420 --> 00:02:18,710
And here I see new folder Bogdan and it's a good sign.

36
00:02:18,830 --> 00:02:22,520
It seems that this new home directory was created automatically.

37
00:02:22,910 --> 00:02:26,840
Let's look at the contents of this directory and let's add here.

38
00:02:26,900 --> 00:02:31,520
Options are Desh L.A. and I'll see three hidden files.

39
00:02:31,830 --> 00:02:34,690
Best logout, best RLC and profile.

40
00:02:35,360 --> 00:02:39,680
And notice user name and group for those three files.

41
00:02:40,310 --> 00:02:45,740
You'll see the owner and group for all files is set to new user Moghadam.

42
00:02:46,430 --> 00:02:50,540
And that means that this user has full access to those files.

43
00:02:50,930 --> 00:02:53,180
Actually, here you see permissions for every file.

44
00:02:53,450 --> 00:03:00,090
And this user, Bogdan, is able to read or write but not execute ARS or group.

45
00:03:00,110 --> 00:03:04,050
Users are able only to read those files and remain.

46
00:03:04,130 --> 00:03:07,730
Users are also able only to read those files.

47
00:03:08,220 --> 00:03:14,240
And that means that any ARS or users will want to be able to modify those files.

48
00:03:14,270 --> 00:03:17,040
Like best logout, best RC and profile.

49
00:03:17,870 --> 00:03:18,290
All right.

50
00:03:18,530 --> 00:03:24,170
That's how this home directory looks like for this particular newly created user.

51
00:03:24,530 --> 00:03:24,920
Let me know.

52
00:03:24,920 --> 00:03:26,960
Clear terminal and enter full of Inkerman.

53
00:03:27,170 --> 00:03:27,830
Got it.

54
00:03:27,830 --> 00:03:31,790
DC slash boss WDM last press enter.

55
00:03:32,090 --> 00:03:39,170
And here in output of this command at the very end, I'll see information about newly created user.

56
00:03:39,680 --> 00:03:41,280
Here I see user name.

57
00:03:41,630 --> 00:03:44,280
Here is user I.D. does one thousand.

58
00:03:44,630 --> 00:03:48,440
Next comes a path to home directory for this particular user.

59
00:03:48,710 --> 00:03:52,850
And finally you see default shell for this user.

60
00:03:53,480 --> 00:03:58,880
And here in this case, you'll see that this default shell was set to bash Shell.

61
00:03:59,570 --> 00:04:03,580
And that is a difference between ad user and user ad command.

62
00:04:04,020 --> 00:04:06,950
We have seen that in user ad and default.

63
00:04:07,010 --> 00:04:08,660
Shell is set to see H.

64
00:04:09,350 --> 00:04:15,820
But when you create new user using add user command, then default shell will be set to bash.

65
00:04:16,399 --> 00:04:21,920
And the reason for that is that initial default configuration settings are located in Oz or file.

66
00:04:22,100 --> 00:04:23,630
If you use at user command.

67
00:04:24,080 --> 00:04:26,000
Let me show you a location of this file.

68
00:04:26,270 --> 00:04:29,100
Let me clear terminal and the type but can't.

69
00:04:29,450 --> 00:04:30,700
It is C slash.

70
00:04:31,000 --> 00:04:37,190
Add the user breath step and you'll see that file name will be out completed to add user dot com.

71
00:04:37,700 --> 00:04:40,580
Let's go look at the contents of this configuration file.

72
00:04:40,940 --> 00:04:45,260
And here in this output, let's find the setting for Basche Shell.

73
00:04:45,470 --> 00:04:47,460
It should be somewhere at the beginning.

74
00:04:47,940 --> 00:04:52,270
And yes, here was the setting D shell equal to be best.

75
00:04:52,670 --> 00:04:59,330
And that means that the default shell for all users that are created using add user comment will be

76
00:04:59,330 --> 00:05:00,200
set to best.

77
00:05:01,220 --> 00:05:04,040
And actually you're able to modify the disintegration of file.

78
00:05:04,250 --> 00:05:09,080
Same as we did with configuration file for user add comment if you want, of course.

79
00:05:09,680 --> 00:05:10,070
All right.

80
00:05:10,380 --> 00:05:12,840
That's how this configuration file looks like.

81
00:05:13,130 --> 00:05:18,180
And that's how weak of just created new user using add user comment.

82
00:05:18,640 --> 00:05:18,940
Great.

83
00:05:19,250 --> 00:05:22,040
Let's not try to login as bogdana user.

84
00:05:22,340 --> 00:05:23,810
Let's type as you dash.

85
00:05:24,080 --> 00:05:25,550
And next comes Mogadon.

86
00:05:25,750 --> 00:05:31,240
Please gap that Desh stands for desk option or Desh L or does dash logging option.

87
00:05:31,520 --> 00:05:38,250
And with this option we will logging into the home directory for particular user Lesperance anther type

88
00:05:38,360 --> 00:05:39,260
B double your D.

89
00:05:39,560 --> 00:05:40,080
And yes.

90
00:05:40,130 --> 00:05:43,520
Now I'm inside of the home directory for Mogadon User.

91
00:05:43,820 --> 00:05:46,250
And here you'll see that the command prompt was changed.

92
00:05:46,280 --> 00:05:50,070
And here now I see new user Mogadon if I enter.

93
00:05:50,090 --> 00:05:50,930
Who am I?

94
00:05:51,230 --> 00:05:51,800
I'll see.

95
00:05:51,860 --> 00:05:53,000
Same output here.

96
00:05:53,780 --> 00:05:54,110
Right.

97
00:05:54,320 --> 00:05:59,600
This is how we were able to look in ONDAR custom user that we just created.

98
00:06:00,020 --> 00:06:04,070
And of course now I am able to create Asama files in this home directory.

99
00:06:04,250 --> 00:06:05,720
Let's create new file.

100
00:06:05,990 --> 00:06:13,460
Let's say one to Extreme and Lesley's contents of home directory and I'll see newly created file and

101
00:06:13,460 --> 00:06:16,970
you'll see that the owner of this file is of course, Mogadon.

102
00:06:17,810 --> 00:06:22,160
And here you'll see Mogadon because it does the name of the group that was automatically created for

103
00:06:22,230 --> 00:06:23,590
new user Bogdanowicz.

104
00:06:24,050 --> 00:06:27,260
And here up our missiles for this newly created file.

105
00:06:28,130 --> 00:06:28,550
All right.

106
00:06:28,860 --> 00:06:33,500
That's how we are able to interact with system under custom user.

107
00:06:34,040 --> 00:06:38,030
And next, let's talk a bit about permissions for files.

108
00:06:38,340 --> 00:06:45,260
And in the next lecture, I'll try to create new file as a root user and afterwards try to modify this

109
00:06:45,260 --> 00:06:47,180
file under a bug backdowns account.

110
00:06:47,510 --> 00:06:49,180
Let's write it in the next lecture by.

