Hello, everyone, and Distomo.
I'm going to show you how to use and apply the three special permissions, the six user I.D., the city
girl Baida and the sticky bit.
The mayor reason for using special permissions is to allow Alderney users to work on executable files
and directories without asking a route for any help or to enter the routes passwords.
What is the six user I.D. bit, the city user I.D. bit grants and Odagiri user to run an exhibit or
files and programs as an owner.
For example, let's run the command.
Ellis Dash slash Ben slash B best WD as we can see here.
This command has a six user I.D. beside the user.
Permissions means that everyone on the system here kind of grand disconnect.
Let's run.
Another comment also has a secure Zygi.
So we run the Ellis Dash L.
Slash user slash Ben Slash as you as we can see.
Also, we can't render comment.
It's you.
And it has also I see two Zygi.
You can see here this is beside the user or the owner permissions.
OK, now let's create a file.
I'm going to create a script file.
So I'm gonna call this one five.
That is each perfect.
Now let's shake the permission for this fight.
As we can see here, despite doesn't have six user I.D., so how we can apply the site user I.D. on
this Bashur script file.
So we got to use the command change mocked if we'd like to know more about this command.
We are under command.
Man Change Mode can check the main page of disclaimer.
Let's go back.
Change what then what we're gonna do you this is represent the user then plus s then we gonna type the
name of the file.
Let's run the command again.
Ellis Dash.
Then the name of the file.
S Edge.
Perfect as we can see here.
Now we apply to seat user I.D. on this file.
OK.
Now let's move on to the next type right now.
What is the CIT Group?
I bet it's a it's a similar concept of the CIT user I.D. However, it's a seek permission for any or
for all the groups so we can apply just on the group's levels and it's grand and order user to run finance
program as a member of the groups.
OK.
There is a command.
We can run this command.
Ellis Dash l slash user slash bean slash.
Right.
As we can see here, this command.
So what is it it's there is to command, it is their right and will command.
This is sent text message to another users on determinant on this one, as we can see here.
This command has a set group idea.
As we can see here.
We have this on the group permissions.
Less, less kids create a file on we gonna apply a six user I.D., for example.
I'm Galkin.
I'm gonna create a file here.
I'm gonna call this file file to that DEEKS Steve.
Perfect.
Then I'm going to use that change more dingy.
Plus s then file to that extent.
I supplied so many of these file to.
As we can see here after we.
Run the command to change mode Geep plus s, then the name of the file.
Now we have a set Grube I.D. for this fight.
Let's move to the last time of that special permissions.
The sticky bit.
So what is this sick?
Ibbett The sticky bits prevent anyone on the system to remove unmodified files except the owner and
a root user who can remove and modify.
Files and directories.
There is a.
Here it is a date.
I'm going to run the comment unless dash l slash temp.
So this I'm going to run it will with the deed, as we can see here.
This file has a sticky bit D and we applied the sticky bit on the other.
Permissions, run it again.
Let's get yes, clear.
I'm going to clear the screen here.
You can see here the team.
We have the team here.
So does the team file has a sticky bit.
Nobody can remove this file.
Now, let's create a file.
I'm going to create a directory.
I'm gonna call this one is a sticky, perfect sticky directory.
Does the short make directive perfect?
And now what I'm gonna do, I'm gonna check the permission for this directory.
So it doesn't have a sticky bit.
Now, I want to I would like to apply to stick a bit on this fire, so I'm going to use the comment.
Change what then?
I'm going to use all this rubies in the other plus T as a stick stick a bit.
This is the short for the sticky bit, sort of.
I would like to apply a sticky bit.
We have to use the letter T..
Dan, the name of the file.
Let's run the command here to check.
Oh.
See over here we have a sticky bit on this file.
Hope.
I hope that you guys understood the three.
The difference between the three types.
This a city was an I.D. and Citigroup I.D. and a sticky bit.
Just to recap, and I would like just to see somebody what we will what they just have explained to
you.
So the city has an I.D. We apply this this type on the user permission was it was gleeful deciduous
Obeidi.
We apply this type on on the group level just for the group, for group group admissions and for the
sticky bit sticky bit.
We apply them on the other.
But the stickybeak defense, anyone on the system to remove and modify fives except the owner and which
was a whole cut, remove, modify, Fi's or directress.
That's concludes our session.
Thank you.
I see you in the next lesson.