Hello friends welcome back in this lesson.
We're going to talk about granting Sudol access.
All we know that the users though which are hiring Missoula exes can't perform the administrators live
by us.
So when we install the Linux operating system then at that time only the root user and the host user
are having the sort of access by default.
And when we add a new user with the user Come on then that user does not having sort of access.
So if there are some conditions that you need to provide the sort of access to the user then this technique
or this method is useful for you to granting them this sort of access.
OK.
So let's see practically how to do this.
OK to follow.
Let me show you the user Bob.
OK.
There is a user bug in my system OK.
Which is does not having the suit ALEXAS.
So I log in as Bob.
And now let's see here.
LS Ok.
There are different files and we are less inclined to change the file permissions.
OK with sudo for the file students are suppose to not 60.
Let's see what happens.
We'll get you says that Bob is not in the suit was fine.
OK.
This incident will be reported.
So when the user does not having the sudo access.
Ok then.
In such cases you will get these kinds of errors.
So hope you add the user of the suit or fine.
OK the Sulu's file is present in the UDC directory.
OK.
And who did that file.
You need an editor that is easy to do and a stock that you need.
Q The sort of access to force it from Wagner.
And now he did that file with Krischan user because it is having the sort of access.
So I do.
OK.
Now we are inside that file.
Ok we test you can write the command.
So the comment is in of the file.
Ok I know how to add the blob.
Just say Bob then all equal do the same.
This all closed.
And then all.
OK.
You need to add this line of code and control.
All right there get to it.
Hit enter and control X..
You could find no the Bob.
He has a sort of file.
Now switch user to Bob
now tried to change the permissions of the file.
See sudo.
See much more.
0 0 0 student dockings D.
Password.
And you can see we do not get any error here and become one executed successfully.
Unless.
OK here you can see the student Datti active file does not how any permission.
If we remove the permission with the user Bob.
OK in this you can add the user into the pseudo file.
Let's get into it OK.
Let's get into the file.
So all we do now.
So can you do this file.
So what you do if you want to remove the user just remove this line of code from this file OK and so
the file.
You can also add some group to this file if you want a particular group to have a suruh access.
Then you can simply add more to operator here than group name and then type the call like this.
All equal all in all.
OK and here you can Freud colon and all you need to add the extra quarter like this.
In case of group get in this way you can add users and group who this fine.