Hello, everyone.
And this is listen, I'm going to talk about the special permissions clinics.
We have three special permissions bits.
We have the city was an I.D. We have the Citigroup I.D. and have the sticky bit.
We sit at the special machine.
It's unacceptable file or a batch file or a directory in order to change the seating of these files
or directories.
So the reason is to allow the users to work on dispatch files or directories without asking the route
user or the admin for any help to enter their password.
So I don't wait to ask the route user or even the admin to give them their password in order to change
the sitting and apply the city's I.D. or the Citigroup I.D. or just keep it on the bushfires or agentic
trees.
Let's see, the VAT is here for each of these special permissions.
So we have the sit user I.D. bit, the VAT, it's number four.
And as you remember in the previous session when we talked about the four digits of the you mask.
So the phrase digit is is set for what?
For this special permission.
So for the city I.D., we have the value for.
We bought them before the permissions of the user group and others.
The value here for the city was already is a number for.
So for the Citigroup I.D., the value here is a number two.
And we put it at the beginning of the you mask of the file or the directory.
The sticky bit and a value is number one.
We would it at the beginning of of the you mask it here.
So what is the site user I.D.?
So the city was Aidi grants and ordering user to run unacceptable fired or a Basche fine and programs
as an owner.
And here is the command if you would like to assign site user I.D. to us to our bushfire.
So we are under command.
Change what then you plus s.
So do you represent the user and s is you represent a city user I.D..
This is the fine name.
There is to know common command and lennix that pass WD.
So do they still commands like we run them as an owner.
So we didn't need any permission from the route to run those comments.
So if we can see here for in this example, if we are under commanded us that shell slash band slash
massively d we can see here.
S beside what.
Beside the permission of the user here.
And the same thing for the pseudo.
So it's you we see also s beside the the user permissions here.
Go here to the next set example here we have a bash script.
And here in this special script we would like to assign a user set user I need to do to the file.
What we do, we're under command.
Change more the U.
Plus S.
And this is the fine.
There's a very important point we have to put into consideration when we want to sit or assign a city
user I.D. to define Schill.
There is some security reasons.
And Lennix, for example, imagine that we want to run a very important Basche script.
Fine.
In our system, that can change the seating on the configuration of the corner.
And the system with the system will do the system for sure will ignore the city user I.D..
So this is for security reasons.
We have to put this into consideration.
Let's move on to the Citigroup by.
So what is the Citigroup I.D.?
A similar concept of the switch, user I.D. however we apply or we assign the CIT Group I.D. to the
five and the level of the group.
See here, for example, the difference here.
We in the previous example for the CIT user I.D., we use you.
But here for the Citigroup I.D., we we use sheet.
So to change what we don't discriminate, change more dingy plus s then define a name.
There is a very common file that we can use, for example, in Linux as as as a group here.
If we're ENDESA commanded a special slash use user slash band and.
Right.
And we can see here, this is beside what when we assigned Citigroup idee is beside the user, the group
permission that the user permission and the same thing.
There is another common file also called command.
Well, command, this is also has a set group I.D. school here to the example here we.
An example for the set grew by D.
So something changed much.
G.
Plus s and we have a text file here or four on it and you see it an example.
We don't have a set group idea for this text file.
When we change and we assign a set group by D to the file on we are under any special to define.
We can see s here beside the group permissions.
There's also a very important point.
We have to be very careful when we run either to C to use I.D. or a ruling by the system.
It might harm ungifted unauthorized users, but if it is used to access the system around bushfires
and axes to put, fine.
So we have to be very careful when we use these two permissions.
Let's move on to the sticky bit.
So what is this to keep it sticky?
It prevents anyone on the system to remove and modify fine except owner route users who can remove and
modify the fire.
So we run the same command to change mode all bloustein in the fire name.
So he is a very calm on a very important, you know, a very important fight in our Linnik system is
a slash temp.
So this.
Directory, we can not delete it because it has a sticky bit, as we can see here.
It has a sticky bit.
Nobody can remove this file.
Here's an example if we'd like.
We have a directory here on or would like to assign us to keep it to a historic tree.
So change mode or plasty.
And you can see here when we are on it.
He had before we assigned a sticky bit to the directory.
We don't have any stickybeak permission beside the other here.
And when we assign it and we run the list, Desh Deja Edik tree, we can see here the T litter is beside.
The other permissions.
So Jordi kab on what we said.
Very important for the site user I.D..
We when we assigned a security jersey, it comes with the user I.D. We assign it to the user permission
here.
When we are center set Grube I.D., we assign it to the crew permission here and decide here, as we
can see here from the ah greet w x.
So read, write, execute one.
We assign a sticky bit.
We assigned the stickybeak to the other at the end of of the permissions.
That concludes our session.
Thank you.
And see you in the next lesson.