WEBVTT

00:08.860 --> 00:11.040
Hello friends welcome back in this lesson.

00:11.060 --> 00:14.010
We're going to talk about granting Sudol access.

00:14.060 --> 00:20.370
All we know that the users though which are hiring Missoula exes can't perform the administrators live

00:20.400 --> 00:21.590
by us.

00:21.800 --> 00:29.360
So when we install the Linux operating system then at that time only the root user and the host user

00:29.600 --> 00:32.170
are having the sort of access by default.

00:32.540 --> 00:40.050
And when we add a new user with the user Come on then that user does not having sort of access.

00:40.070 --> 00:47.030
So if there are some conditions that you need to provide the sort of access to the user then this technique

00:47.090 --> 00:52.610
or this method is useful for you to granting them this sort of access.

00:52.610 --> 00:52.870
OK.

00:52.880 --> 00:55.720
So let's see practically how to do this.

00:56.040 --> 00:57.530
OK to follow.

00:57.560 --> 01:00.320
Let me show you the user Bob.

01:00.320 --> 01:00.860
OK.

01:00.920 --> 01:04.700
There is a user bug in my system OK.

01:05.000 --> 01:07.430
Which is does not having the suit ALEXAS.

01:07.490 --> 01:09.870
So I log in as Bob.

01:09.950 --> 01:12.260
And now let's see here.

01:12.410 --> 01:13.270
LS Ok.

01:13.280 --> 01:20.140
There are different files and we are less inclined to change the file permissions.

01:20.370 --> 01:27.360
OK with sudo for the file students are suppose to not 60.

01:27.410 --> 01:29.540
Let's see what happens.

01:30.270 --> 01:33.770
We'll get you says that Bob is not in the suit was fine.

01:33.820 --> 01:34.450
OK.

01:34.550 --> 01:36.720
This incident will be reported.

01:36.840 --> 01:41.280
So when the user does not having the sudo access.

01:41.390 --> 01:42.370
Ok then.

01:42.380 --> 01:46.490
In such cases you will get these kinds of errors.

01:46.820 --> 01:50.300
So hope you add the user of the suit or fine.

01:50.360 --> 01:54.400
OK the Sulu's file is present in the UDC directory.

01:54.600 --> 01:54.990
OK.

01:55.010 --> 01:57.660
And who did that file.

01:57.680 --> 02:03.450
You need an editor that is easy to do and a stock that you need.

02:03.460 --> 02:07.460
Q The sort of access to force it from Wagner.

02:07.610 --> 02:13.740
And now he did that file with Krischan user because it is having the sort of access.

02:13.790 --> 02:16.090
So I do.

02:16.320 --> 02:16.930
OK.

02:17.150 --> 02:19.230
Now we are inside that file.

02:19.640 --> 02:22.860
Ok we test you can write the command.

02:22.910 --> 02:28.820
So the comment is in of the file.

02:29.000 --> 02:31.240
Ok I know how to add the blob.

02:31.610 --> 02:37.670
Just say Bob then all equal do the same.

02:37.680 --> 02:41.040
This all closed.

02:41.120 --> 02:43.160
And then all.

02:43.310 --> 02:44.090
OK.

02:44.330 --> 02:48.500
You need to add this line of code and control.

02:48.500 --> 02:50.580
All right there get to it.

02:50.600 --> 02:53.040
Hit enter and control X..

02:53.100 --> 02:57.720
You could find no the Bob.

02:57.850 --> 02:59.620
He has a sort of file.

02:59.870 --> 03:01.940
Now switch user to Bob

03:04.950 --> 03:08.030
now tried to change the permissions of the file.

03:08.060 --> 03:10.090
See sudo.

03:10.170 --> 03:11.880
See much more.

03:12.160 --> 03:16.870
0 0 0 student dockings D.

03:18.430 --> 03:19.530
Password.

03:19.790 --> 03:25.050
And you can see we do not get any error here and become one executed successfully.

03:25.490 --> 03:26.720
Unless.

03:27.140 --> 03:33.300
OK here you can see the student Datti active file does not how any permission.

03:33.350 --> 03:36.540
If we remove the permission with the user Bob.

03:36.690 --> 03:41.690
OK in this you can add the user into the pseudo file.

03:41.960 --> 03:43.980
Let's get into it OK.

03:44.210 --> 03:46.160
Let's get into the file.

03:46.500 --> 03:49.710
So all we do now.

03:49.900 --> 03:51.640
So can you do this file.

03:51.890 --> 03:58.850
So what you do if you want to remove the user just remove this line of code from this file OK and so

03:58.850 --> 03:59.640
the file.

03:59.960 --> 04:08.170
You can also add some group to this file if you want a particular group to have a suruh access.

04:08.210 --> 04:15.380
Then you can simply add more to operator here than group name and then type the call like this.

04:15.380 --> 04:17.810
All equal all in all.

04:17.880 --> 04:26.350
OK and here you can Freud colon and all you need to add the extra quarter like this.

04:26.350 --> 04:34.090
In case of group get in this way you can add users and group who this fine.
