WEBVTT

00:09.120 --> 00:15.060
Hello friends welcome back in this lesson we're going to talk about group management in Linux in our

00:15.060 --> 00:19.980
previous lesson we learn how to manage users and their password in this lesson.

00:19.980 --> 00:25.710
We're going to talk about the group management group management is a way of managing different user

00:25.710 --> 00:26.680
accounts.

00:26.680 --> 00:27.080
OK.

00:27.240 --> 00:32.810
So this will be very helpful for an administrator who manages the users.

00:33.000 --> 00:40.270
You can set up particular priorities or you can also set up some file permissions from particular users

00:40.470 --> 00:43.020
and you can add them a particular group click.

00:43.320 --> 00:46.450
Let's understand this Witan basic example.

00:46.500 --> 00:50.390
Suppose you are an administrator of that school.

00:50.700 --> 00:57.660
And inside the school there are different categories of students means some student belong to physics

00:57.660 --> 01:00.370
groups some students belong to chemistry group.

01:00.420 --> 01:02.880
Some students belongs to biologic group.

01:02.990 --> 01:03.430
OK.

01:03.630 --> 01:10.980
So you can manage these students by creating the groups with the name biology physics and chemistry

01:11.250 --> 01:14.090
and add that students to live in groups.

01:14.100 --> 01:19.290
Ok this will be very easy for an administrator who manages the students.

01:19.470 --> 01:25.620
You can restrict the students from accessing some resources on your system.

01:25.740 --> 01:31.120
So how to restrict a particular resource that we can or talk about in an upcoming lesson.

01:31.350 --> 01:37.050
But for now just understand we're going to learn only how to create a group how to modify them and how

01:37.050 --> 01:37.990
to deliver them.

01:38.030 --> 01:38.280
OK.

01:38.280 --> 01:39.720
Inside this lesson.

01:39.930 --> 01:42.880
So let's see practically How good is.

01:43.320 --> 01:51.060
So to create a new group there is a common group and so was pseudo.

01:52.030 --> 01:53.950
And suppose I want to create a group.

01:54.180 --> 01:59.410
Felix Guenter Now the group is created.

01:59.790 --> 02:04.230
You can also set up a group ID with option.

02:04.230 --> 02:05.120
Hi Nancy.

02:05.300 --> 02:05.780
OK.

02:05.960 --> 02:11.840
And suppose I want to give you an ID want to read.

02:12.400 --> 02:23.630
And so now it says that on group is already exist so then the group name chemistry.

02:23.870 --> 02:27.090
Now our group chemistry is created.

02:27.190 --> 02:27.810
OK.

02:28.120 --> 02:30.060
Good idea one before.

02:30.380 --> 02:33.350
And also you can create this esteemed group.

02:33.500 --> 02:34.670
OK.

02:34.690 --> 02:40.600
So to create a system group you need to provide option Hypponen are key.

02:40.730 --> 02:43.310
So let's create a system.

02:43.740 --> 02:44.450
Biologic

02:49.220 --> 02:58.040
and heat and we know we have created three different groups with physics chemistry and biology.

02:58.210 --> 03:00.880
So how do you view these groups.

03:00.900 --> 03:07.510
So I'm going to show you directly where these groups group names are stored.

03:07.660 --> 03:18.190
So let's get inside BTC and group look at this file which is present inside the EDC folder contains

03:18.190 --> 03:23.780
all the information about the group like group name is ID.

03:23.860 --> 03:26.130
So hit enter.

03:26.150 --> 03:34.660
Now here you can see in the three groups that we have added are entered inside this file like physics

03:34.670 --> 03:42.910
Hoving group ID 1 0 1 7 chemistry's having the ID that we said next is 1 2 3 4 and biology's having

03:43.390 --> 03:46.040
the group id 9 9 7.

03:46.240 --> 03:52.900
So what is the difference in between the normal group and the system group that we have created with

03:52.900 --> 03:53.840
the name biology.

03:53.920 --> 04:03.550
So the difference is that you can set the group ID from 0 to 9 9 9 sistem group get and because these

04:03.550 --> 04:08.300
numbers are stored for sistem groups only and about 1000.

04:08.470 --> 04:16.570
All the group ids are applied to any group that you created which are non-test in groups so they knew

04:16.580 --> 04:23.750
what new users created by default on the name of his name your primary group.

04:23.820 --> 04:24.320
OK.

04:24.610 --> 04:28.130
So let's type.

04:28.360 --> 04:35.680
And here you can see the user name here is Prashant and with the name Prashant here a primary group

04:35.680 --> 04:38.020
is automatically created.

04:38.230 --> 04:38.680
OK.

04:38.710 --> 04:45.270
After adding the group let me show you how to modify the group so to modify the group there is a come

04:45.270 --> 04:51.490
on group more than you need proof of.

04:51.630 --> 04:54.310
And here you need to add a new name.

04:54.310 --> 05:03.480
Suppose I want to go into physics physics and here the old name is physics.

05:03.500 --> 05:04.930
Hit enter.

05:04.990 --> 05:09.510
Now let's get inside the file.

05:11.960 --> 05:17.410
OK and here you can see the physics name is changed to physics one.

05:17.440 --> 05:26.680
Get in this way you can modify the group name or you can modify the group ID here by providing the switch

05:27.120 --> 05:28.590
hyphen G.

05:29.320 --> 05:38.150
So here I want to modify the group ID to one tree of physics one who get hit enter.

05:38.200 --> 05:40.990
Now it's called the fly.

05:41.080 --> 05:45.400
And here you can see the group by this change to 2 to 1 3.

05:45.560 --> 05:52.850
OK in this way you can modify the group name and the group ID with the help of group more common.

05:52.960 --> 05:59.560
Now of the more inflamed the groups I show you how good reading the groups is so simple to remove the

05:59.560 --> 06:00.400
groups.

06:00.400 --> 06:12.560
This need to pro-white them on gal and the group name is X1 so we misspelled here the physics.

06:12.560 --> 06:14.170
So here it enter.

06:14.300 --> 06:17.370
And now we get inside the file.

06:20.200 --> 06:22.560
Pseudo.

06:23.190 --> 06:32.070
It is the group and here you can see the physics group is removed from this vine.

06:32.420 --> 06:38.030
In this way you can add a group you can modify and you can delete them.

06:38.210 --> 06:38.900
OK.

06:38.930 --> 06:44.710
With the help of these come ons there are some important files I want to show you here.

06:44.810 --> 06:47.000
Inside this is the folder.

06:47.020 --> 06:58.100
So was in the first file I already show you that is group OK which stores all information about a group

06:58.160 --> 07:00.370
like group name and the group.

07:00.590 --> 07:02.420
Very important information.

07:02.570 --> 07:05.560
Then after that there is a file for stability.

07:05.720 --> 07:06.190
OK.

07:06.440 --> 07:12.520
So this file stores the information about the usernames and the user ID.

07:12.560 --> 07:13.100
OK.

07:13.250 --> 07:18.290
Here you can see at the bottom these are the user names and that were added by me.

07:18.650 --> 07:24.510
So after this file there is another important file that is Shanno.

07:25.340 --> 07:32.120
So this schürrle file contains the possible information about all the users in the encrypted format.

07:32.120 --> 07:36.110
Here you can see the Student 1 and some exam.

07:36.190 --> 07:42.080
And Zahm one key is showing us the format in the format of the password.

07:42.530 --> 07:48.560
And after this there is another important file.

07:49.080 --> 07:56.120
This file contains information about the crooks get the shared information about the groups.

07:56.330 --> 08:03.790
So these are some of the important files which are very helpful for you because if some wrong users

08:03.820 --> 08:11.660
get information about these files and if you copied these files then he can easily decrypt the password

08:11.750 --> 08:14.810
and he can get access to your system OK.

08:15.020 --> 08:21.010
He can easily misuse your resources or he can hum to a system for it.

08:21.140 --> 08:23.880
So you need to protect these files.

08:24.080 --> 08:24.570
OK.

08:24.740 --> 08:30.290
So how to protect these files or hope to set up restrictions.

08:30.290 --> 08:33.050
We're going to learn about it in the upcoming lessons.
